Date: Tue, 23 Jun 2015 06:58:20 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r390356 - head/biology/protomol Message-ID: <201506230658.t5N6wKi7039591@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506230658.t5N6wKi7039591>