aboutsummaryrefslogtreecommitdiffstats
path: root/www/mozilla-devel
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-08-02 12:40:30 +0800
committermarcus <marcus@FreeBSD.org>2005-08-02 12:40:30 +0800
commitbe94434bfbb68cfb64a5c46f3d20c75bb73aff47 (patch)
tree14e918df568464eb8e4ef5dc7cbc93db32ed0473 /www/mozilla-devel
parent1d2d8be3da67b07e7d178b0c0ef9d8bc8092e912 (diff)
downloadfreebsd-ports-graphics-be94434bfbb68cfb64a5c46f3d20c75bb73aff47.tar.gz
freebsd-ports-graphics-be94434bfbb68cfb64a5c46f3d20c75bb73aff47.tar.zst
freebsd-ports-graphics-be94434bfbb68cfb64a5c46f3d20c75bb73aff47.zip
Fix the installation of IDL files.
Reported by: Robert Huff <roberthuff@rcn.com> Approved by: portmgr (implicit)
Diffstat (limited to 'www/mozilla-devel')
-rw-r--r--www/mozilla-devel/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/mozilla-devel/Makefile b/www/mozilla-devel/Makefile
index 8c77129ea87..8aa77dc116b 100644
--- a/www/mozilla-devel/Makefile
+++ b/www/mozilla-devel/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: