aboutsummaryrefslogtreecommitdiffstats
path: root/news/newsx/Makefile
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-05-18 13:50:16 +0800
committerleeym <leeym@FreeBSD.org>2003-05-18 13:50:16 +0800
commit63f3ef032f9cf4b08ec0cec9f104f31c6c6bb15f (patch)
tree92740a83b915c7cf44feb8f3d99672160d5530ed /news/newsx/Makefile
parent5c94a8548030751d456339528addb26c6bc7f125 (diff)
downloadfreebsd-ports-gnome-63f3ef032f9cf4b08ec0cec9f104f31c6c6bb15f.tar.gz
freebsd-ports-gnome-63f3ef032f9cf4b08ec0cec9f104f31c6c6bb15f.tar.zst
freebsd-ports-gnome-63f3ef032f9cf4b08ec0cec9f104f31c6c6bb15f.zip
upgrading to 1.6-pre and unbreaking with inn-2.4.0
PR: 52385 Submitted by: Thierry Thomas <thierry@pompo.net>
Diffstat (limited to 'news/newsx/Makefile')
-rw-r--r--news/newsx/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/news/newsx/Makefile b/news/newsx/Makefile
index 930d3dcae1c2..0b789bafb670 100644
--- a/news/newsx/Makefile
+++ b/news/newsx/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= newsx
-PORTVERSION= 1.4.8
+PORTVERSION= 1.6
CATEGORIES= news
-MASTER_SITES= ftp://ftp.kvaleberg.com/pub/
-DISTNAME= ${PORTNAME}-${PORTVERSION:S/.8/pl6/}
+#MASTER_SITES= ftp://ftp.kvaleberg.com/pub/
+MASTER_SITES= http://home.powertech.no/egilkv/
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/$/pre/}
MAINTAINER= thierry@pompo.net
COMMENT= A program to fetch news from and post news to a remote NNTP server
@@ -20,22 +21,17 @@ BUILD_DEPENDS= ${LOCALBASE}/news/lib/libcnews.a:${PORTSDIR}/news/cnews
BUILD_DEPENDS= ${LOCALBASE}/news/lib/libinn.a:${PORTSDIR}/news/inn
.endif
-USE_AUTOMAKE= yes
USE_REINPLACE= yes
-CONFIGURE_ENV= PATH="${PATH}:${LOCALBASE}/news/bin"
.if !defined(WITH_CNEWS)
.if !defined(WITHOUT_INN_2-X)
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/news/include"
-CONFIGURE_ARGS= --with-newslib=${LOCALBASE}/news/lib
.endif
.endif
-HDR_DIR= ${LOCALBASE}/news/include
-
DOCS= AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README TODO
post-patch:
- @${REINPLACE_CMD} -e "s:%%LOCALBASE%%:${LOCALBASE}:" ${WRKSRC}/configure.in
+ @${REINPLACE_CMD} -e "s:%%LOCALBASE%%:${LOCALBASE}:g" ${WRKSRC}/configure
pre-configure:
@${ECHO} "*********************************************************"
@@ -45,6 +41,9 @@ pre-configure:
@${ECHO} "again."
@${ECHO} "*********************************************************"
+pre-install:
+ @${STRIP_CMD} ${WRKSRC}/src/newsx
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}