aboutsummaryrefslogtreecommitdiff
path: root/news/newsx/Makefile
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-05-18 05:50:16 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-05-18 05:50:16 +0000
commita0cb0b0d0cdf17ae03421bb861cc26e7a5cc2808 (patch)
tree002165ce633c4810c6f1c50ac578efdc1b938442 /news/newsx/Makefile
parent49696be3f46d5469de8b4d4b1bea7daa55997275 (diff)
downloadports-a0cb0b0d0cdf17ae03421bb861cc26e7a5cc2808.tar.gz
ports-a0cb0b0d0cdf17ae03421bb861cc26e7a5cc2808.zip
upgrading to 1.6-pre and unbreaking with inn-2.4.0
PR: 52385 Submitted by: Thierry Thomas <thierry@pompo.net>
Notes
Notes: svn path=/head/; revision=81195
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}