mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360901
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