summaryrefslogtreecommitdiff
path: root/news/nntpcache/Makefile
diff options
context:
space:
mode:
authormjl <mjl@pkgsrc.org>2000-06-21 12:50:28 +0000
committermjl <mjl@pkgsrc.org>2000-06-21 12:50:28 +0000
commit42a928422c61bdec7f0792585f60e851829acc72 (patch)
tree1b791fbea7b2cc96969bf2a8f7bc1799e4bfe8d6 /news/nntpcache/Makefile
parent66cb3cb0481cc9a5d5f15f5c2dc74ae8aa6fb6d7 (diff)
downloadpkgsrc-42a928422c61bdec7f0792585f60e851829acc72.tar.gz
Update to 2.4-b5. Changes are bugfixes only.
Diffstat (limited to 'news/nntpcache/Makefile')
-rw-r--r--news/nntpcache/Makefile26
1 files changed, 14 insertions, 12 deletions
diff --git a/news/nntpcache/Makefile b/news/nntpcache/Makefile
index 02dca341cd3..0599b7ce578 100644
--- a/news/nntpcache/Makefile
+++ b/news/nntpcache/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2000/02/20 06:53:59 proff Exp $
+# $NetBSD: Makefile,v 1.8 2000/06/21 12:50:28 mjl Exp $
# FreeBSD Id: Makefile,v 1.11 1998/02/01 03:04:11 itojun Exp
#
-DISTNAME= nntpcache-2.4.0b3
+DISTNAME= nntpcache-2.4.0b5
CATEGORIES= news
MASTER_SITES= ftp://ftp.nntpcache.org/pub/nntpcache/ \
ftp://ftp.fu-berlin.de/unix/news/nntpcache/ \
@@ -19,17 +19,9 @@ HOMEPAGE= http://www.nntpcache.org/
LICENSE= fee-based-commercial-use
# enable ldap support?
-NNTP_USE_LDAP= no
+NNTP_USE_LDAP?= no
# enable pgp signed nocem support?
-NNTP_USE_PGP= no
-
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --localstatedir=/var/spool
-CONFIGURE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-USE_GMAKE= yes
-
-INSTALL_TARGET= SUBDIRS="cf src filters http doc pgp contrib/newshound innreport scripts unixauth" \
- install
+NNTP_USE_PGP?= no
.if ${NNTP_USE_LDAP} == yes
DEPENDS+= openldap-*:../../databases/openldap
@@ -39,6 +31,16 @@ DEPENDS+= openldap-*:../../databases/openldap
DEPENDS+= pgp-2.*:../../security/pgp2
.endif
+BUILD_DEFS+= NNTP_USE_LDAP NNTP_USE_PGP
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --localstatedir=/var/spool
+CONFIGURE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+USE_GMAKE= yes
+
+INSTALL_TARGET= SUBDIRS="cf src filters http doc pgp contrib/newshound innreport scripts unixauth" \
+ install
+
post-configure:
@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \
${FILESDIR}/nntpcached.rc > ${WRKSRC}/nntpcached.sh