diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-07-30 11:59:11 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-07-30 11:59:11 +0800 |
commit | 9ffae4208c48cd67d280b5c3425ab1c98376fb54 (patch) | |
tree | de268605fee6f0be0eac96b8dbd8f1779a5767d5 /www | |
parent | 7e73e58222504fe5ada10d1699e6e26fae3e10c3 (diff) | |
download | marcuscom-ports-9ffae4208c48cd67d280b5c3425ab1c98376fb54.tar marcuscom-ports-9ffae4208c48cd67d280b5c3425ab1c98376fb54.tar.gz marcuscom-ports-9ffae4208c48cd67d280b5c3425ab1c98376fb54.tar.bz2 marcuscom-ports-9ffae4208c48cd67d280b5c3425ab1c98376fb54.tar.lz marcuscom-ports-9ffae4208c48cd67d280b5c3425ab1c98376fb54.tar.xz marcuscom-ports-9ffae4208c48cd67d280b5c3425ab1c98376fb54.tar.zst marcuscom-ports-9ffae4208c48cd67d280b5c3425ab1c98376fb54.zip |
Install IDL files into ${PREFIX}/share/idl/mozilla-devel.
Obtained from: FreeBSD ports tree
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4359 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www')
-rw-r--r-- | www/mozilla-devel/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/www/mozilla-devel/Makefile b/www/mozilla-devel/Makefile index 134c39d09..0419b17e8 100644 --- a/www/mozilla-devel/Makefile +++ b/www/mozilla-devel/Makefile @@ -3,12 +3,12 @@ # Whom: eivind/dima/jseger # # $FreeBSD$ -# $MCom$ +# $MCom: ports/www/mozilla-devel/Makefile,v 1.1 2005/07/13 08:53:03 ahze Exp $ # PORTNAME?= mozilla PORTVERSION= 1.8.b1 -PORTREVISION?= 2 +PORTREVISION?= 3 PORTEPOCH?= 2 CATEGORIES?= www MASTER_SITES= ${MASTER_SITE_MOZILLA} @@ -306,6 +306,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} @@ -345,6 +352,9 @@ do-install: ${MKDIR} ${PREFIX}/share/applications ${INSTALL_DATA} ${WRKDIR}/mozilla-devel.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: @-update-desktop-database |