sthen ecccd93c04 As pointed out by Yozo TODA, SourceForge.jp renamed to OSDN in 2015.
Rename MASTER_SITE_SOURCEFORGE_JP to MASTER_SITE_OSDN_JP and update ports
references, and list some of their mirrors in network.conf.template.
2016-06-05 11:02:25 +00:00

32 lines
678 B
Makefile

# $OpenBSD: Makefile,v 1.32 2016/06/05 11:02:25 sthen Exp $
COMMENT = Network Kanji code conversion Filter
VERSION = 2.1.1
DISTNAME = nkf-${VERSION}
PKGNAME = ja-nkf-${VERSION}
EPOCH = 0
REVISION = 3
CATEGORIES = japanese textproc
HOMEPAGE = https://nkf.osdn.jp/
MASTER_SITES = ${MASTER_SITE_OSDN_JP:=nkf/48945/}
MAINTAINER = Marc Espie <espie@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = c perl
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>