2012-10-27 21:02:54 +02:00
|
|
|
# Created by: Pedro F. Giffuni <giffunip@asme.org>
|
2003-10-10 07:16:19 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= admesh
|
|
|
|
PORTVERSION= 0.95
|
2007-01-31 09:33:22 +01:00
|
|
|
PORTREVISION= 1
|
2003-10-10 07:16:19 +02:00
|
|
|
CATEGORIES= cad
|
2012-10-27 21:02:54 +02:00
|
|
|
MASTER_SITES= http://launchpadlibrarian.net/67068999/ \
|
|
|
|
http://www.sourcefiles.org/Scientific/Numerical_Analysis/
|
2003-10-10 07:16:19 +02:00
|
|
|
|
2004-02-02 23:44:16 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-10-10 07:16:19 +02:00
|
|
|
COMMENT= Program for processing STL triangulated solid meshes
|
|
|
|
|
2012-10-27 21:02:54 +02:00
|
|
|
LICENSE= GPLv2 # (or later)
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
2012-09-21 00:26:26 +02:00
|
|
|
|
2003-10-10 07:16:19 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2007-01-31 09:33:22 +01:00
|
|
|
PORTDOCS= admesh.doc
|
2012-10-27 21:02:54 +02:00
|
|
|
PLIST_FILES= bin/admesh
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
|
2005-09-02 15:28:37 +02:00
|
|
|
|
2003-10-10 07:16:19 +02:00
|
|
|
do-install:
|
2013-12-30 19:31:26 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/admesh ${STAGEDIR}${PREFIX}/bin/
|
2012-10-27 21:02:54 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2013-12-30 19:31:26 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ADMESH.DOC ${STAGEDIR}${DOCSDIR}/admesh.doc
|
2003-10-10 07:16:19 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|