mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
54a0b86543
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
39 lines
1.0 KiB
Makefile
39 lines
1.0 KiB
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= 1
|
|
CATEGORIES= news
|
|
MASTER_SITES= http://www.linuxhacker.at/linux/downloads/src/
|
|
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:19 autoheader:259 autoconf:259
|
|
USE_GETOPT_LONG= yes
|
|
USE_REINPLACE= yes
|
|
AUTOMAKE_ARGS= --add-missing
|
|
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc
|
|
|
|
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>
|