diff options
author | marcus <marcus@FreeBSD.org> | 2005-07-26 12:12:36 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2005-07-26 12:12:36 +0800 |
commit | e5357e9e9748a3bdfb7e79b6e1c4dd70140ac414 (patch) | |
tree | d814e277784bdbd2dd3f941849c486fa1451aaed | |
parent | 49ed475439b54c81ee43b316cfef412e2556373f (diff) | |
download | freebsd-ports-graphics-e5357e9e9748a3bdfb7e79b6e1c4dd70140ac414.tar.gz freebsd-ports-graphics-e5357e9e9748a3bdfb7e79b6e1c4dd70140ac414.tar.zst freebsd-ports-graphics-e5357e9e9748a3bdfb7e79b6e1c4dd70140ac414.zip |
Install IDL files into ${PREFIX}/share/idl/mozilla.
PR: 84022
Submitted by: thierry (with modifications by jylefort)
-rw-r--r-- | www/mozilla/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile index 6d5c707e9bc..9b2cb2f7dfa 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 |