- move from INSTALL_LIB to INSTALL_DATA for libopenNURBS.a symbol inclusion

- while here drop redundant MKDIR
- bump PORTREVISION

PR:	ports/166536
Submitted by:	maintainer, fernando.apesteguia@gmail.com
Feature safe:	yes
This commit is contained in:
Jason Helfman 2012-04-02 16:47:38 +00:00
parent b7542224fb
commit 9a1515f37b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=294129

View File

@ -6,6 +6,7 @@
PORTNAME= opennurbs
PORTVERSION= 20111122
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://files.na.mcneel.com/opennurbs/5.0/2011-11-22/
MASTER_SITE_SUBDIR=${PORTNAME}_${PORTVERSION}
@ -27,12 +28,11 @@ pre-build:
@${MV} ${WRKSRC}/opennurbs_version.h.tmp ${WRKSRC}/opennurbs_version.h
do-install:
@${INSTALL_LIB} ${WRKSRC}/libopenNURBS.a ${PREFIX}/lib
@${INSTALL_DATA} ${WRKSRC}/libopenNURBS.a ${PREFIX}/lib
@${MKDIR} ${EXAMPLESDIR}
.for i in brep dump read roundtrip userdata write
@${INSTALL_PROGRAM} ${WRKSRC}/example_${i}/example_${i} ${EXAMPLESDIR}
.endfor
@${MKDIR} ${PREFIX}/include/openNURBS
@${MKDIR} ${PREFIX}/include/openNURBS/zlib
@${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/openNURBS/
@${INSTALL_DATA} ${WRKSRC}/zlib/*.h ${PREFIX}/include/openNURBS/zlib