diff options
author | tv <tv> | 2001-02-22 03:00:14 +0000 |
---|---|---|
committer | tv <tv> | 2001-02-22 03:00:14 +0000 |
commit | 5abb89884e47d2f9f3f2d4eb8fb23f626e992ec0 (patch) | |
tree | 67d15e4aafc002f69c551b8732f149d7e0443d20 /comms/fidogate/Makefile | |
parent | 79c357f04af3f6e191e47586676fa2ee3cc39558 (diff) | |
download | pkgsrc-5abb89884e47d2f9f3f2d4eb8fb23f626e992ec0.tar.gz |
Update to 4.4.2, and clean up massively. No longer creates the /var dirs,
and doesn't have a template .conf files (but many examples in
share/examples/fidogate). See documentation for changes.
Diffstat (limited to 'comms/fidogate/Makefile')
-rw-r--r-- | comms/fidogate/Makefile | 58 |
1 files changed, 33 insertions, 25 deletions
diff --git a/comms/fidogate/Makefile b/comms/fidogate/Makefile index 93bd9f80b28..a38a083ff8a 100644 --- a/comms/fidogate/Makefile +++ b/comms/fidogate/Makefile @@ -1,43 +1,51 @@ -# $NetBSD: Makefile,v 1.10 2001/02/16 13:56:12 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2001/02/22 03:00:14 tv Exp $ # -DISTNAME= fidogate-4.2.9 +DISTNAME= fidogate-4.4.2 CATEGORIES= comms MASTER_SITES= ftp://ftp.fido.de/pub/fidogate/ -MAINTAINER= tv@netbsd.org # aka "Todd Vierling" @ 1:396/1.5 +MAINTAINER= tv@netbsd.org HOMEPAGE= http://www.fido.de/fidogate/ COMMENT= FidoNet (FTN) <-> Internet mail and news gateway USE_GMAKE= yes USE_PERL5= yes -USE_LIBTOOL= yes -WRKSRC= ${WRKDIR}/fidogate INFO_FILES= fidogate.info +MAKE_ENV= PKGPREFIX=${PREFIX} DEBUG="${CFLAGS} -Werror" -pre-install: - ${INSTALL_DATA_DIR} -m 0755 ${PREFIX}/lib/fidogate +# This ugliness is because config.make is parsed by both make(1) and +# subst.pl, which does only simplistic substitution. +do-configure: + ${SED} -e 's,@PREFIX@,${PREFIX},g' \ + ${WRKSRC}/config.make >${WRKSRC}/config.make.new + ${MV} -f ${WRKSRC}/config.make.new ${WRKSRC}/config.make -post-install: +pre-build: + ${RM} -f ${WRKSRC}/doc/fidogate.info* + cd ${WRKSRC}/doc && makeinfo --no-split fidogate.texi && \ + ${TOUCH} fidogate.txt html/fidogate_toc.html + +pre-install: ${INSTALL_DATA_DIR} \ + ${PREFIX}/lib/fidogate \ + ${PREFIX}/lib/fidogate/bin \ + ${PREFIX}/share/doc/fidogate \ + ${PREFIX}/share/examples/fidogate \ ${PREFIX}/share/fidogate \ - ${PREFIX}/share/fidogate/inn \ - ${PREFIX}/share/fidogate/nodelist \ - ${PREFIX}/share/fidogate/scripts \ - ${PREFIX}/share/fidogate/sendmail - cd ${WRKSRC}/scripts/inn && \ - ${INSTALL_DATA} send-ffx send-fidogate viaffx ${PREFIX}/share/fidogate/inn/ - cd ${WRKSRC}/scripts/nodelist && \ - ${INSTALL_DATA} latest nl-2hosts nl-2routing nl-autoupd \ - nl-check nl-del nl-diff nl-html nl-isdn \ - nl-print template.html ${PREFIX}/share/fidogate/nodelist/ - cd ${WRKSRC}/scripts/outbound && \ - ${INSTALL_DATA} out-freq out-ls out-manip out-rm0 out-rmbsy ${PREFIX}/share/fidogate/scripts/ - cd ${WRKSRC}/scripts/run && \ - ${INSTALL_DATA} run1 run2 runffx runpoll ${PREFIX}/share/fidogate/scripts/ - cd ${WRKSRC}/sendmail/mailer && \ - ${INSTALL_DATA} ffx.m4 ftn.m4 ${PREFIX}/share/fidogate/sendmail/ - ${INSTALL_DATA} ${WRKSRC}/scripts/maintenance/rc.fidogate ${PREFIX}/etc/rc.d/fidogate + ${PREFIX}/share/fidogate/sendmail \ + ${PREFIX}/share/fidogate/sendmail/mailer + +post-install: + cd ${WRKSRC}/examples && for f in `${FIND} [m-p]* -type d`; do \ + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/fidogate/$$f; done + cd ${WRKSRC}/examples && for f in `${FIND} README [m-p]* -type f`; do \ + ${INSTALL_DATA} $$f ${PREFIX}/share/examples/fidogate/$$f; done + cd ${WRKSRC}/sendmail/mailer && ${INSTALL_DATA} ffx.m4 ftn.m4 \ + ${PREFIX}/share/fidogate/sendmail/mailer/ + ${INSTALL_SCRIPT} ${WRKSRC}/scripts/maintenance/rc.fidogate \ + ${PREFIX}/etc/rc.d/fidogate + ${INSTALL_DATA} ${WRKSRC}/doc/fidogate.txt ${PREFIX}/share/doc/fidogate/ .include "../../mk/bsd.pkg.mk" |