# $OpenBSD: Makefile,v 1.19 2008/10/02 20:32:19 sthen Exp $ SHARED_ONLY= Yes COMMENT= Network Kanji code conversion Filter VERSION= 2.05 DISTNAME= nkf205 PKGNAME= ja-nkf-${VERSION}p0 CATEGORIES= japanese textproc HOMEPAGE= http://www01.tcp-ip.or.jp/~furukawa/nkf_utf8/ MASTER_SITES= ${HOMEPAGE} 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