# $FabBSD$ # $OpenBSD: Makefile,v 1.18 2007/09/16 00:33:57 merdely Exp $ SHARED_ONLY= Yes COMMENT= Network Kanji code conversion Filter VERSION= 2.05 DISTNAME= nkf205 PKGNAME= ja-nkf-${VERSION} CATEGORIES= japanese textproc HOMEPAGE= http://www01.tcp-ip.or.jp/~furukawa/nkf_utf8/ MASTER_SITES= ${HOMEPAGE} # From OpenBSD: #MAINTAINER= Marc Espie # BSD PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB= c WRKSRC= ${WRKDIST}/NKF.mod CONFIGURE_STYLE= perl post-build: cd ${WRKDIST} && ${CC} -o nkf ${CFLAGS} nkf.c utf8tbl.c post-install: ${INSTALL_PROGRAM} ${WRKDIST}/nkf ${PREFIX}/bin ${INSTALL_MAN} ${WRKDIST}/nkf.1 ${PREFIX}/man/man1 .include