diff options
author | sat <sat@FreeBSD.org> | 2006-11-15 15:43:23 +0800 |
---|---|---|
committer | sat <sat@FreeBSD.org> | 2006-11-15 15:43:23 +0800 |
commit | dbe1d669f80830237a91598b71803e912e1748f4 (patch) | |
tree | 51a018c7698289afd96f1e0bad63cab7cad1cc31 | |
parent | 519cee72fba2ba959d0a020ffb55ab3c63ef3b3b (diff) | |
download | freebsd-ports-gnome-dbe1d669f80830237a91598b71803e912e1748f4.tar.gz freebsd-ports-gnome-dbe1d669f80830237a91598b71803e912e1748f4.tar.zst freebsd-ports-gnome-dbe1d669f80830237a91598b71803e912e1748f4.zip |
- Add a couple of targets to ease chrome.manifest generation
-rw-r--r-- | www/xpi-adblock/Makefile.xpi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/www/xpi-adblock/Makefile.xpi b/www/xpi-adblock/Makefile.xpi index 47c59347feeb..60b32995ee1c 100644 --- a/www/xpi-adblock/Makefile.xpi +++ b/www/xpi-adblock/Makefile.xpi @@ -200,3 +200,10 @@ xpi-plist: extract then ${ECHO_CMD} %%XPI_XPIDIR%%/chrome.manifest >> ${PLIST} ; fi @${FIND} -ds ${WRKSRC} -type d -not -name ${DISTNAME} | \ ${SED} -e "s,^${WRKSRC},@dirrm %%XPI_XPIDIR%%," >> ${PLIST} + +xpi-pre-chrome: + @${CHMOD} g+w ${_TD_FULL} + @${RM} -f ${_TD_FULL}/chrome.manifest + +xpi-post-chrome: + @${CP} -f ${_TD_FULL}/chrome.manifest ${FILESDIR}/ |