blob: 16355caa9f7dcc27a43d778442de82bd42c6ad5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= xmlstarlet
PORTVERSION= 1.4.2
CATEGORIES= textproc
MASTER_SITES= SF/xmlstar/${PORTNAME}/${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Command Line XML Toolkit
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
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-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>
|