- Unbreak checksums

- Simplify a little

PR:		ports/76959
Submitted by:	Ewgenij Gawrilow <gawrilow@math.TU-Berlin.DE> (maintainer)
This commit is contained in:
Pav Lucistnik 2005-03-03 00:07:37 +00:00
parent 9133108599
commit 75a8bddebb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=130228
2 changed files with 5 additions and 8 deletions

View file

@ -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

View file

@ -1,6 +1,6 @@
MD5 (polymake-2.1.0.tar.bz2) = 76857a92faccc0b5371becad44f3724a
SIZE (polymake-2.1.0.tar.bz2) = 2883560
MD5 (polymake-2.1.0-p1.diff.bz2) = 1de60e375b5d7abbacdfe3bd249b0134
SIZE (polymake-2.1.0-p1.diff.bz2) = 9411
MD5 (polymake-2.1.0-p1.diff.bz2) = 9f4a2731177bbf0699073bbf46453e76
SIZE (polymake-2.1.0-p1.diff.bz2) = 12070
MD5 (polymake-2.1.0-p2.diff.bz2) = a761bdbb2189722f27524c9f3e1f4330
SIZE (polymake-2.1.0-p2.diff.bz2) = 8072