From 107cce2791b885165c552be6e6c4ee8fbd7b04ef Mon Sep 17 00:00:00 2001 From: "Jason E. Hale" Date: Fri, 21 Feb 2014 10:29:52 +0000 Subject: [PATCH] - 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 (maintainer) --- science/voro++/Makefile | 22 +++++++++++++--------- science/voro++/distinfo | 4 ++-- 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 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++