forked from Lainports/freebsd-ports
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
This commit is contained in:
parent
be4c0abfa0
commit
6bd66cd9c4
1 changed files with 2 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue