mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
c54010f434
- these include security/ sysutils/ textproc/ maintained by ports@ PR: ports/101916 Submitted by: Gea-Suan Lin <gslin_AT_gslin dot org>
43 lines
1.1 KiB
Makefile
43 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
|
|
PORTREVISION= 2
|
|
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.6:${PORTSDIR}/textproc/expat2
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
USE_AUTOTOOLS= automake:19 autoconf:259 libtool:15
|
|
AUTOMAKE_ARGS= -acf
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= 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>
|