openbsd-ports/japanese/nkf/Makefile
jasper 32a30e5331 -NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
+SHARED_ONLY=	Yes

ok ajacoutot@, simon@, mbalmer@ (for the postgresql bits)
2007-07-04 19:18:45 +00:00

35 lines
729 B
Makefile

# $OpenBSD: Makefile,v 1.17 2007/07/04 19:18:46 jasper 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}
MAINTAINER= Marc Espie <espie@openbsd.org>
# 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 <bsd.port.mk>