summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-06-25 18:31:28 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-06-25 18:31:28 +0000
commit52a0e5017e5e24feef83d2eadaada1255632f0fa (patch)
tree85570d3db5586e8c26581d0e49cb1ac0b800a260 /news
parent* update devel/ptypes to 1.8.0 (diff)
- PATH to history is now set right by deafult
Notes
Notes: svn path=/head/; revision=83605
Diffstat (limited to 'news')
-rw-r--r--news/suck/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/news/suck/Makefile b/news/suck/Makefile
index b64c04d5b70f..23870b5929f6 100644
--- a/news/suck/Makefile
+++ b/news/suck/Makefile
@@ -7,6 +7,7 @@
PORTNAME= suck
PORTVERSION= 4.3.2
+PORTREVISION= 1
CATEGORIES= news
MASTER_SITES= http://www.sucknews.org/
@@ -53,9 +54,15 @@ post-patch:
${SED} -e "s=/usr/local/=${LOCALBASE}/=" \
${WRKSRC}/Makefile.in.sed > ${WRKSRC}/Makefile.in
@${MV} ${WRKSRC}/suck_config.h ${WRKSRC}/suck_config.h.sed
+.if defined(NEWSBIN) && !defined(SUCK_WITH_INN)
+ ${SED} -e "s=/usr/local/lib/suck=${PREFIX}/lib/suck=" \
+ -e "s=/usr/local/news/lib=${NEWSCTL}=" \
+ ${WRKSRC}/suck_config.h.sed > ${WRKSRC}/suck_config.h
+.else
${SED} -e "s=/usr/local/lib/suck=${PREFIX}/lib/suck=" \
-e "s=/usr/local/news/lib=${LOCALBASE}/news/lib=" \
${WRKSRC}/suck_config.h.sed > ${WRKSRC}/suck_config.h
+.endif
.if !defined(NOPORTDOCS)
post-install: