aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-10-12 10:45:50 +0800
committerdanilo <danilo@FreeBSD.org>2013-10-12 10:45:50 +0800
commit574da9890d36de35843bf121c0c53d8f5e3bef12 (patch)
tree4e1a222c424f6823df70b077c53b9afe22531cd9 /graphics
parent4511f889a992ad47d17ddf3379c422cb671c17a8 (diff)
downloadfreebsd-ports-gnome-574da9890d36de35843bf121c0c53d8f5e3bef12.tar.gz
freebsd-ports-gnome-574da9890d36de35843bf121c0c53d8f5e3bef12.tar.zst
freebsd-ports-gnome-574da9890d36de35843bf121c0c53d8f5e3bef12.zip
- Add stage support
PR: ports/182883 Submitted by: Fernando <fernando.apesteguia@gmail.com> (maintainer) Approved by: wg/culot (mentors, implicit)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/opennurbs/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/graphics/opennurbs/Makefile b/graphics/opennurbs/Makefile
index 7e3f7833a2ea..867892c229fc 100644
--- a/graphics/opennurbs/Makefile
+++ b/graphics/opennurbs/Makefile
@@ -3,11 +3,11 @@
PORTNAME= opennurbs
PORTVERSION= 20121024
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://files.na.mcneel.com/opennurbs/5.0/2012-10-24/
MASTER_SITE_SUBDIR=${PORTNAME}_${PORTVERSION}
DISTNAME= ${PORTNAME}_${PORTVERSION}
-PORTREVISION= 1
MAINTAINER= fernando.apesteguia@gmail.com
COMMENT= Tools to accurately transfer 3-D geometry between applications
@@ -18,9 +18,8 @@ USES= iconv:build gmake
MAKE_ARGS= CC=${CC} CCC=${CXX}
MAKEFILE= makefile
-EXAMPLESDIR= ${PREFIX}/libexec/openNURBS
+EXAMPLESDIR= ${STAGEDIR}${PREFIX}/libexec/openNURBS
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} != i386
@@ -32,13 +31,13 @@ pre-build:
@${MV} ${WRKSRC}/opennurbs_version.h.tmp ${WRKSRC}/opennurbs_version.h
do-install:
- @${INSTALL_DATA} ${WRKSRC}/libopenNURBS.a ${PREFIX}/lib
+ @${INSTALL_DATA} ${WRKSRC}/libopenNURBS.a ${STAGEDIR}${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
+ @${MKDIR} ${STAGEDIR}${PREFIX}/include/openNURBS/zlib
+ @${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/openNURBS/
+ @${INSTALL_DATA} ${WRKSRC}/zlib/*.h ${STAGEDIR}${PREFIX}/include/openNURBS/zlib
.include <bsd.port.post.mk>