mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Remove DOCS, NLS and EXAMPLES from OPTIONS_DEFAULT in my ports, as suggested by Porter's Handbook
This commit is contained in:
parent
92d95b8d9e
commit
ea3629c01a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336650
@ -27,7 +27,6 @@ CXXFLAGS+= -I${LOCALBASE}/include
|
||||
PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
|
@ -22,7 +22,6 @@ PORTDOCS= *
|
||||
PORTDATA= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -15,7 +15,6 @@ PORTDOCS= *
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
|
@ -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/
|
||||
|
@ -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
|
||||
|
@ -22,7 +22,6 @@ INFO= cflow
|
||||
PLIST_FILES= bin/cflow
|
||||
|
||||
OPTIONS_DEFINE= NLS
|
||||
OPTIONS_DEFAULT=NLS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
|
@ -23,7 +23,6 @@ BUILD_WRKSRC= ${WRKSRC}/build/gnu
|
||||
PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
|
@ -28,7 +28,7 @@ DESKTOP_ENTRIES="Apricots" \
|
||||
false
|
||||
|
||||
OPTIONS_DEFINE= DOCS OPENAL
|
||||
OPTIONS_DEFAULT=DOCS OPENAL
|
||||
OPTIONS_DEFAULT=OPENAL
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
|
@ -28,7 +28,6 @@ PORTDOCS= Readme Readme.elite
|
||||
PORTDATA= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
post-extract:
|
||||
@${FIND} ${WRKSRC}/Data -name '._*' -delete
|
||||
|
@ -23,7 +23,6 @@ PORTDOCS= *
|
||||
PORTDATA= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|Content/|${DATADIR}/|' ${WRKSRC}/*.cpp
|
||||
|
@ -18,7 +18,6 @@ PORTDOCS= *
|
||||
PORTDATA= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
post-patch:
|
||||
.for dir in gfx levels snd
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
||||
|
@ -34,7 +34,6 @@ DESKTOP_ENTRIES="CRRCsim" \
|
||||
""
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/portaudio/ s|==|=|' ${WRKSRC}/configure
|
||||
|
@ -33,7 +33,6 @@ PORTDOCS= *
|
||||
PORTDATA= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS NLS
|
||||
OPTIONS_DEFAULT=DOCS NLS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
NLS_USES= gettext
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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}
|
||||
|
@ -32,7 +32,6 @@ DESKTOP_ENTRIES="Jigzo" \
|
||||
false
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
|
@ -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}|' \
|
||||
|
@ -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
|
||||
|
@ -14,7 +14,6 @@ PORTDOCS= *
|
||||
PORTDATA= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|"levels|"${DATADIR}/levels|' \
|
||||
|
@ -22,6 +22,5 @@ PORTDOCS= *
|
||||
PORTDATA= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -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
|
||||
|
@ -20,7 +20,6 @@ PORTDOCS= *
|
||||
PORTDATA= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} \
|
||||
|
@ -24,7 +24,6 @@ PORTDOCS= *
|
||||
PORTDATA= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
post-patch:
|
||||
@${CHMOD} a+x ${WRKSRC}/install-sh
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -24,7 +24,6 @@ PORTDOCS= *
|
||||
PORTDATA= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/configure
|
||||
|
@ -37,7 +37,6 @@ DESKTOP_ENTRIES="Shotgun Debugger" \
|
||||
""
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
|
@ -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
|
||||
|
@ -33,7 +33,6 @@ DESKTOP_ENTRIES="Spacejunk" \
|
||||
false
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
|
@ -26,7 +26,6 @@ PORTDOCS= *
|
||||
PORTDATA= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|__DATADIR|"${DATADIR}"|' \
|
||||
|
@ -27,7 +27,6 @@ PORTDOCS= *
|
||||
PORTDATA= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
post-extract:
|
||||
@${RM} ${WRKSRC}/data/.*Store
|
||||
|
@ -35,7 +35,6 @@ PORTDOCS= *
|
||||
PORTDATA= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS NLS
|
||||
OPTIONS_DEFAULT=DOCS NLS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
NLS_CMAKE_OFF= -DDISABLE_TRANSLATIONS=ON
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -22,7 +22,6 @@ USE_SDL= sdl
|
||||
PORTDOCS= README ChangeLog
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
regression-test:
|
||||
cd ${BUILD_WRKSRC} && ctest
|
||||
|
@ -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>
|
||||
|
@ -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)
|
||||
|
||||
|
@ -25,7 +25,6 @@ PORTDOCS= *
|
||||
PORTEXAMPLES= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
OPTIONS_DEFAULT=DOCS EXAMPLES
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
|
@ -28,7 +28,6 @@ CONFIGURE_ARGS= --without-glew --with-fribidi
|
||||
PORTDOCS= README
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
|
@ -19,6 +19,5 @@ PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
|
||||
PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -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|' \
|
||||
|
@ -19,7 +19,6 @@ PLIST_FILES= bin/${PORTNAME}
|
||||
PORTDOCS= README
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
|
@ -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
|
||||
|
@ -21,7 +21,6 @@ USE_LDCONFIG= yes
|
||||
PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -18,7 +18,6 @@ PORTDATA= *
|
||||
PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
post-install:
|
||||
cd ${WRKSRC}/documentation && ${COPYTREE_SHARE} '*' ${STAGEDIR}${DOCSDIR}/
|
||||
|
Loading…
Reference in New Issue
Block a user