From be94434bfbb68cfb64a5c46f3d20c75bb73aff47 Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 2 Aug 2005 04:40:30 +0000 Subject: Fix the installation of IDL files. Reported by: Robert Huff Approved by: portmgr (implicit) --- www/seamonkey/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'www/seamonkey/Makefile') diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile index 8c77129ea870..8aa77dc116b8 100644 --- a/www/seamonkey/Makefile +++ b/www/seamonkey/Makefile @@ -25,6 +25,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ WRKSRC= ${WRKDIR}/${PORTNAME} MOZILLA?= mozilla-devel MOZ_SUFX?= -devel +MOZ_VER?= ${PORTVERSION:S/.b1/b1/} LATEST_LINK= ${MOZILLA} EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude */CVS/* \ --exclude */macbuild/*\ @@ -305,7 +306,7 @@ pre-install: ${ECHO_CMD} @dirrm include/${MOZILLA} >> ${PLIST} ${ECHO_CMD} "@exec ${LOCALBASE}/bin/update-desktop-database > /dev/null || ${TRUE}" >> ${PLIST} ${ECHO_CMD} "@unexec ${LOCALBASE}/bin/update-desktop-database > /dev/null || ${TRUE}" >> ${PLIST} - cd ${FAKEDIR}/share/idl/${MOZILLA}-${PORTVERSION} \ + cd ${FAKEDIR}/share/idl/${MOZILLA}-${MOZ_VER} \ && ${FIND} -s * -type f -o -type l | \ ${SED} -e 's:^:share/idl/${MOZILLA}/:' >> ${PLIST} \ && ${FIND} -d * -type d | \ @@ -352,7 +353,7 @@ do-install: ${INSTALL_DATA} ${WRKDIR}/mozilla-devel.desktop \ ${PREFIX}/share/applications ${MKDIR} ${PREFIX}/share/idl/${MOZILLA} - cd ${FAKEDIR}/share/idl/${MOZILLA}-${PORTVERSION} && ${FIND} . | \ + cd ${FAKEDIR}/share/idl/${MOZILLA}-${MOZ_VER} && ${FIND} . | \ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/idl/${MOZILLA} post-install: -- cgit