aboutsummaryrefslogtreecommitdiffstats
path: root/biology/protomol
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-08-19 21:29:59 +0800
committermat <mat@FreeBSD.org>2015-08-19 21:29:59 +0800
commit9d30f78a00bed11384c7259f662e9352754275db (patch)
treeac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /biology/protomol
parent996088dedaf9d22bcd7c90caa96d33c0f68b08e7 (diff)
downloadfreebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.tar.gz
freebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.tar.zst
freebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.zip
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412?
Diffstat (limited to 'biology/protomol')
-rw-r--r--biology/protomol/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/biology/protomol/Makefile b/biology/protomol/Makefile
index b6c722f081fa..5710363231cf 100644
--- a/biology/protomol/Makefile
+++ b/biology/protomol/Makefile
@@ -37,20 +37,16 @@ CXXFLAGS+= -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/${PORTNAME}
-OPTIONS_DEFINE= GLUT
+OPTIONS_DEFINE= GLUT EXAMPLES
OPTIONS_DEFAULT= GLUT
GLUT_CONFIGURE_ON= --with-glut=yes
GLUT_USE= GL=glut
GLUT_CONFIGURE_OFF= --with-glut=no
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MEXAMPLES}
-post-install:
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples ; \
${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! -name .cvsignore"
-.endif
.include <bsd.port.mk>