aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/p5-PGPLOT/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/p5-PGPLOT/Makefile')
-rw-r--r--graphics/p5-PGPLOT/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/p5-PGPLOT/Makefile b/graphics/p5-PGPLOT/Makefile
index 24e1a6e43c8c..ff4cc68ec6c0 100644
--- a/graphics/p5-PGPLOT/Makefile
+++ b/graphics/p5-PGPLOT/Makefile
@@ -19,11 +19,11 @@ INSTALL_TARGET= pure_install
SCRIPTS_ENV= PERL=${PERL}
USES= fortran perl5
-.if !defined(NOPORTEXAMPLES)
+OPTIONS_DEFINE= EXAMPLES
+
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} LICENSE test* ${STAGEDIR}${EXAMPLESDIR})
-.endif
.if defined(MAINTAINER_MODE) && !defined(BATCH)
check regression-test test: build