1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/cad/admesh/Makefile
2013-12-30 18:31:26 +00:00

36 lines
791 B
Makefile

# Created by: Pedro F. Giffuni <giffunip@asme.org>
# $FreeBSD$
PORTNAME= admesh
PORTVERSION= 0.95
PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= http://launchpadlibrarian.net/67068999/ \
http://www.sourcefiles.org/Scientific/Numerical_Analysis/
MAINTAINER= ports@FreeBSD.org
COMMENT= Program for processing STL triangulated solid meshes
LICENSE= GPLv2 # (or later)
OPTIONS_DEFINE= DOCS
GNU_CONFIGURE= yes
PORTDOCS= admesh.doc
PLIST_FILES= bin/admesh
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/admesh ${STAGEDIR}${PREFIX}/bin/
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ADMESH.DOC ${STAGEDIR}${DOCSDIR}/admesh.doc
.endif
.include <bsd.port.mk>