diff options
author | jhale <jhale@FreeBSD.org> | 2014-02-21 18:29:52 +0800 |
---|---|---|
committer | jhale <jhale@FreeBSD.org> | 2014-02-21 18:29:52 +0800 |
commit | d3c2479b97a7bd0e67505999d388d732d471c104 (patch) | |
tree | 539d54a463a7984d031bd631e7ac47732f3e58b5 /science | |
parent | 5adfb704d8747ac9167294bfa33aa725c9dbb225 (diff) | |
download | freebsd-ports-gnome-d3c2479b97a7bd0e67505999d388d732d471c104.tar.gz freebsd-ports-gnome-d3c2479b97a7bd0e67505999d388d732d471c104.tar.zst freebsd-ports-gnome-d3c2479b97a7bd0e67505999d388d732d471c104.zip |
- 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)
Diffstat (limited to 'science')
-rw-r--r-- | science/voro++/Makefile | 22 | ||||
-rw-r--r-- | science/voro++/distinfo | 4 | ||||
-rw-r--r-- | science/voro++/pkg-plist | 1 |
3 files changed, 16 insertions, 11 deletions
diff --git a/science/voro++/Makefile b/science/voro++/Makefile index d27d36edb38e..ec689ca2f49d 100644 --- a/science/voro++/Makefile +++ b/science/voro++/Makefile @@ -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> diff --git a/science/voro++/distinfo b/science/voro++/distinfo index 284e76c785ab..3078239abcf4 100644 --- a/science/voro++/distinfo +++ b/science/voro++/distinfo @@ -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 diff --git a/science/voro++/pkg-plist b/science/voro++/pkg-plist index 86c5bd30790b..ea0fc6d08b7b 100644 --- a/science/voro++/pkg-plist +++ b/science/voro++/pkg-plist @@ -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++ |