diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 2001-10-28 15:28:45 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 2001-10-28 15:28:45 +0000 |
commit | 857fbc3c201c56645f506227dada4d04a40921f7 (patch) | |
tree | aab60f128371f2b2df55c7c395ddb30d5c1d7579 /japanese/p5-nkf/Makefile | |
parent | Update to 1.92. (diff) |
Update this port to use the latest version of NKF. (1.92)
Submitted by: TOGAWA Satoshi <toga@puyo.org>
PR: 31287 (2/2)
Notes
Notes:
svn path=/head/; revision=49293
Diffstat (limited to 'japanese/p5-nkf/Makefile')
-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> |