summaryrefslogtreecommitdiff
path: root/news/nntpcache/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'news/nntpcache/Makefile')
-rw-r--r--news/nntpcache/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/news/nntpcache/Makefile b/news/nntpcache/Makefile
index 642d058671df..b636af08735d 100644
--- a/news/nntpcache/Makefile
+++ b/news/nntpcache/Makefile
@@ -14,7 +14,7 @@ MASTER_SITES= ftp://nntpcache.org/pub/nntpcache/ \
MAINTAINER= ports@FreeBSD.org
-#BUILD_DEPENDS= pgp:${PORTSDIR}/security/pgp
+BUILD_DEPENDS= automake14:${PORTSDIR}/devel/automake14
# This may be set interactively at install-time. NNTPCache will
# cache news articles and related data in ${SPOOLDIR}/nntpcache.
@@ -31,6 +31,10 @@ MAN8= nntpcached.8 newshound.8
DOCS= AUTHORS ChangeLog FAQ FAQ.html HACKING HTML \
INSTALL LICENSING NEWS README README.INN VERSION
+post-patch:
+ @${PERL} -pi -e 's,AUTOMAKE=automake,AUTOMAKE=automake14,' \
+ ${WRKSRC}/configure
+
post-install:
@ ${MKDIR} ${PREFIX}/etc/rc.d
@ ${SED} -e 's#%%PREFIX%%#${PREFIX}#g' ${FILESDIR}/nntpcached.rc \