2002-05-04 17:37:10 +02:00
|
|
|
# New ports collection Makefile for: newscache
|
|
|
|
# Date created: 23 February 2002
|
2003-03-23 17:11:08 +01:00
|
|
|
# Whom: Tilman Linneweh <arved@FreeBSD.org>
|
2002-05-04 17:37:10 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= newscache
|
2004-11-03 15:10:58 +01:00
|
|
|
PORTVERSION= 1.2.r.6
|
2004-11-03 19:36:56 +01:00
|
|
|
PORTREVISION= 1
|
2002-05-04 17:37:10 +02:00
|
|
|
CATEGORIES= news
|
2004-11-03 15:10:58 +01:00
|
|
|
MASTER_SITES= http://www.linuxhacker.at/linux/downloads/src/
|
|
|
|
DISTNAME= NewsCache-${PORTVERSION:S/.r./rc/}
|
2002-05-04 17:37:10 +02:00
|
|
|
|
2004-11-03 19:36:56 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= NewsCache is a free cache server for USENET News
|
2002-05-04 17:37:10 +02:00
|
|
|
|
2003-05-14 19:34:06 +02:00
|
|
|
LIB_DEPENDS= socket[+][+].1:${PORTSDIR}/net/libsocket++
|
2002-05-04 17:37:10 +02:00
|
|
|
|
2005-06-05 00:51:49 +02:00
|
|
|
USE_AUTOMAKE_VER= 19
|
|
|
|
USE_AUTOHEADER_VER= 259
|
|
|
|
USE_AUTOCONF_VER= 259
|
2003-10-27 19:26:34 +01:00
|
|
|
USE_GETOPT_LONG= yes
|
2004-06-04 19:29:38 +02:00
|
|
|
USE_REINPLACE= yes
|
2003-10-27 19:26:34 +01:00
|
|
|
AUTOMAKE_ARGS= --add-missing
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
2004-11-03 19:36:56 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc
|
2002-05-04 17:37:10 +02:00
|
|
|
|
|
|
|
MAN5= newscache.conf.5
|
2003-05-14 19:34:06 +02:00
|
|
|
MAN8= newscache.8 newscacheclean.8 updatenews.8
|
2003-08-04 20:26:06 +02:00
|
|
|
INFO= NewsCache
|
2003-05-14 19:34:06 +02:00
|
|
|
|
|
|
|
post-patch:
|
2004-01-19 14:03:56 +01:00
|
|
|
${REINPLACE_CMD} -e "s,-pedantic,," ${WRKSRC}/configure.in
|
2004-05-17 10:12:34 +02:00
|
|
|
|
|
|
|
pre-configure:
|
2005-06-05 00:51:49 +02:00
|
|
|
(cd ${WRKSRC}; ${SETENV} ${SCRIPTS_ENV} ${SH} ./autogen)
|
2002-05-04 17:37:10 +02:00
|
|
|
|
2003-05-18 13:24:39 +02:00
|
|
|
.include <bsd.port.mk>
|