aboutsummaryrefslogtreecommitdiff
path: root/www/mozilla-devel/Makefile
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-08-03 15:22:28 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-08-03 15:22:28 +0000
commit9e68f12215b1756d5437d006754381092eec42e4 (patch)
treeaade6588f4694245e89bf9d77ffe470865956bdd /www/mozilla-devel/Makefile
parent5ec0a616ce87ca40f37c13244c90c712ca56fc70 (diff)
downloadports-9e68f12215b1756d5437d006754381092eec42e4.tar.gz
ports-9e68f12215b1756d5437d006754381092eec42e4.zip
Fix some more problems with IDL installation.
PR: 84514 Submitted by: chinsan <chinsan.tw@gmail.com> Approved by: portmgr (implicit)
Notes
Notes: svn path=/head/; revision=140752
Diffstat (limited to 'www/mozilla-devel/Makefile')
-rw-r--r--www/mozilla-devel/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/mozilla-devel/Makefile b/www/mozilla-devel/Makefile
index 8aa77dc116b8..3bc4f5640d76 100644
--- a/www/mozilla-devel/Makefile
+++ b/www/mozilla-devel/Makefile
@@ -25,7 +25,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
WRKSRC= ${WRKDIR}/${PORTNAME}
MOZILLA?= mozilla-devel
MOZ_SUFX?= -devel
-MOZ_VER?= ${PORTVERSION:S/.b1/b1/}
+MOZ_VER?= ${PORTVERSION:S/.b1/b/}
LATEST_LINK= ${MOZILLA}
EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude */CVS/* \
--exclude */macbuild/*\
@@ -306,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}-${MOZ_VER} \
+ cd ${FAKEDIR}/share/idl/${MOZILLA:S/-devel//}-${MOZ_VER} \
&& ${FIND} -s * -type f -o -type l | \
${SED} -e 's:^:share/idl/${MOZILLA}/:' >> ${PLIST} \
&& ${FIND} -d * -type d | \
@@ -353,7 +353,7 @@ do-install:
${INSTALL_DATA} ${WRKDIR}/mozilla-devel.desktop \
${PREFIX}/share/applications
${MKDIR} ${PREFIX}/share/idl/${MOZILLA}
- cd ${FAKEDIR}/share/idl/${MOZILLA}-${MOZ_VER} && ${FIND} . | \
+ cd ${FAKEDIR}/share/idl/${MOZILLA:S/-devel//}-${MOZ_VER} && ${FIND} . | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/idl/${MOZILLA}
post-install: