Update to work with Perl5.005.

PR:		ports/7836
Submitted by:	SADA Kenji <sada@e-mail.ne.jp>
This commit is contained in:
Jun Kuriyama 1998-09-15 05:40:31 +00:00
parent 7c879d513b
commit 58956685ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13133
2 changed files with 9 additions and 6 deletions

View file

@ -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>

View file

@ -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