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

- Remove DOCS, NLS and EXAMPLES from OPTIONS_DEFAULT in my ports, as suggested by Porter's Handbook

This commit is contained in:
Dmitry Marakasov 2013-12-16 17:40:13 +00:00
parent 92d95b8d9e
commit ea3629c01a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336650
52 changed files with 9 additions and 56 deletions

View File

@ -27,7 +27,6 @@ CXXFLAGS+= -I${LOCALBASE}/include
PORTDOCS= *
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -22,7 +22,6 @@ PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
.include <bsd.port.options.mk>

View File

@ -32,7 +32,7 @@ CXXFLAGS+= -I${LOCALBASE}/include \
PORTDOCS= *
OPTIONS_DEFINE= JAVASCRIPT DOXYGEN DOCS
OPTIONS_DEFAULT=JAVASCRIPT DOCS
OPTIONS_DEFAULT=JAVASCRIPT
JAVASCRIPT_DESC=Enable javascript support
.include <bsd.port.options.mk>

View File

@ -15,7 +15,6 @@ PORTDOCS= *
PLIST_FILES= bin/${PORTNAME}
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -17,7 +17,6 @@ PLIST_FILES= bin/qRFCView
PORTDOCS= *
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/qRFCView ${STAGEDIR}${PREFIX}/bin/

View File

@ -30,7 +30,6 @@ GLIB_SCHEMAS= org.gnome.gitg.gschema.xml
LDFLAGS= -L${LOCALBASE}/lib
OPTIONS_DEFINE= NLS
OPTIONS_DEFAULT=NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE=nls

View File

@ -22,7 +22,6 @@ INFO= cflow
PLIST_FILES= bin/cflow
OPTIONS_DEFINE= NLS
OPTIONS_DEFAULT=NLS
.include <bsd.port.options.mk>

View File

@ -23,7 +23,6 @@ BUILD_WRKSRC= ${WRKSRC}/build/gnu
PORTDOCS= *
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
.include <bsd.port.options.mk>

View File

@ -28,7 +28,7 @@ DESKTOP_ENTRIES="Apricots" \
false
OPTIONS_DEFINE= DOCS OPENAL
OPTIONS_DEFAULT=DOCS OPENAL
OPTIONS_DEFAULT=OPENAL
.include <bsd.port.options.mk>

View File

@ -28,7 +28,6 @@ PORTDOCS= Readme Readme.elite
PORTDATA= *
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
post-extract:
@${FIND} ${WRKSRC}/Data -name '._*' -delete

View File

@ -23,7 +23,6 @@ PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
post-patch:
@${REINPLACE_CMD} -e 's|Content/|${DATADIR}/|' ${WRKSRC}/*.cpp

View File

@ -18,7 +18,6 @@ PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
post-patch:
.for dir in gfx levels snd

View File

@ -23,7 +23,6 @@ PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
post-patch:
@${REINPLACE_CMD} -e '/LIBS/ s|-lSDL_[a-z]*|& $${SDL_LIBS}|' ${WRKSRC}/configure

View File

@ -33,7 +33,7 @@ DESKTOP_ENTRIES="Caph" \
false
OPTIONS_DEFINE= DOCS OPTIMIZED_CFLAGS
OPTIONS_DEFAULT=DOCS OPTIMIZED_CFLAGS
OPTIONS_DEFAULT=OPTIMIZED_CFLAGS
.include <bsd.port.options.mk>

View File

@ -34,7 +34,6 @@ DESKTOP_ENTRIES="CRRCsim" \
""
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
post-patch:
@${REINPLACE_CMD} -e '/portaudio/ s|==|=|' ${WRKSRC}/configure

View File

@ -33,7 +33,6 @@ PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS NLS
OPTIONS_DEFAULT=DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext

View File

@ -38,7 +38,7 @@ DESKTOP_ENTRIES="Fish Fillets - Next Generation" \
false
OPTIONS_DEFINE= DOCS FRIBIDI
OPTIONS_DEFAULT=DOCS FRIBIDI
OPTIONS_DEFAULT=FRIBIDI
.include <bsd.port.pre.mk>

View File

@ -25,7 +25,6 @@ SUB_LIST= PROGRAM_DIR="${PREFIX}/lib/${PORTNAME}"
PORTDOCS= *
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
do-install:
cd ${WRKSRC} && ${COPYTREE_SHARE} "*.py data" ${STAGEDIR}${PREFIX}/lib/${PORTNAME}

View File

@ -32,7 +32,6 @@ DESKTOP_ENTRIES="Jigzo" \
false
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
.include <bsd.port.options.mk>

View File

@ -31,7 +31,6 @@ DESKTOP_ENTRIES="Me and My Shadow" \
false
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \

View File

@ -33,7 +33,6 @@ DESKTOP_ENTRIES="Meritous" \
false
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
post-patch:
@${REINPLACE_CMD} -e 's|dat/|${DATADIR}/|' ${WRKSRC}/src/*.c

View File

@ -14,7 +14,6 @@ PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
post-patch:
@${REINPLACE_CMD} -e 's|"levels|"${DATADIR}/levels|' \

View File

@ -22,6 +22,5 @@ PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
.include <bsd.port.mk>

View File

@ -28,7 +28,6 @@ PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
post-patch:
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/*.c

View File

@ -20,7 +20,6 @@ PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
post-patch:
@${REINPLACE_CMD} \

View File

@ -24,7 +24,6 @@ PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
post-patch:
@${CHMOD} a+x ${WRKSRC}/install-sh

View File

@ -31,7 +31,6 @@ CMAKE_ARGS= -Dlibclaw_DIR="${LOCALBASE}/share/libclaw/cmake" \
-DBEAR_NO_EDITOR=YES
OPTIONS_DEFINE= NLS
OPTIONS_DEFAULT=NLS
OPTIONS_SUB= yes
.include <bsd.port.options.mk>

View File

@ -29,7 +29,7 @@ DESKTOP_ENTRIES="Quantum Minigolf" \
false
OPTIONS_DEFINE= OPTIMIZED_CFLAGS DOCS
OPTIONS_DEFAULT=OPTIMIZED_CFLAGS DOCS
OPTIONS_DEFAULT=OPTIMIZED_CFLAGS
.include <bsd.port.options.mk>

View File

@ -35,7 +35,7 @@ PORTDOCS= *
OPTIONS_DEFINE= OPTIMIZED_CFLAGS DOCS
OPTIONS_MULTI= COMPONENTS
OPTIONS_MULTI_COMPONENTS=CLIENT DEDICATED
OPTIONS_DEFAULT=CLIENT DEDICATED OPTIMIZED_CFLAGS DOCS
OPTIONS_DEFAULT=CLIENT DEDICATED OPTIMIZED_CFLAGS
CLIENT_DESC= Build client
DEDICATED_DESC= Build dedicated server

View File

@ -25,7 +25,6 @@ PLIST_FILES= bin/remin
PLIST_DIRSTRY= %%DATADIR%%/data %%DATADIR%%
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
post-patch:
@${REINPLACE_CMD} -e 's|DATA|${DATADIR}/data|' ${WRKSRC}/main.cpp

View File

@ -24,7 +24,6 @@ PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
post-patch:
@${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/configure

View File

@ -37,7 +37,6 @@ DESKTOP_ENTRIES="Shotgun Debugger" \
""
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
.include <bsd.port.options.mk>

View File

@ -19,9 +19,6 @@ PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e '/crtdbg/ d' ${WRKSRC}/CmdLine.cpp

View File

@ -33,7 +33,6 @@ DESKTOP_ENTRIES="Spacejunk" \
false
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
.include <bsd.port.options.mk>

View File

@ -26,7 +26,6 @@ PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
post-patch:
@${REINPLACE_CMD} -e 's|__DATADIR|"${DATADIR}"|' \

View File

@ -27,7 +27,6 @@ PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
post-extract:
@${RM} ${WRKSRC}/data/.*Store

View File

@ -35,7 +35,6 @@ PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS NLS
OPTIONS_DEFAULT=DOCS NLS
OPTIONS_SUB= yes
NLS_CMAKE_OFF= -DDISABLE_TRANSLATIONS=ON

View File

@ -25,7 +25,6 @@ DESKTOP_ENTRIES="xtron" \
false
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xtronrc

View File

@ -30,7 +30,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= *
OPTIONS_DEFINE= JPEG JASPER LCMS MNG PNG TIFF EXR X11 SDL NVTT SIMD DOCS
OPTIONS_DEFAULT=JPEG JASPER LCMS MNG PNG TIFF EXR X11 SDL NVTT DOCS
OPTIONS_DEFAULT=JPEG JASPER LCMS MNG PNG TIFF EXR X11 SDL NVTT
OPTIONS_DEFAULT_amd64=SIMD
JPEG_DESC= Enable JPEG support

View File

@ -27,7 +27,7 @@ MAKE_ARGS+= top_builddir="${WRKSRC}"
PORTDOCS= *
OPTIONS_DEFINE= EXIV2 LCMS LIRC GPS DOCS
OPTIONS_DEFAULT=EXIV2 LCMS DOCS
OPTIONS_DEFAULT=EXIV2 LCMS
EXIV2_DESC= Metadata editing
LCMS_DESC= Color adjusting
LIRC_DESC= Remote control

View File

@ -22,7 +22,6 @@ USE_SDL= sdl
PORTDOCS= README ChangeLog
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
regression-test:
cd ${BUILD_WRKSRC} && ctest

View File

@ -23,7 +23,6 @@ USE_CSTD= gnu89
PORTEXAMPLES= *
OPTIONS_DEFINE= EXAMPLES HTMLDOCS
OPTIONS_DEFAULT=EXAMPLES
HTMLDOCS_DESC= Build and install HTML documentation
.include <bsd.port.options.mk>

View File

@ -27,7 +27,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= NVIDIA_Texture_Tools_README.txt ChangeLog
OPTIONS_DEFINE= COMPRESSUI DOCS
OPTIONS_DEFAULT=DOCS
COMPRESSUI_DESC=Build compressor UI (requires Qt4)

View File

@ -25,7 +25,6 @@ PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
OPTIONS_DEFAULT=DOCS EXAMPLES
.include <bsd.port.options.mk>

View File

@ -28,7 +28,6 @@ CONFIGURE_ARGS= --without-glew --with-fribidi
PORTDOCS= README
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -19,6 +19,5 @@ PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
PORTDOCS= *
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
.include <bsd.port.mk>

View File

@ -18,9 +18,6 @@ USE_LDCONFIG= yes
PORTDOCS= *
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|lrelease|&-qt4|' \

View File

@ -19,7 +19,6 @@ PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -22,7 +22,6 @@ USES= gettext gmake
PORTDOCS= AUTHORS NEWS README README.data TODO
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
post-patch:
@${REINPLACE_CMD} -e 's,/usr/bin/python,${SETENV} python,' ${WRKSRC}/metromap.py

View File

@ -21,7 +21,6 @@ USE_LDCONFIG= yes
PORTDOCS= *
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
.include <bsd.port.options.mk>

View File

@ -40,7 +40,7 @@ MAN8= makepkg.8 pacman-key.8 pacman.8 pkgdelta.8 repo-add.8 vercmp.8
MLINKS= repo-add.8 repo-remove.8
OPTIONS_DEFINE= CURL GPGME EXAMPLES NLS
OPTIONS_DEFAULT=CURL GPGME EXAMPLES NLS
OPTIONS_DEFAULT=CURL GPGME
CURL_DESC= Use libcurl fetcher instead of external curl/wget
GPGME_DESC= Use GPGME for PGP signature verification

View File

@ -18,7 +18,6 @@ PORTDATA= *
PORTDOCS= *
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
post-install:
cd ${WRKSRC}/documentation && ${COPYTREE_SHARE} '*' ${STAGEDIR}${DOCSDIR}/