3f651573ad
Begin autotools sanitization sequence by requiring ports to explicitly specify which version of {libtool,autoconf,automake} they need, erasing the concept of a "system default". For ports-in-waiting: USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13 USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213 USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14 Ports attempting to use the old style system after June 1st 2004 will be sorely disappointed.
35 lines
719 B
Makefile
35 lines
719 B
Makefile
# 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.2
|
|
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 lthack gnometarget libxml2 pkgconfig
|
|
USE_LIBTOOL_VER=13
|
|
USE_REINPLACE= 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>
|