aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-02-23 15:06:56 +0800
committerdinoex <dinoex@FreeBSD.org>2003-02-23 15:06:56 +0800
commitf384d86959f4e9e37af268a32cb8afcd1ee41d0b (patch)
treea649d04f8997d9538cc0323a90dd12d48575f036 /news
parentdde2b6a9e6880ca7e1eda85f3788bd734e758b4c (diff)
downloadfreebsd-ports-gnome-f384d86959f4e9e37af268a32cb8afcd1ee41d0b.tar.gz
freebsd-ports-gnome-f384d86959f4e9e37af268a32cb8afcd1ee41d0b.tar.zst
freebsd-ports-gnome-f384d86959f4e9e37af268a32cb8afcd1ee41d0b.zip
- Update to 3.7
- add pre-fetch target for bento - optimize configuration with option CNEWSSRC
Diffstat (limited to 'news')
-rw-r--r--news/c-nocem/Makefile15
-rw-r--r--news/c-nocem/distinfo2
2 files changed, 11 insertions, 6 deletions
diff --git a/news/c-nocem/Makefile b/news/c-nocem/Makefile
index 5f9620feb658..5da58420de1a 100644
--- a/news/c-nocem/Makefile
+++ b/news/c-nocem/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= c-nocem
-PORTVERSION= 3.6
+PORTVERSION= 3.7
CATEGORIES= news security
MASTER_SITES= http://sites.inka.de/~bigred/sw/ \
ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/
@@ -13,16 +13,17 @@ MASTER_SITES= http://sites.inka.de/~bigred/sw/ \
MAINTAINER= dinoex@FreeBSD.org
COMMENT= NoCeM for C News and INN
-BUILD_DEPENDS= ${WRKDIRPREFIX}${CNEWSSRC}/conf/substitutions:${PORTSDIR}/news/cnews:configure
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libcnews.a:${PORTSDIR}/news/cnews \
+BUILD_DEPENDS= ${CNEWSWRK}/conf/substitutions:${PORTSDIR}/${CNEWSSRC}:configure
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libcnews.a:${PORTSDIR}/${CNEWSSRC} \
gpg:${PORTSDIR}/security/gnupg
WRKSRC= ${WRKDIR}/c-nocem
-CNEWSSRC?= ${.CURDIR}/../cnews/work
+CNEWSSRC?= news/cnews
+CNEWSWRK?= ${WRKDIRPREFIX}${PORTSDIR}/${CNEWSSRC}/work
NEWSBIN?= ${PREFIX}/libexec/cnews
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-cnews=${WRKDIRPREFIX}${CNEWSSRC}
+CONFIGURE_ARGS+= --with-cnews=${CNEWSWRK}
PLIST_SUB+= NEWSBIN=${NEWSBIN:S=${PREFIX}/==}
.include <bsd.port.pre.mk>
@@ -31,4 +32,8 @@ PLIST_SUB+= NEWSBIN=${NEWSBIN:S=${PREFIX}/==}
USE_PERL5= yes
.endif
+pre-fetch:
+ (cd ${.CURDIR}/../cnews && \
+ ${SETENV} ${MAKE_ENV} ${MAKE} fetch)
+
.include <bsd.port.post.mk>
diff --git a/news/c-nocem/distinfo b/news/c-nocem/distinfo
index ff14e7808ca8..5eeb226c9bd6 100644
--- a/news/c-nocem/distinfo
+++ b/news/c-nocem/distinfo
@@ -1 +1 @@
-MD5 (c-nocem-3.6.tar.gz) = cc9f47ddd70bec9922017c13ce00be9b
+MD5 (c-nocem-3.7.tar.gz) = 3588efec2862bc61bdd5a8b09caaaab9