summaryrefslogtreecommitdiff
path: root/textproc/libxml2-reference/Makefile
blob: 97152ce6a86b7857a5a53a217bf7ad0cba00709e (plain) (blame)
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
# New ports collection makefile for:	libxml2-reference
# Date created:				09 May 2006
# Whom:					Jean-Yves Lefort <jylefort@FreeBSD.org>
#
# $FreeBSD$
#

PORTREVISION=	0

BUILD_DEPENDS=	${NONEXISTENT}:${.CURDIR}/../libxml2:configure

PARENT_WRKSRC!=	cd ${.CURDIR}/../libxml2 && ${MAKE} -V WRKSRC
EXTRACT_ONLY=
USE_GMAKE=	yes

EXAMPLES=	testHTML.c testSAX.c testXPath.c xmllint.c
PLIST_FILES=	${EXAMPLES:S|^|%%EXAMPLESDIR%%/|}
PLIST_DIRS=	%%EXAMPLESDIR%%

do-install:
.for d in . doc doc/devhelp doc/examples
	@cd ${PARENT_WRKSRC}/${d} && ${GMAKE} install-data-local
.endfor

.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"