diff options
author | jlam <jlam@pkgsrc.org> | 2002-01-31 18:58:40 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-01-31 18:58:40 +0000 |
commit | b5a338d728e6e99f69b17460472e0c24f36d3604 (patch) | |
tree | bfa75d2ce401af4d4256be6fba35d1df5bcf4332 /net/netsaint-base | |
parent | 187976e77e454976796c15a209e728ba4663795c (diff) | |
download | pkgsrc-b5a338d728e6e99f69b17460472e0c24f36d3604.tar.gz |
Instead of manually making "install-config" as the first step of the
post-install target, just add install-config to the list of
INSTALL_TARGETS. This is much simpler, duh! Thanks to Thomas Klausner
<wiz@netbsd.org> for pointing this out.
Diffstat (limited to 'net/netsaint-base')
-rw-r--r-- | net/netsaint-base/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/netsaint-base/Makefile b/net/netsaint-base/Makefile index 5711b10257f..9beeaef1052 100644 --- a/net/netsaint-base/Makefile +++ b/net/netsaint-base/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2002/01/31 17:24:38 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2002/01/31 18:58:40 jlam Exp $ # DISTNAME= netsaint-0.0.6 @@ -16,13 +16,14 @@ USE_PERL5= YES .include "Makefile.common" +INSTALL_TARGET= install install-config + post-configure: ${SED} <${FILESDIR}/netsaint-setup.sh >${WRKDIR}/netsaint-setup.sh \ -e 's:@@USER@@:${NETSAINT_USER}:g' \ -e 's:@@GROUP@@:${NETSAINT_GROUP}:g' post-install: - cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} install-config cd ${WRKDIR} && ${INSTALL_SCRIPT} netsaint-setup.sh ${PREFIX}/sbin .include "../../mk/bsd.pkg.mk" |