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.
33 lines
780 B
Makefile
33 lines
780 B
Makefile
# New ports collection makefile for: libconfuse
|
|
# Date created: 18 September 2004
|
|
# Whom: Juraj Lutter <otis@sk.freebsd.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libconfuse
|
|
PORTVERSION= 2.5
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH} \
|
|
ftp://ftp.wilbury.sk/pub/FreeBSD/local/distfiles/
|
|
MASTER_SITE_SUBDIR= confuse
|
|
DISTNAME= confuse-${PORTVERSION}
|
|
|
|
MAINTAINER= otis@freebsd.sk
|
|
COMMENT= Configuration file parsing library
|
|
|
|
.if defined(WITH_CHECK)
|
|
LIB_DEPENDS+= ${LOCALBASE}/lib/libcheck.a:${PORTSDIR}/devel/libcheck
|
|
.endif
|
|
|
|
USE_ICONV= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
INSTALLS_SHLIB= yes
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
CFLAGS+= -I${WRKSRC}/src
|
|
.if defined(WITH_CHECK)
|
|
CONFIGURE_ARGS+= --with-check=${LOCALBASE}
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|