freebsd-ports/textproc/libxml2-reference/Makefile
Antoine Brodin a8dfb6bee8 - Stage support for all -reference ports
- Nuke NOPORTDOCS, those ports are already IGNOREd with NOPORTDOCS

Approved by:	kwm (maintainer)
2013-12-09 18:41:16 +00:00

23 lines
616 B
Makefile

# 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=
USES= gmake
.if !defined(NOPORTEXAMPLES)
EXAMPLES= testHTML.c testSAX.c testXPath.c xmllint.c
PLIST_FILES= ${EXAMPLES:S|^|%%EXAMPLESDIR%%/|}
PLIST_DIRS= %%EXAMPLESDIR%%
.endif
do-install:
.for d in . doc doc/devhelp doc/examples
@cd ${PARENT_WRKSRC}/${d} && ${GMAKE} ${MAKE_ARGS} install-data-local
.endfor
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"