openbsd-ports/japanese/nkf/Makefile

35 lines
745 B
Makefile
Raw Normal View History

2005-10-27 06:14:40 -04:00
# $OpenBSD: Makefile,v 1.16 2005/10/27 10:14:40 espie Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
COMMENT= "Network Kanji code conversion Filter"
2005-10-27 06:14:40 -04:00
VERSION= 2.05
DISTNAME= nkf205
2003-02-23 12:18:52 -05:00
PKGNAME= ja-nkf-${VERSION}
CATEGORIES= japanese textproc
HOMEPAGE= http://www01.tcp-ip.or.jp/~furukawa/nkf_utf8/
MASTER_SITES= ${HOMEPAGE}
2000-10-09 20:40:20 -04:00
MAINTAINER= Marc Espie <espie@openbsd.org>
2000-02-12 01:29:49 -05:00
2000-10-09 20:40:20 -04:00
# BSD
2000-03-10 22:28:13 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2005-02-22 08:52:25 -05:00
WANTLIB= c
WRKSRC= ${WRKDIST}/NKF.mod
CONFIGURE_STYLE= perl
2003-02-23 12:18:52 -05:00
post-build:
cd ${WRKDIST} && ${CC} -o nkf ${CFLAGS} nkf.c utf8tbl.c
2003-02-23 12:18:52 -05:00
post-install:
2003-02-23 12:18:52 -05:00
${INSTALL_PROGRAM} ${WRKDIST}/nkf ${PREFIX}/bin
${INSTALL_MAN} ${WRKDIST}/nkf.1 ${PREFIX}/man/man1
.include <bsd.port.mk>