pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/seamonkey/files Add support for a new PLIST block,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5015d06361ec
branches:  trunk
changeset: 542486:5015d06361ec
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Mon May 19 16:32:43 2008 +0000

description:
Add support for a new PLIST block, INCLUDE-SDK, used for installing
SDK headers shipped with Firefox 3.x.

diffstat:

 www/seamonkey/files/moz-install |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 3d4aa57cf320 -r 5015d06361ec www/seamonkey/files/moz-install
--- a/www/seamonkey/files/moz-install   Mon May 19 16:29:33 2008 +0000
+++ b/www/seamonkey/files/moz-install   Mon May 19 16:32:43 2008 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: moz-install,v 1.5 2007/03/07 21:32:56 dmcmahill Exp $
+# $NetBSD: moz-install,v 1.6 2008/05/19 16:32:43 tnn Exp $
 
 ${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin
 ${SED} -e "s,@PREFIX@,${PREFIX},g" -e "s,@MOZILLA@,${MOZILLA}," -e "s,@MOZILLA_BIN@,${MOZILLA_BIN}," ${FILESDIR}/mozilla-${OBJECT_FMT}.in > ${DESTDIR}${PREFIX}/bin/${MOZILLA}
@@ -63,6 +63,12 @@
        ${BSD_INSTALL_DATA} ${WRKSRC}/${src} ${DESTDIR}${PREFIX}/$i
 done
 
+# install INCLUDE-SDK
+for i in `${SED} -n -e '/^@comment begin INCLUDE-SDK$/,/^@comment end INCLUDE-SDK$/p' ${TMP_PLIST} | ${EGREP} -v ^@comment` ; do
+       src=`echo $i | ${SED} -e "s@include/${MOZILLA}@dist/sdk/include@"`;
+       ${BSD_INSTALL_DATA} ${WRKSRC}/${src} ${DESTDIR}${PREFIX}/$i
+done
+       
 ${RM} -f ${TMP_PLIST}
 
 #



Home | Main Index | Thread Index | Old Index