diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-07-26 12:14:23 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-07-26 12:14:23 +0800 |
commit | bfee6d081abb9fd97b36428b90aa164e31baf8ec (patch) | |
tree | 0ddd2ecb48c57baf1f592c3fbdbf1eef1c882f2b | |
parent | a7dc0dfc67ef7d0037e2698b93199362bfb0a1d1 (diff) | |
download | marcuscom-ports-bfee6d081abb9fd97b36428b90aa164e31baf8ec.tar marcuscom-ports-bfee6d081abb9fd97b36428b90aa164e31baf8ec.tar.gz marcuscom-ports-bfee6d081abb9fd97b36428b90aa164e31baf8ec.tar.bz2 marcuscom-ports-bfee6d081abb9fd97b36428b90aa164e31baf8ec.tar.lz marcuscom-ports-bfee6d081abb9fd97b36428b90aa164e31baf8ec.tar.xz marcuscom-ports-bfee6d081abb9fd97b36428b90aa164e31baf8ec.tar.zst marcuscom-ports-bfee6d081abb9fd97b36428b90aa164e31baf8ec.zip |
Install IDL files into ${PREFIX}/share/idl/mozilla.
Obtained from: FreeBSD ports tree
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4323 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | www/mozilla/Makefile | 13 | ||||
-rw-r--r-- | www/seamonkey/Makefile | 13 |
2 files changed, 24 insertions, 2 deletions
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile index 6469eea00..cdf4e14ee 100644 --- a/www/mozilla/Makefile +++ b/www/mozilla/Makefile @@ -3,11 +3,12 @@ # Whom: eivind/dima/jseger # # $FreeBSD$ -# $MCom: ports/www/mozilla/Makefile,v 1.14 2005/07/13 08:45:47 ahze Exp $ +# $MCom: ports/www/mozilla/Makefile,v 1.15 2005/07/22 00:00:13 marcus Exp $ # PORTNAME= mozilla PORTVERSION= 1.7.10 +PORTREVISION?= 1 PORTEPOCH= 2 CATEGORIES?= www MASTER_SITES= ${MASTER_SITE_MOZILLA} \ @@ -319,6 +320,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} @@ -358,6 +366,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 diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile index 6469eea00..cdf4e14ee 100644 --- a/www/seamonkey/Makefile +++ b/www/seamonkey/Makefile @@ -3,11 +3,12 @@ # Whom: eivind/dima/jseger # # $FreeBSD$ -# $MCom: ports/www/mozilla/Makefile,v 1.14 2005/07/13 08:45:47 ahze Exp $ +# $MCom: ports/www/mozilla/Makefile,v 1.15 2005/07/22 00:00:13 marcus Exp $ # PORTNAME= mozilla PORTVERSION= 1.7.10 +PORTREVISION?= 1 PORTEPOCH= 2 CATEGORIES?= www MASTER_SITES= ${MASTER_SITE_MOZILLA} \ @@ -319,6 +320,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} @@ -358,6 +366,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 |