aboutsummaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-02-23 07:06:56 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-02-23 07:06:56 +0000
commitd1f93f65fe15153f65c47de52ea28753d165b781 (patch)
tree18c641a90743498fc4ce599e16a83d536fc3ad08 /news
parente53b318dac7fbfda82ceca9af30fac7adbf93710 (diff)
downloadports-d1f93f65fe15153f65c47de52ea28753d165b781.tar.gz
ports-d1f93f65fe15153f65c47de52ea28753d165b781.zip
Notes
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