mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
9aac569eaa
Where necessary add $FreeBSD$ to the file No PORTREVISION bump necessary because this is a no-op
38 lines
971 B
Makefile
38 lines
971 B
Makefile
# New ports collection Makefile for: newscache
|
|
# Date created: 23 February 2002
|
|
# Whom: 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= socket[+][+].1:${PORTSDIR}/net/libsocket++
|
|
|
|
USE_AUTOTOOLS= automake autoheader autoconf
|
|
AUTOMAKE_ARGS= --add-missing
|
|
CPPFLAGS+= ${CFLAGS} -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
|
|
MAN5= newscache.conf.5
|
|
MAN8= newscache.8 newscacheclean.8 updatenews.8
|
|
INFO= NewsCache
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s,-pedantic,," ${WRKSRC}/configure.in
|
|
|
|
pre-configure:
|
|
(cd ${WRKSRC}; ${SETENV} ${SCRIPTS_ENV} ${SH} ./autogen)
|
|
|
|
.include <bsd.port.mk>
|