mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00: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
@ -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…
Reference in New Issue
Block a user