aboutsummaryrefslogtreecommitdiffstats
path: root/science/chemtool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'science/chemtool/Makefile')
-rw-r--r--science/chemtool/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/science/chemtool/Makefile b/science/chemtool/Makefile
index cb605962f878..0e5550b72b1d 100644
--- a/science/chemtool/Makefile
+++ b/science/chemtool/Makefile
@@ -19,6 +19,8 @@ CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-emf=yes --with-localedir=${PREFIX}
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.pre.mk>
#isolate libEMF stuff
@@ -30,10 +32,8 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src-cht/cht ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/chemtool.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/cht.1 ${STAGEDIR}${MANPREFIX}/man/man1
-.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${FIND} . | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${EXAMPLESDIR}
-.endif
.include <bsd.port.post.mk>