aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/libxml++/Makefile
blob: 7e090a97ab0d8ec7784951ac224ca7b29da6f296 (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
# ex:ts=8
# New ports collection makefile for:    libxml++
# Date created:         Feb 26, 2001
# Whom:             Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   libxml++
PORTVERSION=    1.0.5
PORTREVISION=   1
CATEGORIES= textproc
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}

MAINTAINER= bland@FreeBSD.org
COMMENT=    XML API for C++

USE_GNOME=  gnomehack gnometarget libxml2 pkgconfig
GNU_CONFIGURE=  yes
INSTALLS_SHLIB= yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
post-patch:
    @${FIND} ${WRKSRC}/libxml++ -name *.h \
        | ${XARGS} ${REINPLACE_CMD} \
            -e 's|<istream>|<iostream>|' \
            -e 's|<ostream>|<iostream>|'

.endif

.include <bsd.port.post.mk>