From 821f4bfe1527325c53be4dbf7c0a00aff391e896 Mon Sep 17 00:00:00 2001 From: ijliao Date: Fri, 24 Oct 2003 12:05:09 +0000 Subject: utilize SITE_PERL PR: 58166 Submitted by: Cheng-Lung Sung --- www/p5-Apache-PageKit/Makefile | 3 +-- www/p5-Apache-PageKit/pkg-plist | 32 ++++++++++++++++---------------- 2 files changed, 17 insertions(+), 18 deletions(-) (limited to 'www/p5-Apache-PageKit') diff --git a/www/p5-Apache-PageKit/Makefile b/www/p5-Apache-PageKit/Makefile index 22d7b0c6c599..77dd551e7043 100644 --- a/www/p5-Apache-PageKit/Makefile +++ b/www/p5-Apache-PageKit/Makefile @@ -36,7 +36,7 @@ BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl \ ${SITE_PERL}/${PERL_ARCH}/XML/LibXSLT.pm:${PORTSDIR}/textproc/p5-XML-LibXSLT RUN_DEPENDS= ${BUILD_DEPENDS} -SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} +SITE_PERL= ${SITE_PERL} EXAMPLESDIR?= ${PREFIX}/share/examples/${PORTNAME} PERL_CONFIGURE= yes @@ -44,7 +44,6 @@ MAN3= Apache::ErrorReport.3 \ Apache::PageKit.3 \ Apache::PageKit::Model.3 \ Apache::PageKit::Session.3 -MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} post-install: .if !defined(NOPORTDOCS) diff --git a/www/p5-Apache-PageKit/pkg-plist b/www/p5-Apache-PageKit/pkg-plist index be280d74a929..25a600cd17df 100644 --- a/www/p5-Apache-PageKit/pkg-plist +++ b/www/p5-Apache-PageKit/pkg-plist @@ -1,14 +1,14 @@ -lib/perl5/site_perl/%%PERL_VER%%/Apache/PageKit/View.pm -lib/perl5/site_perl/%%PERL_VER%%/Apache/PageKit/Content.pm -lib/perl5/site_perl/%%PERL_VER%%/Apache/PageKit/Model.pm -lib/perl5/site_perl/%%PERL_VER%%/Apache/PageKit/Param.pm -lib/perl5/site_perl/%%PERL_VER%%/Apache/PageKit/Session.pm -lib/perl5/site_perl/%%PERL_VER%%/Apache/PageKit/Config.pm -lib/perl5/site_perl/%%PERL_VER%%/Apache/PageKit/Edit.pm -lib/perl5/site_perl/%%PERL_VER%%/Apache/setup_eg.pl -lib/perl5/site_perl/%%PERL_VER%%/Apache/PageKit.pm -lib/perl5/site_perl/%%PERL_VER%%/Apache/ErrorReport.pm -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache/PageKit/.packlist +%%SITE_PERL%%/Apache/PageKit/View.pm +%%SITE_PERL%%/Apache/PageKit/Content.pm +%%SITE_PERL%%/Apache/PageKit/Model.pm +%%SITE_PERL%%/Apache/PageKit/Param.pm +%%SITE_PERL%%/Apache/PageKit/Session.pm +%%SITE_PERL%%/Apache/PageKit/Config.pm +%%SITE_PERL%%/Apache/PageKit/Edit.pm +%%SITE_PERL%%/Apache/setup_eg.pl +%%SITE_PERL%%/Apache/PageKit.pm +%%SITE_PERL%%/Apache/ErrorReport.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/PageKit/.packlist %%PORTDOCS%%share/doc/Apache-PageKit/README %%PORTDOCS%%share/doc/Apache-PageKit/features.xml %%PORTDOCS%%share/doc/Apache-PageKit/manual.xml @@ -80,8 +80,8 @@ lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache/PageKit/.packlist %%PORTDOCS%%@dirrm share/examples/Apache-PageKit/Content %%PORTDOCS%%@dirrm share/examples/Apache-PageKit/Config %%PORTDOCS%%@dirrm share/examples/Apache-PageKit -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache/PageKit -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache 2>/dev/null || true -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Apache/PageKit 2>/dev/null || true -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Apache 2>/dev/null || true -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/XML 2>/dev/null || true +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/PageKit +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Apache/PageKit 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Apache 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/XML 2>/dev/null || true -- cgit