aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xrml
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-01-20 22:44:02 +0800
committervs <vs@FreeBSD.org>2005-01-20 22:44:02 +0800
commit03ae4e099faebb5a3d3d5c66ef36e2d44a2c76d2 (patch)
tree8d77c3b4b6ba4d25ab12954133ca5664fc1e0796 /graphics/xrml
parent8f3b01b90d5180cc56a44aadf672242913882c66 (diff)
downloadfreebsd-ports-graphics-03ae4e099faebb5a3d3d5c66ef36e2d44a2c76d2.tar.gz
freebsd-ports-graphics-03ae4e099faebb5a3d3d5c66ef36e2d44a2c76d2.tar.zst
freebsd-ports-graphics-03ae4e099faebb5a3d3d5c66ef36e2d44a2c76d2.zip
1. Added clean-up for stale object file (caused problems on non-x86 platforms).
2. Some s/xrml/\${PORTNAME}/g changes. PR: ports/74483 Submitted by: maintainer
Diffstat (limited to 'graphics/xrml')
-rw-r--r--graphics/xrml/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/graphics/xrml/Makefile b/graphics/xrml/Makefile
index 3eb239a9296..c87d11a6de1 100644
--- a/graphics/xrml/Makefile
+++ b/graphics/xrml/Makefile
@@ -54,19 +54,21 @@ post-patch:
pre-build:
${GMAKE} -C ${WRKSRC}/FILTERS link_includes
${GMAKE} -C ${WRKSRC}/XRML link_includes
- @${RM} -f ${WRKSRC}/PROGS/vrmldump/deps
+ ${GMAKE} -C ${WRKSRC}/PROGS/vrmldump clean
do-install:
- @${MKDIR} ${PREFIX}/include/xrml
- ${INSTALL_DATA} ${WRKSRC}/include/*.[hH] ${PREFIX}/include/xrml
+ @${MKDIR} ${PREFIX}/include/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/include/*.[hH] ${PREFIX}/include/${PORTNAME}
.for i in cso mgf nff vrml2_utf8
- @${MKDIR} ${PREFIX}/include/xrml/${i}
- ${INSTALL_DATA} ${WRKSRC}/include/${i}/* ${PREFIX}/include/xrml/${i}
+ @${MKDIR} ${PREFIX}/include/${PORTNAME}/${i}
+ ${INSTALL_DATA} ${WRKSRC}/include/${i}/* \
+ ${PREFIX}/include/${PORTNAME}/${i}
.endfor
${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/lib/libxrml.so.0.5 ${PREFIX}/lib/libxrml.so.0
- ${LN} -fs libxrml.so.0 ${PREFIX}/lib/libxrml.so
+ ${INSTALL_PROGRAM} ${WRKSRC}/lib/lib${PORTNAME}.so.0.5 \
+ ${PREFIX}/lib/lib${PORTNAME}.so.0
+ ${LN} -fs lib${PORTNAME}.so.0 ${PREFIX}/lib/lib${PORTNAME}.so
@${STRIP_CMD} ${WRKSRC}/lib/*.a
${INSTALL_DATA} ${WRKSRC}/lib/*.a ${PREFIX}/lib