diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-07-06 13:43:10 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-07-06 13:43:10 +0000 |
commit | 6bd66cd9c4a09697e1f45705fea0fb2ff37baa0f (patch) | |
tree | 0a61fbd76011245875282dda7ae3d7bd96e53c89 /textproc | |
parent | be4c0abfa01a87ba12bcfa2985e519ebfc4d8290 (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/Makefile | 8 |
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 |