1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Add missing EXAMPLES and DOCS to a couple ports that

already honour PORTDOCS and PORTEXAMPLES in the plist.
This commit is contained in:
Adam Weinberger 2014-07-15 20:00:43 +00:00
parent e237c4c757
commit 88a055c8b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361999
6 changed files with 13 additions and 3 deletions

View File

@ -20,7 +20,7 @@ INFO= m4
EXAMPLESDIR= share/examples/gm4
OPTIONS_DEFINE= LIBSIGSEGV
OPTIONS_DEFINE= LIBSIGSEGV EXAMPLES
LIBSIGSEGV_DESC= Use alternative page fault handler (GNU libsigsegv)
LIBSIGSEGV_LIB_DEPENDS= libsigsegv.so:${PORTSDIR}/devel/libsigsegv
LIBSIGSEGV_CONFIGURE_ON= --with-libsigsegv-prefix=${LOCALBASE}

View File

@ -22,6 +22,8 @@ USE_PYTHON_BUILD= yes
PLIST_FILES= bin/ninja
PORTDOCS= COPYING HACKING.md README manual.asciidoc
OPTIONS_DEFINE= DOCS
do-build:
@(cd ${WRKSRC} && \
CXX="${CXX}" CFLAGS="${CXXFLAGS}" ${PYTHON_CMD} bootstrap.py --verbose)

View File

@ -12,7 +12,7 @@ COMMENT= Minesweeper-style game for text-mode terminals
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
USES= gmake
USES= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-prefsdir=${DATADIR} \
--with-scoresdir=${DATADIR} \
@ -21,9 +21,11 @@ ALL_TARGET= ${PORTNAME}
PORTDOCS= CHANGES README
PLIST_FILES= bin/${PORTNAME} man/man6/${PORTNAME}.6.gz \
%%DATADIR%%/sweeprc %%DATADIR%%/sweeptimes
%%DATADIR%%/sweeprc %%DATADIR%%/sweeptimes
PLIST_DIRS= %%DATADIR%%
OPTIONS_DEFINE= DOCS
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}

View File

@ -17,6 +17,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
MAKE_ENV= datadir=${DATADIR} prefix=${PREFIX}
MAKE_ARGS= LD=${CC}
OPTIONS_DEFINE= DOCS
regression-test:
@ cd ${WRKSRC} && ${MAKE} check

View File

@ -24,6 +24,8 @@ PLIST_FILES= bin/portlint \
PORTEXAMPLES= portlintgrep
OPTIONS_DEFINE= EXAMPLES
pre-patch:
@${CP} -R ${SRC} ${WRKDIR}

View File

@ -18,4 +18,6 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>