svn commit: r390356 - head/biology/protomol
Baptiste Daroussin
bapt at FreeBSD.org
Tue Jun 23 06:58:20 UTC 2015
Author: bapt
Date: Tue Jun 23 06:58:19 2015
New Revision: 390356
URL: https://svnweb.freebsd.org/changeset/ports/390356
Log:
Convert to COPYTREE_SHARE
Use options helpers
Modified:
head/biology/protomol/Makefile
Modified: head/biology/protomol/Makefile
==============================================================================
--- head/biology/protomol/Makefile Tue Jun 23 06:20:42 2015 (r390355)
+++ head/biology/protomol/Makefile Tue Jun 23 06:58:19 2015 (r390356)
@@ -29,20 +29,17 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
OPTIONS_DEFINE= GLUT
OPTIONS_DEFAULT= GLUT
-.include <bsd.port.options.mk>
+GLUT_CONFIGURE_ON= --with-glut=yes
+GLUT_USE= GL=glut
+GLUT_CONFIGURE_OFF= --with-glut=no
-.if ${PORT_OPTIONS:MGLUT}
-CONFIGURE_ARGS+= --with-glut=yes
-USE_GL= glut
-.else
-CONFIGURE_ARGS+= --with-glut=no
-.endif
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXAMPLES}
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- cd ${WRKSRC}/examples && ${FIND} . | ${EGREP} -v '\.cvsignore' | \
- ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${EXAMPLESDIR}
+ cd ${WRKSRC}/examples ; \
+ ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! -name .cvsignore"
.endif
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list