1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/textproc/gdome2/Makefile
Cheng-Lung Sung c54010f434 - s,INSTALLS_SHLIB,USE_LDCONFIG,g
- these include security/ sysutils/ textproc/ maintained by ports@

PR:		ports/101916
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
2006-08-15 01:04:55 +00:00

45 lines
1.2 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= 4
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_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:
@${REINPLACE_CMD} -E -e \
's,^(HTML_DIR *= *).*,\1\$$(prefix)/share/doc,' \
${WRKSRC}/gtk-doc/Makefile.in
@${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>