diff options
author | bapt <bapt@FreeBSD.org> | 2014-07-06 21:43:10 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-07-06 21:43:10 +0800 |
commit | d7863a357689d5cedaa27885d9b695173364d828 (patch) | |
tree | 0a61fbd76011245875282dda7ae3d7bd96e53c89 /textproc | |
parent | d912d3657c80a28996045dea7a7af262801e34ef (diff) | |
download | freebsd-ports-gnome-d7863a357689d5cedaa27885d9b695173364d828.tar.gz freebsd-ports-gnome-d7863a357689d5cedaa27885d9b695173364d828.tar.zst freebsd-ports-gnome-d7863a357689d5cedaa27885d9b695173364d828.zip |
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
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 |