From 6bd66cd9c4a09697e1f45705fea0fb2ff37baa0f Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sun, 6 Jul 2014 13:43:10 +0000 Subject: [PATCH] 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 --- textproc/libxml2-reference/Makefile | 8 ++------ 1 file 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 - -.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