aboutsummaryrefslogtreecommitdiffstats
path: root/math/polymake
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-03-24 17:12:57 +0800
committerpav <pav@FreeBSD.org>2006-03-24 17:12:57 +0800
commit7099ccd693cc962e8a81219b2294665c6f3f6722 (patch)
treed4b003cad1012dd857449e361fb482c99bb3cb99 /math/polymake
parent781a422bf0c73d569696c33735d3b11bcc7c4390 (diff)
downloadfreebsd-ports-gnome-7099ccd693cc962e8a81219b2294665c6f3f6722.tar.gz
freebsd-ports-gnome-7099ccd693cc962e8a81219b2294665c6f3f6722.tar.zst
freebsd-ports-gnome-7099ccd693cc962e8a81219b2294665c6f3f6722.zip
- Another stab on doing pkg-plist right
Diffstat (limited to 'math/polymake')
-rw-r--r--math/polymake/Makefile23
1 files changed, 13 insertions, 10 deletions
diff --git a/math/polymake/Makefile b/math/polymake/Makefile
index 7b1dd53760a8..9df805011078 100644
--- a/math/polymake/Makefile
+++ b/math/polymake/Makefile
@@ -24,6 +24,8 @@ HAS_CONFIGURE= yes
INSTALL_TARGET= install install-devel
NO_INSTALL_MANPAGES= yes
+PLIST= ${WRKDIR}/pkg-plist
+
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
@@ -49,16 +51,17 @@ do-configure:
pre-install:
${RM} -f `find ${WRKSRC} -name '*.orig'`
- ${ECHO_CMD} libexec/polymake/perlx/%%PERL_VERSION%%/`${PERL} -e 'use Config; print $$Config{archname}'`/auto/Poly/Ext/.packlist >> ${TMPPLIST}
- ${ECHO_CMD} libexec/polymake/perlx/%%PERL_VERSION%%/`${PERL} -e 'use Config; print $$Config{archname}'`/auto/Poly/Ext/Ext.bs >> ${TMPPLIST}
- ${ECHO_CMD} libexec/polymake/perlx/%%PERL_VERSION%%/`${PERL} -e 'use Config; print $$Config{archname}'`/auto/Poly/Ext/Ext.so >> ${TMPPLIST}
- ${ECHO_CMD} @dirrm libexec/polymake/perlx/%%PERL_VERSION%%/`${PERL} -e 'use Config; print $$Config{archname}'`/auto/Poly/Ext >> ${TMPPLIST}
- ${ECHO_CMD} @dirrm libexec/polymake/perlx/%%PERL_VERSION%%/`${PERL} -e 'use Config; print $$Config{archname}'`/auto/Poly >> ${TMPPLIST}
- ${ECHO_CMD} @dirrm libexec/polymake/perlx/%%PERL_VERSION%%/`${PERL} -e 'use Config; print $$Config{archname}'`/auto >> ${TMPPLIST}
- ${ECHO_CMD} @dirrm libexec/polymake/perlx/%%PERL_VERSION%%/`${PERL} -e 'use Config; print $$Config{archname}'` >> ${TMPPLIST}
- ${ECHO_CMD} @dirrm libexec/polymake/perlx/%%PERL_VERSION%% >> ${TMPPLIST}
- ${ECHO_CMD} @dirrm libexec/polymake/perlx >> ${TMPPLIST}
- ${ECHO_CMD} @dirrm libexec/polymake >> ${TMPPLIST}
+ ${CAT} ${.CURDIR}/pkg-plist > ${PLIST}
+ ${ECHO_CMD} libexec/polymake/perlx/%%PERL_VERSION%%/`${PERL} -e 'use Config; print $$Config{archname}'`/auto/Poly/Ext/.packlist >> ${PLIST}
+ ${ECHO_CMD} libexec/polymake/perlx/%%PERL_VERSION%%/`${PERL} -e 'use Config; print $$Config{archname}'`/auto/Poly/Ext/Ext.bs >> ${PLIST}
+ ${ECHO_CMD} libexec/polymake/perlx/%%PERL_VERSION%%/`${PERL} -e 'use Config; print $$Config{archname}'`/auto/Poly/Ext/Ext.so >> ${PLIST}
+ ${ECHO_CMD} @dirrm libexec/polymake/perlx/%%PERL_VERSION%%/`${PERL} -e 'use Config; print $$Config{archname}'`/auto/Poly/Ext >> ${PLIST}
+ ${ECHO_CMD} @dirrm libexec/polymake/perlx/%%PERL_VERSION%%/`${PERL} -e 'use Config; print $$Config{archname}'`/auto/Poly >> ${PLIST}
+ ${ECHO_CMD} @dirrm libexec/polymake/perlx/%%PERL_VERSION%%/`${PERL} -e 'use Config; print $$Config{archname}'`/auto >> ${PLIST}
+ ${ECHO_CMD} @dirrm libexec/polymake/perlx/%%PERL_VERSION%%/`${PERL} -e 'use Config; print $$Config{archname}'` >> ${PLIST}
+ ${ECHO_CMD} @dirrm libexec/polymake/perlx/%%PERL_VERSION%% >> ${PLIST}
+ ${ECHO_CMD} @dirrm libexec/polymake/perlx >> ${PLIST}
+ ${ECHO_CMD} @dirrm libexec/polymake >> ${PLIST}
post-install:
${CP} -p ${PREFIX}/libexec/polymake/Makefile ${PREFIX}/libexec/polymake/Makefile.devel