aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-Twig
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 /textproc/p5-XML-Twig
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 'textproc/p5-XML-Twig')
-rw-r--r--textproc/p5-XML-Twig/Makefile5
-rw-r--r--textproc/p5-XML-Twig/pkg-plist8
2 files changed, 6 insertions, 7 deletions
diff --git a/textproc/p5-XML-Twig/Makefile b/textproc/p5-XML-Twig/Makefile
index 0edd44f0cde9..3533f9fa0510 100644
--- a/textproc/p5-XML-Twig/Makefile
+++ b/textproc/p5-XML-Twig/Makefile
@@ -17,12 +17,11 @@ COMMENT= Process huge XML documents by chunks via a tree interface
# On Perl < 5.8.0, XML::Twig has a further optional dependency on WeakRef.
# However, WeakRef needs Perl 5.005_55.
-RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Text/Iconv.pm:${PORTSDIR}/converters/p5-Text-Iconv \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Text/Iconv.pm:${PORTSDIR}/converters/p5-Text-Iconv \
+ ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
PERL_CONFIGURE= YES
MAN3= XML::Twig.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
diff --git a/textproc/p5-XML-Twig/pkg-plist b/textproc/p5-XML-Twig/pkg-plist
index a8928a63e1b7..3ed98146dbda 100644
--- a/textproc/p5-XML-Twig/pkg-plist
+++ b/textproc/p5-XML-Twig/pkg-plist
@@ -1,4 +1,4 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Twig/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/XML/Twig.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Twig
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/XML 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Twig/.packlist
+%%SITE_PERL%%/XML/Twig.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Twig
+@unexec rmdir %D/%%SITE_PERL%%/XML 2>/dev/null || true