aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-DBD-Excel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/p5-DBD-Excel/Makefile')
-rw-r--r--databases/p5-DBD-Excel/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/p5-DBD-Excel/Makefile b/databases/p5-DBD-Excel/Makefile
index 361483195a79..bcb0ee5d35f9 100644
--- a/databases/p5-DBD-Excel/Makefile
+++ b/databases/p5-DBD-Excel/Makefile
@@ -21,7 +21,9 @@ EXAMPLESDIR?= ${PREFIX}/share/examples/${PORTNAME}
USES= perl5
USE_PERL5= configure
-post-install:
+OPTIONS_DEFINE= EXAMPLES
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/sample/* ${STAGEDIR}${EXAMPLESDIR}