de593ca400
- use XSLT_PARSE_OPTIONS, else CDATA nodes can cause corruption (Bug 3158482) - fix typo in help message - get rid of warnings in -ansi -pedantic mode - required libxml2 version is 2.6.23 - usage strings use argv[0] as program name - --help prints to stdout and exits with success - double /'s under msys to avoid path conversion
39 lines
890 B
Makefile
39 lines
890 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: xmlstartlet
|
|
# Date created: Jun 30, 2004
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xmlstarlet
|
|
PORTVERSION= 1.0.5
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= SF/xmlstar/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
|
COMMENT= Command Line XML Toolkit
|
|
|
|
USE_GNOME= libxslt
|
|
USE_ICONV= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-libxml-prefix=${LOCALBASE} \
|
|
--with-libxslt-prefix=${LOCALBASE} \
|
|
--with-libiconv-prefix=${LOCALBASE} \
|
|
--disable-static-libs
|
|
|
|
MAN1= xmlstarlet.1
|
|
PLIST_FILES= bin/xml
|
|
PORTDOCS= xmlstarlet.txt xmlstarlet.pdf xmlstarlet.ps \
|
|
xmlstarlet-man.html xmlstarlet-man.xml \
|
|
xmlstarlet-ug.html xmlstarlet-ug.pdf \
|
|
xmlstarlet-ug.ps xmlstarlet-ug.xml \
|
|
html.css
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
post-install:
|
|
${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|