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.
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# New ports collection makefile for: wbxml
|
|
# Date created: Nov 04, 2005
|
|
# Whom: Clemens Zauner <czauner+ports@onlineloop.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= wbxml2
|
|
PORTVERSION= 0.9.0
|
|
CATEGORIES= textproc devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
http://czauner.onlineloop.com/pub/FreeBSD/distfiles/
|
|
MASTER_SITE_SUBDIR= wbxmllib
|
|
DISTNAME= wbxml2-0.9.0-src
|
|
|
|
MAINTAINER= czauner+ports@onlineloop.com
|
|
COMMENT= Library & tools for converting wbxml<->xml
|
|
|
|
LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
USE_AUTOTOOLS= automake:19 autoconf:259 libtool:15
|
|
AUTOMAKE_ARGS= -acf
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_SHLIB= yes
|
|
USE_REINPLACE= yes
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lexpat"
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} "s,^CFLAGS,AM_CFLAGS," ${WRKSRC}/src/Makefile.am \
|
|
${WRKSRC}/Makefile.am ${WRKSRC}/tools/Makefile.am
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && \
|
|
${LIBTOOLIZE} --force --copy && \
|
|
${ACLOCAL} -I ${LOCALBASE}/share/aclocal && \
|
|
${AUTOHEADER} && \
|
|
${AUTOMAKE} --add-missing && \
|
|
${AUTOCONF}
|
|
|
|
.include <bsd.port.mk>
|