2001-02-25 19:49:50 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: libxml++
|
|
|
|
# Date created: Feb 26, 2001
|
|
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2006-04-30 02:47:21 +02:00
|
|
|
# $MCom: ports/textproc/libxml++26/Makefile,v 1.13 2006/04/13 07:52:38 bland Exp $
|
2001-02-25 19:49:50 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libxml++
|
2006-04-30 02:47:21 +02:00
|
|
|
PORTVERSION= 2.14.0
|
2001-02-25 19:49:50 +01:00
|
|
|
CATEGORIES= textproc
|
2004-01-23 04:44:10 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2006-04-30 02:47:21 +02:00
|
|
|
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
|
2001-02-25 19:49:50 +01:00
|
|
|
|
2003-09-25 05:52:46 +02:00
|
|
|
MAINTAINER= bland@FreeBSD.org
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= XML API for C++
|
2001-02-25 19:49:50 +01:00
|
|
|
|
2004-08-14 11:21:00 +02:00
|
|
|
LIB_DEPENDS= glibmm-2.4.1:${PORTSDIR}/devel/glibmm
|
|
|
|
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
|
|
|
|
|
|
|
|
LATEST_LINK= libxml++26
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2004-09-30 07:32:00 +02:00
|
|
|
USE_GCC= 3.4
|
2005-03-12 12:32:14 +01:00
|
|
|
USE_GNOME= gnomehack gnometarget libxml2 pkgconfig
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2001-02-25 19:49:50 +01:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2006-04-30 02:47:21 +02:00
|
|
|
PLIST_SUB= VERSION="2.6" API_VERSION="2.6" DOC_VERSION=${PORTVERSION:R}
|
2003-11-12 06:26:05 +01:00
|
|
|
|
|
|
|
post-patch:
|
2004-08-14 11:21:00 +02:00
|
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS =/s/examples//' \
|
|
|
|
${WRKSRC}/Makefile.in
|
2005-11-08 09:07:26 +01:00
|
|
|
@${REINPLACE_CMD} -e '/^gentoo_ltmain_version=/s/`.*`/$$gentoo_lt_version/' \
|
|
|
|
${WRKSRC}/configure
|
2005-03-12 12:32:14 +01:00
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
@${REINPLACE_CMD} -E '/^SUBDIRS = /s/(docs|examples)//g' ${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-configure:
|
|
|
|
@${TOUCH} ${WRKSRC}/docs/reference/${PORTVERSION:R}/html/index.html
|
|
|
|
.endif
|
|
|
|
|
2004-08-14 11:21:00 +02:00
|
|
|
.include <bsd.port.mk>
|