diff options
author | cube <cube@pkgsrc.org> | 2003-11-14 21:19:03 +0000 |
---|---|---|
committer | cube <cube@pkgsrc.org> | 2003-11-14 21:19:03 +0000 |
commit | 1f0fe98a307d8da1cce3bf71e16275515d3aa24a (patch) | |
tree | 9c2f145d9b25078c3caf475a2193136f13be7fca /net/maradns/Makefile | |
parent | 49aad1564bec4df439412358e90556a4c60008ab (diff) | |
download | pkgsrc-1f0fe98a307d8da1cce3bf71e16275515d3aa24a.tar.gz |
o Better handling of pthreads dependency
o Fixes to make building and installing more easy
o Make MaraDNS actually look into ${PKG_SYSCONFDIR} for its configuration
file, thus bumping PKGREVISION.
Diffstat (limited to 'net/maradns/Makefile')
-rw-r--r-- | net/maradns/Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/net/maradns/Makefile b/net/maradns/Makefile index 2a5237ddaab..1ddc355b54e 100644 --- a/net/maradns/Makefile +++ b/net/maradns/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.4 2003/09/27 02:29:18 xtraeme Exp $ +# $NetBSD: Makefile,v 1.5 2003/11/14 21:19:03 cube Exp $ DISTNAME= maradns-1.0.18 +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.maradns.org/download/ EXTRACT_SUFX= .tar.bz2 @@ -12,15 +13,23 @@ COMMENT= Secure DNS server for *NIX systems USE_BUILDLINK2= yes USE_PKGINSTALL= yes RCD_SCRIPTS= maradns +HAS_CONFIGURE= yes +PTHREAD_OPTS+= require +MAKE_ENV+= LANGUAGE="en" EGDIR= ${PREFIX}/share/examples/maradns CONF_FILES= ${EGDIR}/example_mararc ${PKG_SYSCONFDIR}/mararc +post-patch: + ${SED} -e s,@@PKGSYSCONFDIR@@,${PKG_SYSCONFDIR}, \ + ${WRKSRC}/parse/ParseMaraRc.c > ${WRKSRC}/parse/ParseMaraRc.sed + ${MV} ${WRKSRC}/parse/ParseMaraRc.sed ${WRKSRC}/parse/ParseMaraRc.c + post-install: - ${MV} ${PREFIX}/doc/${DISTNAME} ${PREFIX}/share/doc/maradns - ${RMDIR} ${PREFIX}/doc ${MV} ${PREFIX}/share/doc/maradns/examples \ ${PREFIX}/share/examples/maradns .include "../../mk/pthread.buildlink2.mk" +LDFLAGS+= ${PTHREAD_LDFLAGS} + .include "../../mk/bsd.pkg.mk" |