aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/libxml2-reference/Makefile
blob: d738084295d0b61f2c7bd0e3cb96924b27b8fbec (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
26
# Created by: Jean-Yves Lefort <jylefort@FreeBSD.org>
# $FreeBSD$

PORTREVISION=   0

BUILD_DEPENDS=  ${NONEXISTENT}:${PORTSDIR}/textproc/libxml2:configure

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

.if !defined(NOPORTEXAMPLES)
EXAMPLES=   testHTML.c testSAX.c testXPath.c xmllint.c
PLIST_FILES=    ${EXAMPLES:S|^|%%EXAMPLESDIR%%/|}
PLIST_DIRS= %%EXAMPLESDIR%%
.endif

NO_STAGE=   yes
do-install:
.if !defined(NOPORTDOCS)
.for d in . doc doc/devhelp doc/examples
    @cd ${PARENT_WRKSRC}/${d} && ${GMAKE} install-data-local
.endfor
.endif

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