aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/p5-Tcl-Tk
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-10-24 20:05:09 +0800
committerijliao <ijliao@FreeBSD.org>2003-10-24 20:05:09 +0800
commit821f4bfe1527325c53be4dbf7c0a00aff391e896 (patch)
tree58fe92204378aa80d003f4d264f7a76f3b318df9 /x11-toolkits/p5-Tcl-Tk
parent1b702a0f718f009f5a32d32d75a69be3a129dd71 (diff)
downloadfreebsd-ports-gnome-821f4bfe1527325c53be4dbf7c0a00aff391e896.tar.gz
freebsd-ports-gnome-821f4bfe1527325c53be4dbf7c0a00aff391e896.tar.zst
freebsd-ports-gnome-821f4bfe1527325c53be4dbf7c0a00aff391e896.zip
utilize SITE_PERL
PR: 58166 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
Diffstat (limited to 'x11-toolkits/p5-Tcl-Tk')
-rw-r--r--x11-toolkits/p5-Tcl-Tk/Makefile3
-rw-r--r--x11-toolkits/p5-Tcl-Tk/pkg-plist12
2 files changed, 7 insertions, 8 deletions
diff --git a/x11-toolkits/p5-Tcl-Tk/Makefile b/x11-toolkits/p5-Tcl-Tk/Makefile
index cc37be21a3cf..424a521f5af9 100644
--- a/x11-toolkits/p5-Tcl-Tk/Makefile
+++ b/x11-toolkits/p5-Tcl-Tk/Makefile
@@ -15,13 +15,12 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= Perl5 module to access to Tk via the Tcl extension
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Tcl.pm:${PORTSDIR}/lang/p5-Tcl
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Tcl.pm:${PORTSDIR}/lang/p5-Tcl
LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82
PERL_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Tcl::Tk.3
post-patch:
diff --git a/x11-toolkits/p5-Tcl-Tk/pkg-plist b/x11-toolkits/p5-Tcl-Tk/pkg-plist
index 6d095c88ee73..cea0dd9d11da 100644
--- a/x11-toolkits/p5-Tcl-Tk/pkg-plist
+++ b/x11-toolkits/p5-Tcl-Tk/pkg-plist
@@ -1,6 +1,6 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Tcl/Tk.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tcl/Tk/Tk.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tcl/Tk/Tk.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tcl/Tk/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tcl/Tk
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Tcl 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/Tcl/Tk.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tcl/Tk/Tk.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tcl/Tk/Tk.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tcl/Tk/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tcl/Tk
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Tcl 2>/dev/null || true