- Update to 3.7

- add pre-fetch target for bento
- optimize configuration with option CNEWSSRC
This commit is contained in:
Dirk Meyer 2003-02-23 07:06:56 +00:00
parent e53b318dac
commit d1f93f65fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76233
2 changed files with 11 additions and 6 deletions

View file

@ -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>

View file

@ -1 +1 @@
MD5 (c-nocem-3.6.tar.gz) = cc9f47ddd70bec9922017c13ce00be9b
MD5 (c-nocem-3.7.tar.gz) = 3588efec2862bc61bdd5a8b09caaaab9