mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
528bc62a9e
- Add LICENSE - Add MAKE_JOBS_SAFE - Fix build with clang - Respects DOCS PR: ports/172219 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Feature safe: yes
37 lines
778 B
Makefile
37 lines
778 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
|
|
MAKE_JOBS_SAFE= 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 ${PREFIX}/bin/
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/ADMESH.DOC ${DOCSDIR}/admesh.doc
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|