diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 1998-09-15 05:40:31 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 1998-09-15 05:40:31 +0000 |
commit | 58956685eec0b980095ef26fb0a1340139039dc2 (patch) | |
tree | 40cf3684000062585b345d4c0b1d22c85775e59c /japanese | |
parent | 7c879d513beb210c25e97c8995b1c3d0c23c45d1 (diff) |
Notes
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/p5-jcode.pl/Makefile | 10 | ||||
-rw-r--r-- | japanese/p5-jcode.pl/pkg-plist | 5 |
2 files changed, 9 insertions, 6 deletions
diff --git a/japanese/p5-jcode.pl/Makefile b/japanese/p5-jcode.pl/Makefile index 050dd5b06b81..e7517e5d97b1 100644 --- a/japanese/p5-jcode.pl/Makefile +++ b/japanese/p5-jcode.pl/Makefile @@ -3,7 +3,7 @@ # Date created: 26 Jun 1998 # Whom: SADA Kenji <sada@e-mail.ne.jp> # -# $Id: Makefile,v 1.1.1.1 1998/08/12 14:04:13 kuriyama Exp $ +# $Id: Makefile,v 1.2 1998/08/13 06:54:34 asami Exp $ # DISTNAME= ja-p5-jcode.pl-2.6 @@ -17,8 +17,12 @@ RUN_DEPENDS= ${PREFIX}/lib/perl/jcode.pl:${PORTSDIR}/japanese/jcode.pl NO_BUILD= YES USE_PERL5= YES +INSTALL_DIR= ${PREFIX}/lib/perl5/site_perl/${PERL_VER} + +.SILENT: + do-install: - @${MKDIR} ${PREFIX}/lib/perl5/site_perl - @${LN} -sf ../../perl/jcode.pl ${PREFIX}/lib/perl5/site_perl + ${MKDIR} ${INSTALL_DIR} + ${LN} -sf ../../../perl/jcode.pl ${INSTALL_DIR} .include <bsd.port.mk> diff --git a/japanese/p5-jcode.pl/pkg-plist b/japanese/p5-jcode.pl/pkg-plist index 08820b1517b9..cd403b644933 100644 --- a/japanese/p5-jcode.pl/pkg-plist +++ b/japanese/p5-jcode.pl/pkg-plist @@ -1,3 +1,2 @@ -@exec /bin/mkdir %D/lib/perl5/site_perl -@exec /bin/ln -s ../../perl/jcode.pl %D/lib/perl5/site_perl -@unexec /bin/rm -f %D/lib/perl5/site_perl/jcode.pl +@exec /bin/ln -sf ../../../perl/jcode.pl %D/lib/perl5/site_perl/%%PERL_VER%% +@unexec /bin/rm -f %D/lib/perl5/site_perl/%%PERL_VER%%/jcode.pl |