diff options
Diffstat (limited to 'biology/protomol')
-rw-r--r-- | biology/protomol/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/biology/protomol/Makefile b/biology/protomol/Makefile index 253fb8aa85bc..e02ace808097 100644 --- a/biology/protomol/Makefile +++ b/biology/protomol/Makefile @@ -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> |