aboutsummaryrefslogtreecommitdiff
path: root/japanese/perl5
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-11-21 23:33:03 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-11-21 23:33:03 +0000
commitc6f9031fe3b6fea19a9efac1396d306bbc732975 (patch)
tree52572953663476f897b8313448cfa5d53a5ff4d6 /japanese/perl5
parent05a1926db291bf75700098e65925ee3044cb0ea0 (diff)
downloadports-c6f9031fe3b6fea19a9efac1396d306bbc732975.tar.gz
ports-c6f9031fe3b6fea19a9efac1396d306bbc732975.zip
Fix pkg-install script to not use i386-freebsd hardcoded
Noticed by: YAPHR
Notes
Notes: svn path=/head/; revision=148987
Diffstat (limited to 'japanese/perl5')
-rw-r--r--japanese/perl5/Makefile2
-rw-r--r--japanese/perl5/pkg-install2
2 files changed, 2 insertions, 2 deletions
diff --git a/japanese/perl5/Makefile b/japanese/perl5/Makefile
index a9e055093a7e..8b4f2fa06c1b 100644
--- a/japanese/perl5/Makefile
+++ b/japanese/perl5/Makefile
@@ -7,7 +7,7 @@
PORTNAME= perl
PORTVERSION= ${JPERL_VER}.${JPERL_VER_PL}
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= japanese perl5
MASTER_SITES= ftp://ftp.cpan.org/CPAN/src/5.0/ \
ftp://ftp.funet.fi/pub/languages/perl/CPAN/src/5.0/ \
diff --git a/japanese/perl5/pkg-install b/japanese/perl5/pkg-install
index 3761b9cabd3d..12322feddf14 100644
--- a/japanese/perl5/pkg-install
+++ b/japanese/perl5/pkg-install
@@ -4,7 +4,7 @@ if [ "$2" != POST-INSTALL ] ; then
exit 0
fi
-install -d ${PKG_PREFIX}/lib/perl5/site_perl/5.005/i386-freebsd
+install -d ${PKG_PREFIX}/lib/perl5/site_perl/${JPERL_VER}/${JPERL_ARCH}
cd /usr/include && ${PREFIX:-/usr/local}/bin/h2ph *.h machine/*.h sys/*.h
exit 0