summaryrefslogtreecommitdiff
path: root/news/suck/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2001-03-19 18:44:27 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2001-03-19 18:44:27 +0000
commite3a0f000b4cc00076a29811c32eb31c46feb2475 (patch)
tree242dd79574c42c98220a6f6cf4756424d21dc62a /news/suck/Makefile
parentWell.. add "@" to MAINTAINER. (diff)
- fix depends for INN
- upgraded depends from INN2.2 to INN2.3 - port now honors NOPORTDOCS
Notes
Notes: svn path=/head/; revision=40061
Diffstat (limited to 'news/suck/Makefile')
-rw-r--r--news/suck/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/news/suck/Makefile b/news/suck/Makefile
index 72de9d22ab7d..5f23edf44fc2 100644
--- a/news/suck/Makefile
+++ b/news/suck/Makefile
@@ -21,7 +21,8 @@ MAN1= suck.1 rpost.1 testhost.1 lmove.1
EXTRA_PATCHES+= ${FILESDIR}/cnews.patch
.else
EXTRA_PATCHES+= ${FILESDIR}/inn2.patch
-BUILD_DEPENDS= /nonexistent:${PORTSDIR}/news/inn:configure
+BUILD_DEPENDS+= /nonexistent:${PORTSDIR}/news/inn:configure
+BUILD_DEPENDS+= ${LOCALBASE}/news/lib/libinn.a:${PORTSDIR}/news/inn
.endif
post-patch:
@@ -32,10 +33,12 @@ post-patch:
${WRKSRC}/suck_config.h
post-install:
+.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/examples/suck
${INSTALL_SCRIPT} ${WRKSRC}/sample/get.news.inn ${PREFIX}/share/examples/suck
${INSTALL_SCRIPT} ${WRKSRC}/sample/get.news.generic ${PREFIX}/share/examples/suck
${INSTALL_SCRIPT} ${WRKSRC}/sample/put.news ${PREFIX}/share/examples/suck
${INSTALL_DATA} ${WRKSRC}/sample/*.sample ${PREFIX}/share/examples/suck
+.endif
.include <bsd.port.mk>