pkgsrc-wip/firefox-wrapper/Makefile
Thomas Klausner ad6cb11b6d "wip" is not a valid category -- please use the standard pkgsrc ones.
Remove wip from CATEGORIES, and guess category if wip was the only one
specified.
2005-11-02 17:59:54 +00:00

35 lines
983 B
Makefile

# $NetBSD: Makefile,v 1.7 2005/11/02 18:00:13 thomasklausner Exp $
DISTNAME= firefox-wrapper-0.2
CATEGORIES= www
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= pancake@phreaker.net
COMMENT= Firefox binary wrapper
NO_CONFIGURE= yes
NO_CHECKSUM= yes
NO_BUILD= yes
CONF_FILES= ${PREFIX}/share/examples/firefox-wrapper/firefox-wrapper.conf \
${PKG_SYSCONFDIR}/firefox-wrapper.conf
do-extract:
@${CP} -R ${FILESDIR} ${WRKSRC}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/firefox ${PREFIX}/bin/firefox
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/firefox-wrapper/
${INSTALL_DATA} ${WRKSRC}/firefox-wrapper.conf \
${PREFIX}/share/examples/firefox-wrapper/firefox-wrapper.conf
${INSTALL_DATA} ${WRKSRC}/firefox-wrapper.conf \
${PKG_SYSCONFDIR}/firefox-wrapper.conf
SUBST_CLASSES+= etc
SUBST_STAGE.etc= post-patch
SUBST_FILES.etc= firefox firefox-wrapper.conf
SUBST_SED.etc+= -e "s,_etc_,${PKG_SYSCONFDIR},g" \
-e "s,_pfx_,${PREFIX},g"
.include "../../mk/bsd.pkg.mk"