aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/xmlstarlet/Makefile
blob: f3c584a5f57cc34ee0a826e10d18836011b2e4d7 (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
# ex:ts=8
# Ports collection makefile for:    xmlstartlet
# Date created:         Jun 30, 2004
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   xmlstarlet
PORTVERSION=    1.0.1
CATEGORIES= textproc
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= xmlstar

MAINTAINER= ports@FreeBSD.org
COMMENT=    Command Line XML Toolkit

USE_GNOME=  libxslt
USE_ICONV=  yes
USE_REINPLACE=  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

post-patch:
    @${REINPLACE_CMD} -e "s|%%PTHREAD%%|${PTHREAD_LIBS}|g" \
        ${WRKSRC}/configure

.include <bsd.port.mk>