freebsd-ports/news/newscache/Makefile
Mathieu Arnold 8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00

30 lines
692 B
Makefile

# Created by: Tilman Linneweh <arved@FreeBSD.org>
# $FreeBSD$
PORTNAME= newscache
PORTVERSION= 1.2.r.6
PORTREVISION= 4
CATEGORIES= news
MASTER_SITES= http://src.linuxhacker.at/NewsCache/
DISTNAME= NewsCache-${PORTVERSION:S/.r./rc/}
MAINTAINER= ports@FreeBSD.org
COMMENT= NewsCache is a free cache server for USENET News
LIB_DEPENDS= libsocket++.so:net/libsocket++
USES= autoreconf
GNU_CONFIGURE= yes
CPPFLAGS+= ${CFLAGS} -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc
USE_RC_SUBR= ${PORTNAME}
INFO= NewsCache
post-patch:
${REINPLACE_CMD} -e "s,-pedantic,," \
-e "s,^main,int main," \
${WRKSRC}/configure.in
.include <bsd.port.mk>