ports/textproc/xmlstarlet/Makefile
Kirill Ponomarev 867562b789 Update to version 0.9.5
PR:		ports/75270
Submitted by:	Ports Fury
2004-12-20 13:19:39 +00:00

36 lines
872 B
Makefile

# ex:ts=8
# Ports collection makefile for: xmlstartlet
# Date created: Jun 30, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= xmlstarlet
PORTVERSION= 0.9.5
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= xmlstar
MAINTAINER= ports@FreeBSD.org
COMMENT= Command Line XML Toolkit
BUILD_DEPENDS= ${LOCALBASE}/lib/libxml2.a:${PORTSDIR}/textproc/libxml2 \
${LOCALBASE}/lib/libxslt.a:${PORTSDIR}/textproc/libxslt
USE_ICONV= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libxml-prefix=${LOCALBASE} \
--with-libxslt-prefix=${LOCALBASE} \
--with-libiconv-prefix=${LOCALBASE}
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -liconv"
MAN1= xmlstarlet.1
PLIST_FILES= bin/xml
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS|#CFLAGS|g ; \
s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
.include <bsd.port.mk>