summaryrefslogtreecommitdiff
path: root/news/suck/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2001-03-17 13:16:14 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2001-03-17 13:16:14 +0000
commit9cbb1f268f204fa2daae6b26209b99a585c2ad64 (patch)
treec93224e6612a41fa983bd76bea208d731b454227 /news/suck/Makefile
parent- Updated to 1.18.248 (diff)
- Updated to 4.2.5
- New Master Site, Old Site is not accessible - included History-Check for cnews and inn2.2 PR: 25411 Submitted by: dinoex, greg@greg.rim.or.jp
Notes
Notes: svn path=/head/; revision=39968
Diffstat (limited to 'news/suck/Makefile')
-rw-r--r--news/suck/Makefile19
1 files changed, 17 insertions, 2 deletions
diff --git a/news/suck/Makefile b/news/suck/Makefile
index 6b3291ee011b..72de9d22ab7d 100644
--- a/news/suck/Makefile
+++ b/news/suck/Makefile
@@ -6,9 +6,10 @@
#
PORTNAME= suck
-PORTVERSION= 4.2.3
+PORTVERSION= 4.2.5
CATEGORIES= news
-MASTER_SITES= http://home.att.net/~bobyetman/
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= system/news/transport
MAINTAINER= jseger@FreeBSD.org
@@ -16,6 +17,20 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
MAN1= suck.1 rpost.1 testhost.1 lmove.1
+.if defined(NEWSBIN)
+EXTRA_PATCHES+= ${FILESDIR}/cnews.patch
+.else
+EXTRA_PATCHES+= ${FILESDIR}/inn2.patch
+BUILD_DEPENDS= /nonexistent:${PORTSDIR}/news/inn:configure
+.endif
+
+post-patch:
+ @${PERL5} -pi -e "s=/usr/local/=${LOCALBASE}/=" ${WRKSRC}/Makefile.in
+ @${PERL5} -pi -e "s=/usr/local/lib/suck=${PREFIX}/lib/suck=" \
+ ${WRKSRC}/suck_config.h
+ @${PERL5} -pi -e "s=/usr/local/news/lib=${LOCALBASE}/news/lib=" \
+ ${WRKSRC}/suck_config.h
+
post-install:
${MKDIR} ${PREFIX}/share/examples/suck
${INSTALL_SCRIPT} ${WRKSRC}/sample/get.news.inn ${PREFIX}/share/examples/suck