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

Add DOCS to OPTIONS_DEFINE where PORTDOCS= is set.

This commit is contained in:
Adam Weinberger 2014-07-16 03:47:05 +00:00
parent e894c29ad5
commit cff70035fd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362027
42 changed files with 77 additions and 7 deletions

View File

@ -34,6 +34,8 @@ CONFIGURE_ENV+= flite_dir=${LOCALBASE}
PLIST_FILES= bin/eflite
PORTDOCS= AUTHORS CREDITS ChangeLog INSTALL README
OPTIONS_DEFINE= DOCS
pre-fetch:
.ifdef!(FL_LANG || FL_LEX || FL_VOX)
@${ECHO_MSG} "===> You can set FL_LANG, FL_LEX and/or FL_VOX"

View File

@ -19,6 +19,8 @@ PLIST_FILES= bin/deusf bin/deutex \
man/man6/${PORTNAME}.6.gz
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-extract:
@${REINPLACE_CMD} -e 's,-mkdir,mkdir -p,' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's,malloc\.h,stdlib.h,' ${WRKSRC}/src/tools.c

View File

@ -19,6 +19,8 @@ PORTDOCS= ChangeLog README TODO
PLIST_FILES= bin/lbrate \
man/man1/lbrate.1.gz
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lbrate ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/lbrate.1 ${STAGEDIR}${MAN1PREFIX}/man/man1

View File

@ -15,6 +15,8 @@ PLIST_FILES= bin/lbzip2 \
PORTDOCS= ChangeLog README
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lbzip2 ${STAGEDIR}${PREFIX}/bin/lbzip2
${INSTALL_MAN} ${WRKSRC}/lbzip2.1 ${STAGEDIR}${MAN1PREFIX}/man/man1

View File

@ -23,4 +23,6 @@ DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS= COPYING NEWS README THANKS TODO
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>

View File

@ -28,6 +28,8 @@ CFLAGS+= -D_LZMA_SIZE_OPT
.endif
PORTDOCS= 7zC.txt 7zFormat.txt Methods.txt history.txt lzma.txt
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/bool Open(LPCTSTR fileName, DWORD creationDisposition)/,/}/d'\
${WRKSRC}/CPP/7zip/Common/FileStreams.h

View File

@ -19,6 +19,8 @@ PLIST_FILES= bin/mtf
PORTDOCS= README
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mtf ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -27,6 +27,8 @@ CONFLICTS= par2cmdline-[0-9]*
PLIST_FILES= bin/par2 bin/par2create bin/par2repair bin/par2verify
OPTIONS_DEFINE= DOCS
post-extract:
@${CHMOD} u+x ${WRKSRC}/install-sh

View File

@ -19,6 +19,8 @@ CONFLICTS= par2cmdline-tbb-[0-9]*
PLIST_FILES= bin/par2 bin/par2create bin/par2repair bin/par2verify
OPTIONS_DEFINE= DOCS
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

View File

@ -22,6 +22,8 @@ PORTDOCS= README
run-autotools:: run-autotools-aclocal run-autotools-autoheader \
run-autotools-autoconf run-autotools-automake
OPTIONS_DEFINE= DOCS
pre-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README

View File

@ -28,6 +28,8 @@ PORTDOCS= BUGS COPYING LICENSE NEWS PROJECTS README\
PLIST_FILES= bin/upx \
man/man1/upx.1.gz
OPTIONS_DEFINE= DOCS
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/src/upx.out ${STAGEDIR}${PREFIX}/bin/upx
@${INSTALL_MAN} ${WRKSRC}/doc/upx.1 ${STAGEDIR}${MANPREFIX}/man/man1

View File

@ -19,6 +19,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME:S/-/_/}_Tool_${PORTVERSION:S/.//g}
PORTDOCS= HVS_file_format.txt HVSC_Update.txt SID_file_format.txt
PLIST_FILES= bin/${PORTNAME}
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/Update ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -21,6 +21,8 @@ WRKSRC= ${WRKDIR}/cd2mp3
PLIST_FILES= bin/cd2mp3
PORTDOCS= README
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/cd2mp3 ${STAGEDIR}${PREFIX}/bin/
${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -19,6 +19,8 @@ MAKE_ARGS= PREFIX="${STAGEDIR}${PREFIX}"
PORTDOCS= README
OPTIONS_DEFINE= DOCS
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}

View File

@ -23,6 +23,8 @@ PORTDOCS= NEWS README
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
'/^#!/s|/.*python|${SETENV} python|g' ${WRKSRC}/${PORTNAME}

View File

@ -17,6 +17,8 @@ PORTDOCS= README TODO
PLIST_FILES= bin/dtmfdial
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dial ${STAGEDIR}${PREFIX}/bin/dtmfdial
@${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -34,7 +34,7 @@ CONFIGURE_ARGS= --disable-appdata-validate \
PORTDOCS= HACKING THANKS TODO
OPTIONS_DEFINE= WAVPACK NLS OPUS SPEEX
OPTIONS_DEFINE= WAVPACK NLS OPUS SPEEX DOCS
OPTIONS_SINGLE= GTK
OPTIONS_SINGLE_GTK= GTK2 GTK3
OPTIONS_DEFAULT= GTK2 NLS

View File

@ -19,7 +19,7 @@ PORTDATA= *
USES= shebangfix
SHEBANG_FILES= *.pl
OPTIONS_DEFINE= GSTREAMER MPLAYER DBUS WEBKIT NLS LIBNOTIFY
OPTIONS_DEFINE= GSTREAMER MPLAYER DBUS WEBKIT NLS LIBNOTIFY DOCS
OPTIONS_DEFAULT=MPLAYER
LIBNOTIFY_DESC= Desktop notification

View File

@ -25,7 +25,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= ChangeLog NEWS README TODOandBUGS.txt TROUBLESHOOTING
OPTIONS_DEFINE= VORBIS FLAC CURL
OPTIONS_DEFINE= VORBIS FLAC CURL DOCS
OPTIONS_DEFAULT= VORBIS FLAC CURL
CURL_DESC= Cover art download support via libcurl

View File

@ -19,7 +19,7 @@ USE_SQLITE= yes
USE_LDCONFIG= yes
OPTIONS_DEFINE= AAC FLAC MP3 SHOUTCAST VORBIS JACK
OPTIONS_DEFINE= AAC FLAC MP3 SHOUTCAST VORBIS JACK DOCS
OPTIONS_DEFAULT= AAC FLAC MP3 SHOUTCAST VORBIS
OPTIONS_SUB= yes

View File

@ -20,7 +20,7 @@ PLIST_FILES= bin/id3ren man/man1/id3ren.1.gz
PORTDOCS= AUTHORS ChangeLog FEATURES FEEDBACK INSTALL PORTS \
README THANKS TODO USAGE
.include <bsd.port.options.mk>
OPTIONS_DEFINE= DOCS
pre-patch:
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \

View File

@ -22,6 +22,8 @@ LDFLAGS+= -L${LOCALBASE}/lib -lusb
PLIST_FILES= bin/ifp man/man1/ifp.1.gz
PORTDOCS= NEWS README TIPS nonroot.sh
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
'/LIBUSB/s|ERROR|WARN|' ${WRKSRC}/configure.ac

View File

@ -26,6 +26,8 @@ USES= gmake libtool pathfix pkgconfig
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|-ffast-math||g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|^Requires: |Requires.private: |' ${WRKSRC}/shout.pc.in

View File

@ -27,4 +27,6 @@ DOCSDIR= ${PREFIX}/usr/share/doc/${LINUX_NAME}-${PORTVERSION}
PORTDOCS= AUTHORS COPYING.LIB ChangeLog NEWS README TIPS TODO esound.sgml
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>

View File

@ -25,4 +25,6 @@ DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS= AUTHORS COPYING ChangeLog README
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>

View File

@ -24,4 +24,6 @@ DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS= AUTHORS CHANGES COPYING README
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>

View File

@ -27,4 +27,6 @@ DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS= AUTHORS COPYING README
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>

View File

@ -25,4 +25,6 @@ DOCSDIR= ${PREFIX}/usr/share/doc/${LINUX_NAME}-${PORTVERSION}
PORTDOCS= AUTHORS COPYING.LESSER COPYING.LIB NEWS README TODO
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>

View File

@ -25,4 +25,6 @@ DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS= FAQ HISTORY README TODO
DESCR= ${.CURDIR}/../nas/pkg-descr
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>

View File

@ -23,4 +23,6 @@ DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS= COPYING
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>

View File

@ -25,4 +25,6 @@ DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS= AUTHORS COPYING ChangeLog NOTES README TODO
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>

View File

@ -29,4 +29,6 @@ DOCSDIR= ${PREFIX}/usr/share/doc/${LINUX_NAME}-${PORTVERSION}
PORTDOCS= CHANGES COPYING README
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>

View File

@ -26,6 +26,8 @@ RESTRICTED= for non-commercial, non-military applications only
PLIST_FILES= bin/mbrola
PORTDOCS= readme.txt
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mbrola-linux-i386 ${STAGEDIR}${PREFIX}/bin/mbrola
@${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -13,7 +13,7 @@ COMMENT= MP3 technical info viewer and ID3 1.x tag editor
LICENSE= GPLv2
OPTIONS_DEFINE= GTK2
OPTIONS_DEFINE= GTK2 DOCS
GTK2_DESC= Enable to have the gmp3info
ALL_TARGET= mp3info

View File

@ -18,6 +18,8 @@ NO_WRKSUBDIR= yes
PORTDOCS= example.unix groupfile CHANGELOG MANUAL mp3table.sql README repl.dat TODO utf.dat
PLIST_FILES= bin/mp3riot
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mp3riot ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -27,7 +27,7 @@ PORTDOCS= AUTHORS README COPYING NEWS UPGRADING
SUB_FILES= pkg-message
OPTIONS_DEFINE= ID3TAG IPV6 ARCHIVE SAMPLERATE SQLITE3 \
CDPARANOIA LAME MMS VORBISENC
CDPARANOIA LAME MMS VORBISENC DOCS
OPTIONS_RADIO= ZEROCONF
OPTIONS_RADIO_ZEROCONF= AVAHI MDNSRESPONDER

View File

@ -27,6 +27,8 @@ DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
PORTDOCS= AUTHORS ChangeLog README
PLIST_FILES+= bin/eyeD3 man/man1/eyeD3.1.gz
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

View File

@ -26,6 +26,8 @@ DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
PORTDOCS= AUTHORS ChangeLog README.rst
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
${REINPLACE_CMD} -e 's/bash/sh/g' ${WRKSRC}/bin/eyeD3
post-install:

View File

@ -22,6 +22,8 @@ USE_GNOME= glib20
PLIST_FILES= bin/scmpc man/man1/scmpc.1.gz
PORTDOCS= NEWS README.md scmpc.conf.example
OPTIONS_DEFINE= DOCS
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

View File

@ -48,6 +48,8 @@ SUB_LIST+= DBDIR=${DBDIR} \
ETCDIR=${ETCDIR} \
LOGDIR=${LOGDIR}
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${ARCH} == "i386"

View File

@ -18,6 +18,8 @@ USES= desktop-file-utils tk
NO_BUILD= yes
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e '3s,^exec wish,exec ${WISH},' ${WRKSRC}/tkeca.tcl

View File

@ -20,6 +20,8 @@ MAKE_ARGS= CFLAGS="${CFLAGS}" INSDIR="${STAGEDIR}${PREFIX}/bin"
PLIST_FILES= bin/ttaenc
PORTDOCS= README
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/ifdef _BIG_ENDIAN/s|ifdef|if _BYTE_ORDER ==|' \
${WRKSRC}/ttaenc.h