mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
9146c80d02
- Update/Remove MASTER_SITE PR: 204755 Submitted by: jwbacon@tds.net (maintainer) Approved by: mat (mentor) Differential Revision: D4493
31 lines
631 B
Makefile
31 lines
631 B
Makefile
# Created by: Jason Bacon
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= voro++
|
|
PORTVERSION= 0.4.6
|
|
CATEGORIES= science
|
|
MASTER_SITES= http://math.lbl.gov/voro++/download/dir/
|
|
|
|
MAINTAINER= bacon4000@gmail.com
|
|
COMMENT= Three-dimensional computations of the Voronoi tessellation
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= gmake
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} \
|
|
-e 's|CXX=|CXX?=|g' \
|
|
-e 's|CFLAGS=|CFLAGS?=|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>
|