2013-09-20 22:31:15 +00:00
|
|
|
# Created by: Tilman Linneweh <arved@FreeBSD.org>
|
2002-05-04 15:37:10 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= newscache
|
2004-11-03 14:10:58 +00:00
|
|
|
PORTVERSION= 1.2.r.6
|
2010-09-15 18:35:24 +00:00
|
|
|
PORTREVISION= 4
|
2002-05-04 15:37:10 +00:00
|
|
|
CATEGORIES= news
|
2006-09-17 16:56:05 +00:00
|
|
|
MASTER_SITES= http://src.linuxhacker.at/NewsCache/
|
2004-11-03 14:10:58 +00:00
|
|
|
DISTNAME= NewsCache-${PORTVERSION:S/.r./rc/}
|
2002-05-04 15:37:10 +00:00
|
|
|
|
2004-11-03 18:36:56 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 13:28:59 +00:00
|
|
|
COMMENT= NewsCache is a free cache server for USENET News
|
2002-05-04 15:37:10 +00:00
|
|
|
|
2013-12-27 10:11:07 +00:00
|
|
|
LIB_DEPENDS= libsocket++.so:${PORTSDIR}/net/libsocket++
|
2002-05-04 15:37:10 +00:00
|
|
|
|
2015-06-10 17:29:46 +00:00
|
|
|
USES= autoreconf
|
|
|
|
GNU_CONFIGURE= yes
|
2011-09-23 22:26:39 +00:00
|
|
|
CPPFLAGS+= ${CFLAGS} -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2006-01-04 21:49:12 +00:00
|
|
|
CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc
|
2012-08-05 23:19:36 +00:00
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
2002-05-04 15:37:10 +00:00
|
|
|
|
2015-06-10 17:29:46 +00:00
|
|
|
INFO= NewsCache
|
2003-05-14 17:34:06 +00:00
|
|
|
|
|
|
|
post-patch:
|
2013-12-27 10:11:07 +00:00
|
|
|
${REINPLACE_CMD} -e "s,-pedantic,," \
|
|
|
|
-e "s,^main,int main," \
|
|
|
|
${WRKSRC}/configure.in
|
2004-05-17 08:12:34 +00:00
|
|
|
|
2003-05-18 11:24:39 +00:00
|
|
|
.include <bsd.port.mk>
|