2013-01-01 23:56:39 +01:00
|
|
|
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
2004-06-30 04:29:25 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xmlstarlet
|
2015-11-03 23:29:29 +01:00
|
|
|
PORTVERSION= 1.6.1
|
2004-06-30 04:29:25 +02:00
|
|
|
CATEGORIES= textproc
|
2009-09-02 17:01:56 +02:00
|
|
|
MASTER_SITES= SF/xmlstar/${PORTNAME}/${PORTVERSION}
|
2004-06-30 04:29:25 +02:00
|
|
|
|
2008-11-16 15:04:45 +01:00
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
2004-06-30 04:29:25 +02:00
|
|
|
COMMENT= Command Line XML Toolkit
|
|
|
|
|
2013-01-01 23:56:39 +01:00
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2005-09-28 23:01:34 +02:00
|
|
|
USE_GNOME= libxslt
|
2013-04-27 20:25:24 +02:00
|
|
|
USES= iconv
|
2004-06-30 04:29:25 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-libxml-prefix=${LOCALBASE} \
|
|
|
|
--with-libxslt-prefix=${LOCALBASE} \
|
2013-09-04 22:01:05 +02:00
|
|
|
${ICONV_CONFIGURE_ARG} \
|
2011-01-17 07:53:18 +01:00
|
|
|
--disable-static-libs
|
2013-11-02 19:08:12 +01:00
|
|
|
PLIST_FILES= bin/xml man/man1/xmlstarlet.1.gz
|
2013-01-01 23:56:39 +01:00
|
|
|
PORTDOCS= xmlstarlet.txt \
|
|
|
|
xmlstarlet-man.xml \
|
2008-11-16 15:04:45 +01:00
|
|
|
xmlstarlet-ug.html xmlstarlet-ug.pdf \
|
|
|
|
xmlstarlet-ug.ps xmlstarlet-ug.xml \
|
|
|
|
html.css
|
2013-11-02 19:08:12 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2015-09-03 16:09:17 +02:00
|
|
|
post-install-DOCS-on:
|
2013-11-02 19:08:12 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
2008-11-16 15:04:45 +01:00
|
|
|
|
2004-06-30 04:29:25 +02:00
|
|
|
.include <bsd.port.mk>
|