1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS.

This commit is contained in:
Adam Weinberger 2014-07-15 16:49:33 +00:00
parent 2e3438be2c
commit cd13c75523
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361973
3 changed files with 9 additions and 5 deletions

View File

@ -24,6 +24,8 @@ PORTDOCS= README AUTHORS
PLIST_FILES= lib/jpilot/plugins/libpicsnvideos.la \
lib/jpilot/plugins/libpicsnvideos.so
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:

View File

@ -35,6 +35,8 @@ MAKE_ARGS= PREFIX="${PREFIX}" RUBY="${RUBY}" \
EXAMPLESDIR= ${PREFIX}/share/examples/pkgtools
DOCSDIR= ${PREFIX}/share/doc/pkgtools
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.pre.mk>
INSTALL_TARGET= install

View File

@ -54,11 +54,11 @@ etc/pkgtools.status-pkg.sh
share/zsh/site-functions/_pkgtools
@dirrmtry share/zsh/site-functions
@dirrmtry share/zsh
%%EXAMPLESDIR%%/bash/complete.sample
%%EXAMPLESDIR%%/tcsh/complete.sample
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bash/complete.sample
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tcsh/complete.sample
%%PORTDOCS%%%%DOCSDIR%%/NEWS.md
%%PORTDOCS%%%%DOCSDIR%%/README.md
@dirrm %%EXAMPLESDIR%%/bash
@dirrm %%EXAMPLESDIR%%/tcsh
@dirrm %%EXAMPLESDIR%%
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/bash
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/tcsh
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%