summaryrefslogtreecommitdiffstats
path: root/www/firefox3-devel
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-07-30 12:48:00 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-07-30 12:48:00 +0800
commit4aea1f449fd354a90719da0f2d30d253a8fe0e7c (patch)
treee226192cd3fe819207c2a34c8f0bc9f70969a182 /www/firefox3-devel
parent9ffae4208c48cd67d280b5c3425ab1c98376fb54 (diff)
downloadmarcuscom-ports-4aea1f449fd354a90719da0f2d30d253a8fe0e7c.tar
marcuscom-ports-4aea1f449fd354a90719da0f2d30d253a8fe0e7c.tar.gz
marcuscom-ports-4aea1f449fd354a90719da0f2d30d253a8fe0e7c.tar.bz2
marcuscom-ports-4aea1f449fd354a90719da0f2d30d253a8fe0e7c.tar.lz
marcuscom-ports-4aea1f449fd354a90719da0f2d30d253a8fe0e7c.tar.xz
marcuscom-ports-4aea1f449fd354a90719da0f2d30d253a8fe0e7c.tar.zst
marcuscom-ports-4aea1f449fd354a90719da0f2d30d253a8fe0e7c.zip
Install IDL files into ${PREFIX}/share/idl/firefox-devel (untested).
Obtained from: FreeBSD ports tree git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4360 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/firefox3-devel')
-rw-r--r--www/firefox3-devel/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/www/firefox3-devel/Makefile b/www/firefox3-devel/Makefile
index 57a43c502..050e826cb 100644
--- a/www/firefox3-devel/Makefile
+++ b/www/firefox3-devel/Makefile
@@ -3,12 +3,12 @@
# Whom: Alan Eldridge <alane@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/www/firefox/Makefile,v 1.9 2005/07/14 00:03:59 ahze Exp $
+# $MCom: ports/www/firefox-devel/Makefile,v 1.10 2005/07/14 05:25:43 ahze Exp $
#
PORTNAME= firefox
DISTVERSION= 1.1a2
-PORTREVISION= 0
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_MOZILLA}
@@ -223,6 +223,13 @@ pre-install:
${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${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/${FF} \
+ && ${FIND} -s * -type f -o -type l | \
+ ${SED} -e 's:^:share/idl/${FF}/:' >> ${PLIST} \
+ && ${FIND} -d * -type d | \
+ ${SED} -e 's:^:@dirrm share/idl/${FF}/:' >> ${PLIST}
+ ${ECHO_CMD} "@dirrm share/idl/${FF}" >> ${PLIST}
+ ${ECHO_CMD} "@unexec rmdir %D/share/idl 2>/dev/null || true" >> ${PLIST}
do-install:
${MKDIR} ${PREFIX}/lib/${FF}
@@ -251,6 +258,9 @@ do-install:
${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/include/${FF}
cd ${FAKEDIR}/lib/${FF} && ${FIND} . | \
${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/${FF}
+ ${MKDIR} ${PREFIX}/share/idl/${FF}
+ cd ${FAKEDIR}/share/idl/${FF} && ${FIND} . | \
+ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/idl/${FF}
post-install:
.if !defined(PACKAGE_BUILDING)