diff options
author | marcus <marcus@FreeBSD.org> | 2005-07-30 11:55:11 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2005-07-30 11:55:11 +0800 |
commit | 57305666b56e5b8c84873bbc92446a63c0934d88 (patch) | |
tree | 069c524181875ae5878b548f2663192a25b3251d /www | |
parent | 20e97878d16d6f67211628bc60ae3ba590cc1fd6 (diff) | |
download | freebsd-ports-gnome-57305666b56e5b8c84873bbc92446a63c0934d88.tar.gz freebsd-ports-gnome-57305666b56e5b8c84873bbc92446a63c0934d88.tar.zst freebsd-ports-gnome-57305666b56e5b8c84873bbc92446a63c0934d88.zip |
Install IDL files into ${PREFIX}/share/idl/mozilla-devel.
Obtained from: www/mozilla
Diffstat (limited to 'www')
-rw-r--r-- | www/mozilla-devel/Makefile | 12 | ||||
-rw-r--r-- | www/seamonkey/Makefile | 12 | ||||
-rw-r--r-- | www/seamonkey2/Makefile | 12 |
3 files changed, 33 insertions, 3 deletions
diff --git a/www/mozilla-devel/Makefile b/www/mozilla-devel/Makefile index f03aa87c82c4..8c77129ea870 100644 --- a/www/mozilla-devel/Makefile +++ b/www/mozilla-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME?= mozilla PORTVERSION= 1.8.b1 -PORTREVISION?= 2 +PORTREVISION?= 3 PORTEPOCH?= 2 CATEGORIES?= www MASTER_SITES= ${MASTER_SITE_MOZILLA} @@ -305,6 +305,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} @@ -344,6 +351,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 diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile index f03aa87c82c4..8c77129ea870 100644 --- a/www/seamonkey/Makefile +++ b/www/seamonkey/Makefile @@ -7,7 +7,7 @@ PORTNAME?= mozilla PORTVERSION= 1.8.b1 -PORTREVISION?= 2 +PORTREVISION?= 3 PORTEPOCH?= 2 CATEGORIES?= www MASTER_SITES= ${MASTER_SITE_MOZILLA} @@ -305,6 +305,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} @@ -344,6 +351,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 diff --git a/www/seamonkey2/Makefile b/www/seamonkey2/Makefile index f03aa87c82c4..8c77129ea870 100644 --- a/www/seamonkey2/Makefile +++ b/www/seamonkey2/Makefile @@ -7,7 +7,7 @@ PORTNAME?= mozilla PORTVERSION= 1.8.b1 -PORTREVISION?= 2 +PORTREVISION?= 3 PORTEPOCH?= 2 CATEGORIES?= www MASTER_SITES= ${MASTER_SITE_MOZILLA} @@ -305,6 +305,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} @@ -344,6 +351,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 |