From e9b5cdf5c60b0a9d7557e0f91f1ae8978eb1b57d Mon Sep 17 00:00:00 2001 From: vanilla Date: Mon, 4 Nov 2013 14:41:18 +0000 Subject: Support STAGEDIR. --- misc/p5-Business-UPS/Makefile | 7 ++----- misc/p5-Business-UPS/pkg-plist | 11 ++++++----- 2 files changed, 8 insertions(+), 10 deletions(-) (limited to 'misc/p5-Business-UPS') diff --git a/misc/p5-Business-UPS/Makefile b/misc/p5-Business-UPS/Makefile index 3adc1ae1caf1..4733d8992658 100644 --- a/misc/p5-Business-UPS/Makefile +++ b/misc/p5-Business-UPS/Makefile @@ -17,13 +17,10 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure -MAN3= Business::UPS.3 - -NO_STAGE= yes post-install: .if !defined(NOPORTDOCS) - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .endif .include diff --git a/misc/p5-Business-UPS/pkg-plist b/misc/p5-Business-UPS/pkg-plist index 6bcdce6dd541..aff34c4aec1c 100644 --- a/misc/p5-Business-UPS/pkg-plist +++ b/misc/p5-Business-UPS/pkg-plist @@ -1,10 +1,11 @@ -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/UPS/.packlist +%%PERL5_MAN3%%/Business::UPS.3.gz %%SITE_PERL%%/Business/UPS.pm %%SITE_PERL%%/auto/Business/UPS/autosplit.ix -%%PORTDOCS%%share/examples/Business-UPS/test.pl +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/UPS/.packlist +%%PORTDOCS%%%%EXAMPLESDIR%%/test.pl +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/UPS +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Business @dirrmtry %%SITE_PERL%%/auto/Business/UPS @dirrmtry %%SITE_PERL%%/auto/Business @dirrmtry %%SITE_PERL%%/Business -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/UPS -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Business -%%PORTDOCS%%@dirrmtry share/examples/Business-UPS -- cgit