diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-05 21:34:39 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-05 21:34:39 +0000 |
commit | 2b773df81cd8193e61f09f240ddc82fef5465948 (patch) | |
tree | f05197b70688678075c801abd6e2bf0d827bbe44 /comms | |
parent | 71bcf9d7bb3ca7756745d8afd3cd1796c70c2e66 (diff) | |
download | pkgsrc-2b773df81cd8193e61f09f240ddc82fef5465948.tar.gz |
Use SUBST framework.
Diffstat (limited to 'comms')
-rw-r--r-- | comms/fidogate/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/comms/fidogate/Makefile b/comms/fidogate/Makefile index 5ad01f03f33..cf5ddd42ff7 100644 --- a/comms/fidogate/Makefile +++ b/comms/fidogate/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.48 2005/12/29 23:31:35 joerg Exp $ +# $NetBSD: Makefile,v 1.49 2006/01/05 21:34:39 joerg Exp $ # DISTNAME= fidogate-4.4.10 @@ -24,17 +24,18 @@ RCD_SCRIPTS= fidogate PKG_USERS= news:news::Network\ News:/var/spool/news:${NOLOGIN} PKG_GROUPS= news +NO_CONFIGURE= yes + +SUBST_CLASSES+= paths +SUBST_FILES.paths= config.make +SUBST_SED.paths= -e 's,@PREFIX@,${PREFIX},g' +SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g' +SUBST_STAGE.paths= post-patch + post-extract: @${CP} ${WRKSRC}/examples/orodruin/fidogate.conf \ ${WRKSRC}/fidogate.conf.dist -# This ugliness is because config.make is parsed by both make(1) and -# subst.pl, which does only simplistic substitution. -do-configure: - @${MV} -f ${WRKSRC}/config.make ${WRKSRC}/config.make.orig - @${SED} ${FILES_SUBST_SED} \ - ${WRKSRC}/config.make.orig > ${WRKSRC}/config.make - pre-build: ${RM} -f ${WRKSRC}/doc/fidogate.info* cd ${WRKSRC}/doc && ${MAKEINFO} --no-split fidogate.texi && \ |