2011-01-09 08:52:53 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2011/01/09 13:52:53 espie Exp $
|
2004-01-17 10:58:06 -05:00
|
|
|
|
2011-01-09 08:52:53 -05:00
|
|
|
SHARED_ONLY = Yes
|
1998-11-25 11:39:59 -05:00
|
|
|
|
2011-01-09 08:52:53 -05:00
|
|
|
COMMENT = Network Kanji code conversion Filter
|
1998-11-25 11:39:59 -05:00
|
|
|
|
2011-01-09 08:52:53 -05:00
|
|
|
VERSION = 2.1.1
|
|
|
|
DISTNAME = nkf-${VERSION}
|
|
|
|
PKGNAME = ja-nkf-${VERSION}
|
|
|
|
EPOCH = 0
|
|
|
|
REVISION = 0
|
|
|
|
CATEGORIES = japanese textproc
|
2002-10-26 20:50:30 -04:00
|
|
|
|
2011-01-09 08:52:53 -05:00
|
|
|
HOMEPAGE = http://sourceforge.jp/projects/nkf/
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE_JP:=nkf/48945/}
|
1998-11-25 11:39:59 -05:00
|
|
|
|
2011-01-09 08:52:53 -05:00
|
|
|
MAINTAINER = Marc Espie <espie@openbsd.org>
|
2000-02-12 01:29:49 -05:00
|
|
|
|
2000-10-09 20:40:20 -04:00
|
|
|
# BSD
|
2011-01-09 08:52:53 -05:00
|
|
|
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
|
|
|
|
USE_GROFF = Yes
|
2003-02-23 12:18:52 -05:00
|
|
|
|
2005-02-27 20:22:25 -05:00
|
|
|
post-build:
|
|
|
|
cd ${WRKDIST} && ${CC} -o nkf ${CFLAGS} nkf.c utf8tbl.c
|
2003-02-23 12:18:52 -05:00
|
|
|
|
2005-02-27 20:22:25 -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
|
1998-11-25 11:39:59 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|