freebsd-ports/graphics/opennurbs/Makefile
Guido Falsi a99976b867 Update to release 20121024
PR:		ports/173396
Submitted by:	Fernando <fernando.apesteguia@gmail.com> (maintainer)
Feature safe:	yes
2012-11-06 22:07:17 +00:00

36 lines
1.1 KiB
Makefile

# Created by: Fernando Apesteguia <fernando.apesteguia@gmail.com>
# $FreeBSD$
PORTNAME= opennurbs
PORTVERSION= 20121024
CATEGORIES= graphics
MASTER_SITES= http://files.na.mcneel.com/opennurbs/5.0/2012-10-24/
MASTER_SITE_SUBDIR=${PORTNAME}_${PORTVERSION}
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= fernando.apesteguia@gmail.com
COMMENT= Tools to accurately transfer 3-D geometry between applications
USE_DOS2UNIX= yes
USE_GMAKE= yes
USE_ZIP= yes
USE_ICONV= build
MAKEFILE= makefile
EXAMPLESDIR= ${PREFIX}/libexec/openNURBS
pre-build:
iconv -c -f utf-8 -t ascii ${WRKSRC}/opennurbs_version.h > ${WRKSRC}/opennurbs_version.h.tmp || ${TRUE}
@${MV} ${WRKSRC}/opennurbs_version.h.tmp ${WRKSRC}/opennurbs_version.h
do-install:
@${INSTALL_DATA} ${WRKSRC}/libopenNURBS.a ${PREFIX}/lib
@${MKDIR} ${EXAMPLESDIR}
.for i in brep read roundtrip userdata write
@${INSTALL_PROGRAM} ${WRKSRC}/example_${i}/example_${i} ${EXAMPLESDIR}
.endfor
@${MKDIR} ${PREFIX}/include/openNURBS/zlib
@${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/openNURBS/
@${INSTALL_DATA} ${WRKSRC}/zlib/*.h ${PREFIX}/include/openNURBS/zlib
.include <bsd.port.mk>