blob: 5da58420de1a410dbbf1680c7d5d61b5fb7e4d18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# New ports collection makefile for: c-nocem
# Date created: 19.May 1999
# Whom: dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
PORTNAME= c-nocem
PORTVERSION= 3.7
CATEGORIES= news security
MASTER_SITES= http://sites.inka.de/~bigred/sw/ \
ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/
MAINTAINER= dinoex@FreeBSD.org
COMMENT= NoCeM for C News and INN
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?= news/cnews
CNEWSWRK?= ${WRKDIRPREFIX}${PORTSDIR}/${CNEWSSRC}/work
NEWSBIN?= ${PREFIX}/libexec/cnews
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-cnews=${CNEWSWRK}
PLIST_SUB+= NEWSBIN=${NEWSBIN:S=${PREFIX}/==}
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 500000
USE_PERL5= yes
.endif
pre-fetch:
(cd ${.CURDIR}/../cnews && \
${SETENV} ${MAKE_ENV} ${MAKE} fetch)
.include <bsd.port.post.mk>
|