diff options
author | linimon <linimon@FreeBSD.org> | 2004-02-13 15:19:21 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2004-02-13 15:19:21 +0800 |
commit | 0abe35c5de1594316293391042e5e3d397d1ca72 (patch) | |
tree | e46900fdfb6b408bbabe4a65ed71e749eac2e08c /graphics | |
parent | 160d94bb9684d5aa79bcd41ed2d2377164dbf9f8 (diff) | |
download | freebsd-ports-graphics-0abe35c5de1594316293391042e5e3d397d1ca72.tar.gz freebsd-ports-graphics-0abe35c5de1594316293391042e5e3d397d1ca72.tar.zst freebsd-ports-graphics-0abe35c5de1594316293391042e5e3d397d1ca72.zip |
Fix deinstall; a few minor cosmetic changes.
Submitted by: maintainer
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/xrml/Makefile | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/graphics/xrml/Makefile b/graphics/xrml/Makefile index 21839057d13..7039d7ebe8a 100644 --- a/graphics/xrml/Makefile +++ b/graphics/xrml/Makefile @@ -16,11 +16,11 @@ DIST_SUBDIR= RenderPark MAINTAINER= tiamat@comset.net COMMENT= Extensible scene graph library based on VRML'97 -WRKSRC= ${WRKDIR}/XRML +WRKSRC= ${WRKDIR}/${PORTNAME:U} USE_GMAKE= yes USE_X_PREFIX= yes -USE_MESA= yes +USE_GL= yes USE_MOTIF= yes USE_REINPLACE= yes INSTALLS_SHLIB= yes @@ -58,16 +58,11 @@ pre-build: do-install: @${MKDIR} ${PREFIX}/include/xrml - ${INSTALL_DATA} ${WRKSRC}/include/*.H ${PREFIX}/include/xrml - ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/xrml - @${MKDIR} ${PREFIX}/include/xrml/cso - ${INSTALL_DATA} ${WRKSRC}/include/cso/* ${PREFIX}/include/xrml/cso - @${MKDIR} ${PREFIX}/include/xrml/mgf - ${INSTALL_DATA} ${WRKSRC}/include/mgf/* ${PREFIX}/include/xrml/mgf - @${MKDIR} ${PREFIX}/include/xrml/nff - ${INSTALL_DATA} ${WRKSRC}/include/nff/* ${PREFIX}/include/xrml/nff - @${MKDIR} ${PREFIX}/include/xrml/vrml2_utf8 - ${INSTALL_DATA} ${WRKSRC}/include/vrml2_utf8/* ${PREFIX}/include/xrml/vrml2_utf8 + ${INSTALL_DATA} ${WRKSRC}/include/*.[hH] ${PREFIX}/include/xrml +.for i in cso mgf nff vrml2_utf8 + @${MKDIR} ${PREFIX}/include/xrml/${i} + ${INSTALL_DATA} ${WRKSRC}/include/${i}/* ${PREFIX}/include/xrml/${i} +.endfor ${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/lib/libxrml.so.0.5 ${PREFIX}/lib/libxrml.so.0 @@ -77,10 +72,9 @@ do-install: .ifdef (WITH_EXAMPLES) @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/TEST/*.wrl ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/TEST/*.ppm ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/TEST/*.gz ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/TEST/*.mgf ${EXAMPLESDIR} +.for i in wrl ppm gz mgf + ${INSTALL_DATA} ${WRKSRC}/TEST/*.${i} ${EXAMPLESDIR} +.endfor ${INSTALL_DATA} ${WRKSRC}/TEST/plotfunc.c ${EXAMPLESDIR} .endif @@ -97,10 +91,14 @@ do-install: @${MKDIR} ${DOCSDIR}/VRML97 ${INSTALL_DATA} ${WRKSRC}/DOC/VRML97/*.html ${DOCSDIR}/VRML97 @${MKDIR} ${DOCSDIR}/VRML97/Images - ${INSTALL_DATA} ${WRKSRC}/DOC/VRML97/Images/* ${DOCSDIR}/VRML97/Images +.for i in gif jpg + ${INSTALL_DATA} ${WRKSRC}/DOC/VRML97/Images/*.${i} ${DOCSDIR}/VRML97/Images +.endfor @${MKDIR} ${DOCSDIR}/VRML97/part1 - ${INSTALL_DATA} ${WRKSRC}/DOC/VRML97/part1/* ${DOCSDIR}/VRML97/part1 - ${LN} -s VRML97 ${DOCSDIR}/VRML +.for i in html wrl wav + ${INSTALL_DATA} ${WRKSRC}/DOC/VRML97/part1/*.${i} ${DOCSDIR}/VRML97/part1 +.endfor + ${LN} -sf VRML97 ${DOCSDIR}/VRML .endif .include <bsd.port.post.mk> |