blob: c2edf4a114ce320b33505810d093f28b7e428064 (
plain) (
blame)
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
38
39
40
41
42
43
|
# ex:ts=8
# Ports collection makefile for: xmlstartlet
# Date created: Jun 30, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= xmlstarlet
PORTVERSION= 1.0.1
PORTREVISION= 1
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}
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
post-patch:
@${REINPLACE_CMD} -e "s|%%PTHREAD%%|${PTHREAD_LIBS}|g" \
${WRKSRC}/configure
.if !defined(NOPORTDOCS)
post-install:
${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
|