aboutsummaryrefslogtreecommitdiff
path: root/math/polymake/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-03-03 00:07:37 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-03-03 00:07:37 +0000
commit75a8bddebb4a7b0869de029029effb6c03f87429 (patch)
tree80dd420e6e9089c2acb5b7b3ee999af52a949238 /math/polymake/Makefile
parent913310859927f8577c7ba2cda25036c7d2c2af64 (diff)
downloadports-75a8bddebb4a7b0869de029029effb6c03f87429.tar.gz
ports-75a8bddebb4a7b0869de029029effb6c03f87429.zip
Notes
Diffstat (limited to 'math/polymake/Makefile')
-rw-r--r--math/polymake/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/math/polymake/Makefile b/math/polymake/Makefile
index 929bca853a4e..01ab0311d011 100644
--- a/math/polymake/Makefile
+++ b/math/polymake/Makefile
@@ -7,7 +7,7 @@
PORTNAME= polymake
PORTVERSION= 2.1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= ftp://ftp.math.tu-berlin.de/pub/combi/polymake/
@@ -19,8 +19,6 @@ COMMENT= A framework for experimental discrete mathematics
LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4
-BROKEN= Size mismatch
-
USE_REINPLACE= yes
USE_GMAKE= yes
USE_BZIP2= yes
@@ -44,6 +42,7 @@ do-configure:
echo Cflags='${CFLAGS} -I${PREFIX}/include'; \
echo CXXflags='${CXXFLAGS} -I${PREFIX}/include'; \
echo LDflags='-L${PREFIX}/lib'; \
+ echo PREFIX='${PREFIX}'; \
echo InstallTop='$${PREFIX}/share/polymake'; \
echo InstallArch='$${PREFIX}/libexec/polymake'; \
echo InstallDoc='$${PREFIX}${DOCSDIR:S,^${PREFIX},,}'; \
@@ -55,9 +54,7 @@ pre-install:
rm -f `find ${WRKSRC} -name '*.orig'`
post-install:
- ${AWK} '/InstallTop=/ { print "PREFIX=${PREFIX}" } { print }' \
- ${PREFIX}/libexec/polymake/Makefile >${PREFIX}/libexec/polymake/Makefile.devel
- cp -p ${PREFIX}/libexec/polymake/Makefile.devel ${PREFIX}/libexec/polymake/Makefile
+ cp -p ${PREFIX}/libexec/polymake/Makefile ${PREFIX}/libexec/polymake/Makefile.devel
rm ${PREFIX}/bin/polymake
${SED} -e '/^use lib/ s|"[^"]*/perlx"|"${PREFIX}/libexec/polymake/perlx"|' \
${PREFIX}/share/polymake/perl/polymake >${PREFIX}/bin/polymake