summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-07-06 13:43:10 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-07-06 13:43:10 +0000
commit6bd66cd9c4a09697e1f45705fea0fb2ff37baa0f (patch)
tree0a61fbd76011245875282dda7ae3d7bd96e53c89 /textproc
parent- Add staging support (diff)
Use options helpers for PLIST_FILES and PLIST_DIRS that avoid including options.mk before
bsd.gnome-references.mk which would lead in PKGCATEGORY not being set and thus break PKGORIGIN
Notes
Notes: svn path=/head/; revision=360901
Diffstat (limited to 'textproc')
-rw-r--r--textproc/libxml2-reference/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/textproc/libxml2-reference/Makefile b/textproc/libxml2-reference/Makefile
index e1ab5e7ff29a..1c57fbcaff60 100644
--- a/textproc/libxml2-reference/Makefile
+++ b/textproc/libxml2-reference/Makefile
@@ -12,13 +12,9 @@ MAKE_ARGS= DOC_MODULE=libxml2 EXAMPLES_DIR=${EXAMPLESDIR}
OPTIONS_DEFINE= EXAMPLES
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MEXAMPLES}
EXAMPLES= testHTML.c testSAX.c testXPath.c xmllint.c
-PLIST_FILES= ${EXAMPLES:S|^|%%EXAMPLESDIR%%/|}
-PLIST_DIRS= %%EXAMPLESDIR%%
-.endif
+EXAMPLES_PLIST_FILES= ${EXAMPLES:S|^|%%EXAMPLESDIR%%/|}
+EXAMPLES_PLIST_DIRS= %%EXAMPLESDIR%%
do-install:
.for d in . doc doc/examples