Bug 183376 - maintainer update: science/voro++
Summary: maintainer update: science/voro++
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jason E. Hale
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-27 23:20 UTC by Jason W. Bacon
Modified: 2014-02-21 10:40 UTC (History)
0 users

See Also:


Attachments
file.diff (1.65 KB, patch)
2013-10-27 23:20 UTC, Jason W. Bacon
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason W. Bacon freebsd_committer freebsd_triage 2013-10-27 23:20:00 UTC
Update to latest, enable staged install, test using clang and gcc.

Fix: Attached

Patch attached with submission follows:
How-To-Repeat: NA
Comment 1 Jason E. Hale freebsd_committer freebsd_triage 2013-10-29 12:17:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jhale

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-02-21 10:30:01 UTC
Author: jhale
Date: Fri Feb 21 10:29:52 2014
New Revision: 345363
URL: http://svnweb.freebsd.org/changeset/ports/345363
QAT: https://qat.redports.org/buildarchive/r345363/

Log:
  - 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)

Modified:
  head/science/voro++/Makefile
  head/science/voro++/distinfo
  head/science/voro++/pkg-plist

Modified: head/science/voro++/Makefile
==============================================================================
--- head/science/voro++/Makefile	Fri Feb 21 10:29:38 2014	(r345362)
+++ head/science/voro++/Makefile	Fri Feb 21 10:29:52 2014	(r345363)
@@ -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>

Modified: head/science/voro++/distinfo
==============================================================================
--- head/science/voro++/distinfo	Fri Feb 21 10:29:38 2014	(r345362)
+++ head/science/voro++/distinfo	Fri Feb 21 10:29:52 2014	(r345363)
@@ -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

Modified: head/science/voro++/pkg-plist
==============================================================================
--- head/science/voro++/pkg-plist	Fri Feb 21 10:29:38 2014	(r345362)
+++ head/science/voro++/pkg-plist	Fri Feb 21 10:29:52 2014	(r345363)
@@ -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++
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Jason E. Hale freebsd_committer freebsd_triage 2014-02-21 10:30:47 UTC
State Changed
From-To: open->closed

Committed, with minor changes.  Sorry it took so long!