1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Update to 0.4.6

- Support staging

While here:
- Convert USE_GMAKE -> USES=gmake
- Be more specific with BSD license
- Strip binaries

PR:		ports/183376
Submitted by:	Jason Bacon <jwbacon@tds.net> (maintainer)
This commit is contained in:
Jason E. Hale 2014-02-21 10:29:52 +00:00
parent 2778fbae87
commit 107cce2791
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345363
3 changed files with 16 additions and 11 deletions

View File

@ -2,25 +2,29 @@
# $FreeBSD$
PORTNAME= voro++
PORTVERSION= 0.4.5
PORTVERSION= 0.4.6
CATEGORIES= science
MASTER_SITES= http://math.lbl.gov/voro++/download/dir/
MAINTAINER= jwbacon@tds.net
COMMENT= Three-dimensional computations of the Voronoi tessellation
LICENSE= BSD
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GMAKE= yes
USES= gmake
MAN1= voro++.1
NO_STAGE= yes
post-patch-script:
post-patch:
${REINPLACE_CMD} \
-e 's|CC=|CC?=|g' \
-e 's|CXX=|CXX?=|g' \
-e 's|CFLAGS=|CFLAGS?=|g' \
-e "s|/usr/local|${PREFIX}|g" \
-e 's|PREFIX=.*|PREFIX?=|g' \
${WRKSRC}/config.mk
${REINPLACE_CMD} \
-e 's|$$(PREFIX)|$$(DESTDIR)$$(PREFIX)|g' \
${WRKSRC}/Makefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/voro++
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (voro++-0.4.5.tar.gz) = 9e67e2392ae027cf51d3487038848dc980c6c3e86f1447053efac9309bcee5f5
SIZE (voro++-0.4.5.tar.gz) = 737883
SHA256 (voro++-0.4.6.tar.gz) = ef7970071ee2ce3800daa8723649ca069dc4c71cc25f0f7d22552387f3ea437e
SIZE (voro++-0.4.6.tar.gz) = 809124

View File

@ -14,4 +14,5 @@ include/voro++/voro++.hh
include/voro++/wall.hh
include/voro++/worklist.hh
lib/libvoro++.a
man/man1/voro++.1.gz
@dirrm include/voro++