summaryrefslogtreecommitdiff
path: root/textproc/gdome2/Makefile
blob: c15e8bad786a3ed9d31c32922aa63dff15b59b59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $NetBSD: Makefile,v 1.15 2016/07/24 21:02:45 rillig Exp $

DISTNAME=	gdome2-0.8.1
PKGREVISION=	8
CATEGORIES=	devel
MASTER_SITES=	http://gdome2.cs.unibo.it/tarball/

MAINTAINER=	adam@NetBSD.org
HOMEPAGE=	http://gdome2.cs.unibo.it/
COMMENT=	Gnome DOM (Document Object Model) engine

USE_LIBTOOL=		yes
USE_TOOLS+=		pkg-config
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-html-dir=${DESTDIR}${PREFIX}/share/doc/gdome2
PKGCONFIG_OVERRIDE=	${WRKSRC}/gdome2.pc.in

SUBST_CLASSES+=		docdir
SUBST_STAGE.docdir=	pre-configure
SUBST_FILES.docdir=	gtk-doc/Makefile.in
SUBST_SED.docdir=	-e 's,^TARGET_DIR =.*,TARGET_DIR = $$(HTML_DIR),'

.include "../../devel/glib2/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"