summaryrefslogtreecommitdiff
path: root/textproc/p5-PDF-Table
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-03-17 18:52:05 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-03-17 18:52:05 +0000
commit77a901cb6ee6d73406fb8fa05d976cebf4887e6e (patch)
treedbf843f9234645fd9b62e907efbff579b2894313 /textproc/p5-PDF-Table
parentf1089e0ea7504fe0c864fd4ed7090d23925fa5d9 (diff)
Notes
Diffstat (limited to 'textproc/p5-PDF-Table')
-rw-r--r--textproc/p5-PDF-Table/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/textproc/p5-PDF-Table/Makefile b/textproc/p5-PDF-Table/Makefile
index 015e5191077d..3415b366be32 100644
--- a/textproc/p5-PDF-Table/Makefile
+++ b/textproc/p5-PDF-Table/Makefile
@@ -3,6 +3,7 @@
PORTNAME= PDF-Table
DISTVERSION= 0.9.10
+PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -16,6 +17,12 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+OPTIONS_DEFINE= EXAMPLES
+
+PORTEXAMPLES= *
+
+post-install-EXAMPLES-on:
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>