summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2009-11-29 03:28:04 +0000
committertnn <tnn@pkgsrc.org>2009-11-29 03:28:04 +0000
commit5d2c1a0ff5767d68972a7fbaa8de99cdb94ca5ed (patch)
treebd0713b8b4a4adb5250d0c055bfdb5d7c2f1ed32 /www
parent738baeebd3f8901a7917362656b0cd181756eb22 (diff)
downloadpkgsrc-5d2c1a0ff5767d68972a7fbaa8de99cdb94ca5ed.tar.gz
fix lint
Diffstat (limited to 'www')
-rw-r--r--www/firefox/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index 40bcebdd256..918ca0994aa 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2009/11/27 16:59:18 tnn Exp $
+# $NetBSD: Makefile,v 1.64 2009/11/29 03:28:04 tnn Exp $
#
.include "../../devel/xulrunner/dist.mk"
@@ -34,21 +34,22 @@ MOZILLA_ICON= ${WRKSRC}/browser/branding/unofficial/default48.png
pre-configure:
cd ${WRKSRC} && autoconf
-post-install:
- ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/applications
- ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/pixmaps
- ${SED} -e 's|@MOZILLA@|${MOZILLA}|g' \
+post-build:
+ ${SED} -e 's|@MOZILLA@|${MOZILLA}|g' \
-e 's|@MOZILLA_NAME@|${MOZILLA_NAME}|g' \
-e 's|@FIREFOX_ICON@|${MOZILLA}.png|g' \
< ${FILESDIR}/desktop.in \
> ${WRKDIR}/desktop
+ ${SED} -e 's|@PREFIX@|${PREFIX}|g' < ${FILESDIR}/firefox.sh.in \
+ > ${WRKDIR}/firefox
+
+INSTALLATION_DIRS+= share/applications share/pixmaps
+post-install:
${INSTALL_DATA} ${WRKDIR}/desktop \
${DESTDIR}${PREFIX}/share/applications/${MOZILLA}.desktop
${INSTALL_DATA} ${MOZILLA_ICON} \
${DESTDIR}${PREFIX}/share/pixmaps/${MOZILLA}.png
rm -f ${DESTDIR}${PREFIX}/bin/firefox
- ${SED} -e 's|@PREFIX@|${PREFIX}|g' < ${FILESDIR}/firefox.sh.in \
- > ${WRKDIR}/firefox
${INSTALL_SCRIPT} ${WRKDIR}/firefox ${DESTDIR}${PREFIX}/bin
BUILDLINK_API_DEPENDS.xulrunner+= xulrunner-1.9.1.5{,nb*}