diff options
author | tnn <tnn@pkgsrc.org> | 2008-05-19 16:32:43 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-05-19 16:32:43 +0000 |
commit | 92211acf58c23356b2dcc321b6ad2112dd5b4423 (patch) | |
tree | 0acb982540f6c66f68e308e3335a4679f2da7a14 /www/seamonkey | |
parent | 9112089541f9a625ce3b40a574d58130c8e26b74 (diff) | |
download | pkgsrc-92211acf58c23356b2dcc321b6ad2112dd5b4423.tar.gz |
Add support for a new PLIST block, INCLUDE-SDK, used for installing
SDK headers shipped with Firefox 3.x.
Diffstat (limited to 'www/seamonkey')
-rwxr-xr-x | www/seamonkey/files/moz-install | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/www/seamonkey/files/moz-install b/www/seamonkey/files/moz-install index 40fec3f29e6..f55fc649797 100755 --- a/www/seamonkey/files/moz-install +++ b/www/seamonkey/files/moz-install @@ -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 @@ for i in `${SED} -n -e '/^@comment begin INCLUDE-PUBLIC$/,/^@comment end INCLUDE ${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} # |