789d75c728
-Update libtool and libltdl to 2.2.6a. -Remove devel/libtool15 and devel/libltdl15. -Fix ports build with libtool22/libltdl22. -Bump ports that depend on libltdl22 due to shared library version change. -Explain what to do update in the UPDATING. It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop and applications in the runtime. With help: marcus and kwm Pointyhat-exp: a few times by pav Tested by: pgollucci, "Romain Tartière" <romain@blogreen.org>, and a few MarcusCom CVS users. Also, I might have missed a few. Repocopy by: marcus Approved by: portmgr
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
# New ports collection makefile for: gdome2
|
|
# Date created: 7 July 2001
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gdome2
|
|
PORTVERSION= 0.8.1
|
|
PORTREVISION= 6
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://gdome2.cs.unibo.it/tarball/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Gnome DOM Engine
|
|
|
|
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
|
|
|
|
USE_AUTOTOOLS= libtool:22
|
|
USE_GNOME= glib20 gnomehack
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= GLIB_CONFIG="${LOCALBASE}/bin/pkg-config glib-2.0" \
|
|
CPPFLAGS="-I${LOCALBASE}/include"
|
|
PLIST_SUB= DOCSDIR="share/doc/${DISTNAME}"
|
|
USE_LDCONFIG= yes
|
|
|
|
MAN1= gdome-config.1
|
|
|
|
post-patch:
|
|
.ifndef(NOPORTDOCS)
|
|
@${REINPLACE_CMD} -E -e \
|
|
's,^(HTML_DIR *= *).*,\1\$$(prefix)/share/doc,' \
|
|
${WRKSRC}/gtk-doc/Makefile.in
|
|
.else
|
|
@${REINPLACE_CMD} '/gtk-doc/d' ${WRKSRC}/Makefile.in
|
|
.endif
|
|
|
|
@${FIND} ${WRKSRC} -type f -and \
|
|
'(' -name '*.[ch]' -or -name '*.xml' ')' | \
|
|
${XARGS} ${REINPLACE_CMD} -e ' \
|
|
s,<parser\.h>,<libxml/parser.h>,; \
|
|
s,<hash\.h>,<libxml/hash.h>,; \
|
|
s,<xmlmemory\.h>,<libxml/xmlmemory.h>,; \
|
|
s,<tree\.h>,<libxml/tree.h>,; \
|
|
s,<xmlerror\.h>,<libxml/xmlerror.h>,; \
|
|
s,<xmlIO\.h>,<libxml/xmlIO.h>,; \
|
|
s,<parserInternals\.h>,<libxml/parserInternals.h>,; \
|
|
s,<entities\.h>,<libxml/entities.h>,'
|
|
|
|
.include <bsd.port.mk>
|