aboutsummaryrefslogtreecommitdiffstats
path: root/www/firefox/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-07-30 12:36:55 +0800
committermarcus <marcus@FreeBSD.org>2005-07-30 12:36:55 +0800
commit2e80522641263fe0e175bc1db53216f071411bd5 (patch)
tree7c3ead9fc13bae1dfb391ec7866deacc4aa1a451 /www/firefox/Makefile
parent57305666b56e5b8c84873bbc92446a63c0934d88 (diff)
downloadfreebsd-ports-gnome-2e80522641263fe0e175bc1db53216f071411bd5.tar.gz
freebsd-ports-gnome-2e80522641263fe0e175bc1db53216f071411bd5.tar.zst
freebsd-ports-gnome-2e80522641263fe0e175bc1db53216f071411bd5.zip
Install IDL files into ${PREFIX}/share/idl/firefox.
Obtained from: www/mozilla
Diffstat (limited to 'www/firefox/Makefile')
-rw-r--r--www/firefox/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index 86e5c4119ab3..bf5d53216b71 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -7,6 +7,7 @@
PORTNAME= firefox
PORTVERSION= 1.0.6
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_MOZILLA}
@@ -225,6 +226,13 @@ pre-install:
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/browser_plugins 2>/dev/null || ${TRUE}" >> ${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/${FIREFOX}-${FF_VER} \
+ && ${FIND} -s * -type f -o -type l | \
+ ${SED} -e 's:^:share/idl/${FIREFOX}/:' >> ${PLIST} \
+ && ${FIND} -d * -type d | \
+ ${SED} -e 's:^:@dirrm share/idl/${FIREFOX}/:' >> ${PLIST}
+ ${ECHO_CMD} "@dirrm share/idl/${FIREFOX}" >> ${PLIST}
+ ${ECHO_CMD} "@unexec rmdir %D/share/idl 2>/dev/null || true" >> ${PLIST}
do-install:
${MKDIR} ${PREFIX}/lib/${FIREFOX}
@@ -255,6 +263,9 @@ do-install:
${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/include/${FIREFOX}
cd ${FAKEDIR}/lib/${FIREFOX}-${FF_VER} && ${FIND} . | \
${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/${FIREFOX}
+ ${MKDIR} ${PREFIX}/share/idl/${FIREFOX}
+ cd ${FAKEDIR}/share/idl/${FIREFOX}-${FF_VER} && ${FIND} . | \
+ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/idl/${FIREFOX}
post-install:
.if !defined(PACKAGE_BUILDING)