diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-02-23 07:06:56 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-02-23 07:06:56 +0000 |
commit | f384d86959f4e9e37af268a32cb8afcd1ee41d0b (patch) | |
tree | a649d04f8997d9538cc0323a90dd12d48575f036 /news/c-nocem/Makefile | |
parent | dde2b6a9e6880ca7e1eda85f3788bd734e758b4c (diff) | |
download | FreeBSD-ports-f384d86959f4e9e37af268a32cb8afcd1ee41d0b.zip FreeBSD-ports-f384d86959f4e9e37af268a32cb8afcd1ee41d0b.tar.gz |
- Update to 3.7
- add pre-fetch target for bento
- optimize configuration with option CNEWSSRC
Diffstat (limited to 'news/c-nocem/Makefile')
-rw-r--r-- | news/c-nocem/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/news/c-nocem/Makefile b/news/c-nocem/Makefile index 5f9620f..5da5842 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> |