1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/science/voro++/Makefile
Jason W. Bacon be26d1d912 Multiple ports:
Change maintainer email bacon4000@gmail.com to jwb@FreeBSD.org
Remove Created by comments for same user

Approved by: jrm (mentor)
Differential Revision:  https://reviews.freebsd.org/D14128
2018-01-31 01:07:07 +00:00

30 lines
601 B
Makefile

# $FreeBSD$
PORTNAME= voro++
PORTVERSION= 0.4.6
CATEGORIES= science
MASTER_SITES= http://math.lbl.gov/voro++/download/dir/
MAINTAINER= jwb@FreeBSD.org
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>