aboutsummaryrefslogtreecommitdiffstats
path: root/misc/p5-Business-UPS
diff options
context:
space:
mode:
Diffstat (limited to 'misc/p5-Business-UPS')
-rw-r--r--misc/p5-Business-UPS/Makefile7
-rw-r--r--misc/p5-Business-UPS/pkg-plist11
2 files changed, 8 insertions, 10 deletions
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 <bsd.port.mk>
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