1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/science/voro++/Makefile
Martin Wilke 9146c80d02 - Update maintainer mail address
- Update/Remove MASTER_SITE

PR:		204755
Submitted by:	 jwbacon@tds.net (maintainer)
Approved by:	mat (mentor)
Differential Revision:	D4493
2015-12-11 08:48:56 +00:00

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>