diff options
author | max <max@FreeBSD.org> | 2001-10-28 23:28:45 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 2001-10-28 23:28:45 +0800 |
commit | c43226927a4aef037a87836206c846242c7a6014 (patch) | |
tree | c4fe89e64e2c15e3e0c5b0f4b14061490a4bb9fb /japanese | |
parent | c3b66d227d72166bdc6726841c59955de063ca67 (diff) | |
download | freebsd-ports-gnome-c43226927a4aef037a87836206c846242c7a6014.tar.gz freebsd-ports-gnome-c43226927a4aef037a87836206c846242c7a6014.tar.zst freebsd-ports-gnome-c43226927a4aef037a87836206c846242c7a6014.zip |
Update this port to use the latest version of NKF. (1.92)
Submitted by: TOGAWA Satoshi <toga@puyo.org>
PR: 31287 (2/2)
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/p5-nkf/Makefile | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/japanese/p5-nkf/Makefile b/japanese/p5-nkf/Makefile index f8c5a10602fe..8583330efcff 100644 --- a/japanese/p5-nkf/Makefile +++ b/japanese/p5-nkf/Makefile @@ -6,13 +6,12 @@ # PORTNAME= nkf -PORTVERSION= 0.01 +PORTVERSION= 1.92 CATEGORIES= japanese perl5 -MASTER_SITES= ftp://ftp.ie.u-ryukyu.ac.jp/pub/software/kono/ \ - ftp://ftp.win.ne.jp/pub/misc/ \ - ftp://ftp.eos.hokudai.ac.jp/pub/tools/code-conv/nkf/ +MASTER_SITES= ftp://ftp.ie.u-ryukyu.ac.jp/pub/software/kono/ +PKGNAMEPREFIX= ja-p5- +DISTNAME= ${PORTNAME}${PORTVERSION:S/.//} EXTRACT_SUFX= .shar -DISTNAME= ${PORTNAME}171 MAINTAINER= max@FreeBSD.org @@ -25,8 +24,14 @@ WRKSRC= ${WRKDIR}/NKF MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= NKF.3 -.include <bsd.port.pre.mk> +do-extract: + @${RM} -rf ${WRKDIR} + @${MKDIR} ${WRKDIR}/NKF + @for file in ${EXTRACT_ONLY}; do \ + if ! (cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS});\ + then \ + exit 1; \ + fi \ + done -PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |