freebsd-ports/cad/admesh/Makefile
2013-12-30 18:31:26 +00:00

35 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>