aboutsummaryrefslogtreecommitdiffstats
path: root/misc/p5-Business-UPS
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-04 08:56:57 +0800
committeradamw <adamw@FreeBSD.org>2014-07-04 08:56:57 +0800
commit03a8585aa311cd20c2c68108ec0e21b14c338c1c (patch)
treee98765e13fee87f59a2c2cd7424ba0d01e287032 /misc/p5-Business-UPS
parentfa5b5ca69471a9c100090c6bfa29b20aef2a3263 (diff)
downloadfreebsd-ports-gnome-03a8585aa311cd20c2c68108ec0e21b14c338c1c.tar.gz
freebsd-ports-gnome-03a8585aa311cd20c2c68108ec0e21b14c338c1c.tar.zst
freebsd-ports-gnome-03a8585aa311cd20c2c68108ec0e21b14c338c1c.zip
Remove NOPORTDOCS and NOPORTEXAMPLES.
Diffstat (limited to 'misc/p5-Business-UPS')
-rw-r--r--misc/p5-Business-UPS/Makefile4
-rw-r--r--misc/p5-Business-UPS/pkg-plist4
2 files changed, 4 insertions, 4 deletions
diff --git a/misc/p5-Business-UPS/Makefile b/misc/p5-Business-UPS/Makefile
index 4733d8992658..d1fc21236e7d 100644
--- a/misc/p5-Business-UPS/Makefile
+++ b/misc/p5-Business-UPS/Makefile
@@ -17,10 +17,10 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
+OPTIONS_DEFINE= EXAMPLES
+
post-install:
-.if !defined(NOPORTDOCS)
@${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 aff34c4aec1c..b76615118285 100644
--- a/misc/p5-Business-UPS/pkg-plist
+++ b/misc/p5-Business-UPS/pkg-plist
@@ -2,8 +2,8 @@
%%SITE_PERL%%/Business/UPS.pm
%%SITE_PERL%%/auto/Business/UPS/autosplit.ix
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/UPS/.packlist
-%%PORTDOCS%%%%EXAMPLESDIR%%/test.pl
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.pl
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/UPS
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Business
@dirrmtry %%SITE_PERL%%/auto/Business/UPS