From 80c9b83c79ac8764d686931d81ca797d31037ba4 Mon Sep 17 00:00:00 2001 From: Volker Stolz Date: Thu, 20 Jan 2005 14:44:02 +0000 Subject: 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 --- graphics/xrml/Makefile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'graphics') diff --git a/graphics/xrml/Makefile b/graphics/xrml/Makefile index 3eb239a9296f..c87d11a6de11 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 -- cgit v1.2.3