aboutsummaryrefslogtreecommitdiffstats
path: root/www/mozilla
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-07-26 12:12:36 +0800
committermarcus <marcus@FreeBSD.org>2005-07-26 12:12:36 +0800
commite5357e9e9748a3bdfb7e79b6e1c4dd70140ac414 (patch)
treed814e277784bdbd2dd3f941849c486fa1451aaed /www/mozilla
parent49ed475439b54c81ee43b316cfef412e2556373f (diff)
downloadfreebsd-ports-gnome-e5357e9e9748a3bdfb7e79b6e1c4dd70140ac414.tar.gz
freebsd-ports-gnome-e5357e9e9748a3bdfb7e79b6e1c4dd70140ac414.tar.zst
freebsd-ports-gnome-e5357e9e9748a3bdfb7e79b6e1c4dd70140ac414.zip
Install IDL files into ${PREFIX}/share/idl/mozilla.
PR: 84022 Submitted by: thierry (with modifications by jylefort)
Diffstat (limited to 'www/mozilla')
-rw-r--r--www/mozilla/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile
index 6d5c707e9bc8..9b2cb2f7dfae 100644
--- a/www/mozilla/Makefile
+++ b/www/mozilla/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mozilla
PORTVERSION= 1.7.10
+PORTREVISION?= 1
PORTEPOCH= 2
CATEGORIES?= www
MASTER_SITES= ${MASTER_SITE_MOZILLA} \
@@ -318,6 +319,13 @@ 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} \
+ && ${FIND} -s * -type f -o -type l | \
+ ${SED} -e 's:^:share/idl/${MOZILLA}/:' >> ${PLIST} \
+ && ${FIND} -d * -type d | \
+ ${SED} -e 's:^:@dirrm share/idl/${MOZILLA}/:' >> ${PLIST}
+ ${ECHO_CMD} "@dirrm share/idl/${MOZILLA}" >> ${PLIST}
+ ${ECHO_CMD} "@unexec rmdir %D/share/idl 2>/dev/null || true" >> ${PLIST}
do-install:
${MKDIR} ${PREFIX}/lib/${MOZILLA}
@@ -357,6 +365,9 @@ do-install:
${MKDIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKDIR}/mozilla.desktop \
${PREFIX}/share/applications
+ ${MKDIR} ${PREFIX}/share/idl/${MOZILLA}
+ cd ${FAKEDIR}/share/idl/${MOZILLA}-${PORTVERSION} && ${FIND} . | \
+ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/idl/${MOZILLA}
post-install:
@${CHMOD} -R u-w ${PREFIX}/lib/${MOZILLA}/components