forked from Lainports/freebsd-ports
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
34 lines
719 B
Makefile
34 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.5
|
|
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
|
|
USE_AUTOTOOLS= libtool:15
|
|
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>
|