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

Add DOCS option for ports with PORTDOCS in plist.

This commit is contained in:
Adam Weinberger 2014-07-16 03:00:46 +00:00
parent b0dffdff28
commit fa4bf2ee1d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362023
88 changed files with 197 additions and 91 deletions

View File

@ -18,6 +18,8 @@ DOCS= COPYING INSTALL README *.pdf
CFLAGS= ${CPPFLAGS}
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-run ${STAGEDIR}${PREFIX}/bin

View File

@ -16,6 +16,8 @@ NO_BUILD= yes
DOCS= CHANGELOG FAQ NEWS README TODO
EXAMPLES= test_archivemail examples/archivemail_all
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/archivemail ${STAGEDIR}${PREFIX}/bin/archivemail
${INSTALL_MAN} ${WRKSRC}/archivemail.1 ${STAGEDIR}${MANPREFIX}/man/man1

View File

@ -12,8 +12,8 @@ COMMENT= Fst Bayesian Mail Filter compatible with maildrop and procmail
HAS_CONFIGURE= yes
OPTIONS_DEFINE= BDB MYSQL DEBUG
OPTIONS_DEFAULT= BDB
OPTIONS_DEFINE= BDB MYSQL DEBUG DOCS
OPTIONS_DEFAULT=BDB
BDB_USE= BDB=40+
BDB_CONFIGURE_WITH= libdb

View File

@ -35,6 +35,8 @@ CONFIGURE_ENV= REHASH="${PERL} ${SCRIPTDIR}/c_rehash"
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS
post-extract:
@${MKDIR} ${WRKDIR}/ncursesw
${LN} -s ${LOCALBASE}/include/ncurses/ncurses.h ${WRKDIR}/ncursesw/curses.h

View File

@ -17,6 +17,8 @@ RUN_DEPENDS= gpg:${PORTSDIR}/security/gnupg
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
OPTIONS_DEFINE= DOCS
do-install:
(cd ${WRKSRC} && ./install ${STAGEDIR}${PREFIX}/bin)

View File

@ -60,7 +60,7 @@ OPTIONS_MULTI= AUTHLIB
AUTHLIB_DESC= Courier Auth Library support
.endif
OPTIONS_DEFINE+= DOVECOTAUTH FAM GDBM IDN MAILWRAPPER
OPTIONS_DEFINE+= DOVECOTAUTH FAM GDBM IDN MAILWRAPPER DOCS
DOVECOTAUTH_DESC= Dovecot Authentication support
MAILWRAPPER_DESC= Let configure guess which sendmail binary to use

View File

@ -20,6 +20,8 @@ RUBY_SETUP= install.rb
DOCS= NEWS README THANKS TODO doc
OPTIONS_DEFINE= DOCS
post-extract:
${FIND} ${WRKSRC} -name '*~' -delete

View File

@ -18,6 +18,8 @@ RUBY_SETUP= install.rb
DOCS= NEWS NOTES README THANKS TODO doc
OPTIONS_DEFINE= DOCS
post-extract:
${FIND} ${WRKSRC} -name '*~' -delete

View File

@ -1,27 +1,29 @@
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
PORTNAME= squirrelmail-decode
PORTNAME= squirrelmail-decode
PORTVERSION= 1.2
CATEGORIES= mail www
CATEGORIES= mail www
MASTER_SITES= SF/squirrelmail/decode/${PORTVERSION}
DIST_SUBDIR= squirrelmail
MAINTAINER= adamw@FreeBSD.org
COMMENT= Decoders to display extra character sets in SquirrelMail
MAINTAINER= adamw@FreeBSD.org
COMMENT= Decoders to display extra character sets in SquirrelMail
LICENSE= GPLv2
LICENSE= GPLv2
RUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail
USES= tar:bzip2
NO_BUILD= yes
USES= tar:bzip2
NO_BUILD= yes
DOCSDIR= ${PREFIX}/share/doc/squirrelmail/decode
DOCSDIR= ${PREFIX}/share/doc/squirrelmail/decode
# if you were using WITHOUT_WWWDIR, use SQUIRRELDIR=${PREFIX}/squirrelmail
SQUIRRELDIR?= ${PREFIX}/www/squirrelmail
PLIST_SUB= SQUIRRELDIR="${SQUIRRELDIR:S,^${PREFIX}/,,}"
PLIST_SUB= SQUIRRELDIR="${SQUIRRELDIR:S,^${PREFIX}/,,}"
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${SQUIRRELDIR}/functions/decode

View File

@ -25,7 +25,7 @@ USES= gettext tar:bzip2
WRKSRC= ${WRKDIR}/${PORTNAME}.stable/${PORTNAME}
OPTIONS_DEFINE= DATABASE LDAP
OPTIONS_DEFINE= DATABASE LDAP DOCS
DATABASE_DESC= PEAR database support (must also install a driver)
# if you were using WITHOUT_WWWDIR, use SQUIRRELDIR=${PREFIX}/squirrelmail
@ -37,9 +37,9 @@ USERS= ${SMUSER}
GROUPS= ${SMGROUP}
PLIST_SUB= PORTVERSION=${PORTVERSION} \
SQUIRRELDIR="${SQUIRRELDIR:S,^${PREFIX}/,,}" \
SMUSER=${SMUSER} \
SMGROUP=${SMGROUP}
SQUIRRELDIR="${SQUIRRELDIR:S,^${PREFIX}/,,}" \
SMUSER=${SMUSER} \
SMGROUP=${SMGROUP}
SUB_FILES= pkg-message
SUB_LIST= SQUIRRELDIR=${SQUIRRELDIR} SMUSER=${SMUSER} SMGROUP=${SMGROUP}

View File

@ -13,9 +13,8 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Python-based SPAM reduction system
.if defined(WITH_CDB)
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/cdbmodule.so:${PORTSDIR}/databases/py-cdb
.endif
OPTIONS_DEFINE= CDB DOCS EXAMPLES
CDB_RUN_DEPENDS=${PYTHON_SITELIBDIR}/cdbmodule.so:${PORTSDIR}/databases/py-cdb
USE_PYTHON= yes

View File

@ -100,33 +100,33 @@ bin/tmda-sendmail
@dirrm %%PYTHON_SITELIBDIR%%/TMDA/pythonlib
@dirrm %%PYTHON_SITELIBDIR%%/TMDA/Queue
@dirrm %%PYTHON_SITELIBDIR%%/TMDA
%%EXAMPLESDIR%%/collectaddys
%%EXAMPLESDIR%%/def2html
%%EXAMPLESDIR%%/dot-tmda/README
%%EXAMPLESDIR%%/dot-tmda/config
%%EXAMPLESDIR%%/dot-tmda/crypt_key
%%EXAMPLESDIR%%/dot-tmda/filters/incoming
%%EXAMPLESDIR%%/dot-tmda/filters/outgoing
%%EXAMPLESDIR%%/dot-tmda/lists/blacklist
%%EXAMPLESDIR%%/dot-tmda/lists/confirmed
%%EXAMPLESDIR%%/dot-tmda/lists/whitelist
%%EXAMPLESDIR%%/printcdb
%%EXAMPLESDIR%%/printdbm
%%EXAMPLESDIR%%/sendit.sh
%%EXAMPLESDIR%%/smtp-check-sender
%%EXAMPLESDIR%%/tmda.el
%%EXAMPLESDIR%%/tofmipd.init
%%EXAMPLESDIR%%/tofmipd.sysconfig
%%EXAMPLESDIR%%/update-internaldomains
%%EXAMPLESDIR%%/vadduser-tmda
%%EXAMPLESDIR%%/vmailmgr-vdir.sh
%%EXAMPLESDIR%%/vpopmail-vdir.sh
%%EXAMPLESDIR%%/vtmdarc
%%EXAMPLESDIR%%/wrapfd3.sh
@dirrm %%EXAMPLESDIR%%/dot-tmda/lists
@dirrm %%EXAMPLESDIR%%/dot-tmda/filters
@dirrm %%EXAMPLESDIR%%/dot-tmda
@dirrm %%EXAMPLESDIR%%
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/collectaddys
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/def2html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot-tmda/README
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot-tmda/config
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot-tmda/crypt_key
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot-tmda/filters/incoming
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot-tmda/filters/outgoing
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot-tmda/lists/blacklist
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot-tmda/lists/confirmed
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot-tmda/lists/whitelist
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/printcdb
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/printdbm
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sendit.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/smtp-check-sender
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tmda.el
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tofmipd.init
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tofmipd.sysconfig
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/update-internaldomains
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vadduser-tmda
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vmailmgr-vdir.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vpopmail-vdir.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vtmdarc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wrapfd3.sh
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/dot-tmda/lists
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/dot-tmda/filters
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/dot-tmda
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%DATADIR%%/bounce_expired_dated.txt
%%DATADIR%%/bounce_fail_dated.txt
%%DATADIR%%/bounce_fail_keyword.txt

View File

@ -17,6 +17,8 @@ PLIST_SUB= DOCSDIR="share/doc/${PORTNAME}" DATADIR="share/${PORTNAME}"
DOCSLIST= NOTES readme
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|operm5\.cov|${DATADIR}/operm5.cov|g;' \
${WRKSRC}/cdoperm5.c

View File

@ -25,6 +25,8 @@ HAS_CONFIGURE= YES
MAKE_JOBS_UNSAFE= yes
WRKSRC= ${WRKDIR}/gsl-ocaml-${PORTVERSION}
OPTIONS_DEFINE= DOCS
post-configure:
@${ECHO_CMD} 'stagedir="${STAGEDIR}"' >> ${WRKSRC}/setup.data
@${ECHO_CMD} 'docdir="$$datarootdir/doc/ocaml/$$pkg_name"' >> ${WRKSRC}/setup.data

View File

@ -19,6 +19,8 @@ LIB_DEPENDS+= libmpi.so:${PORTSDIR}/net/openmpi
USES= gmake
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} 's|make|$$(MAKE)|g' ${WRKSRC}/Makefile
#respect CFLAGS

View File

@ -21,6 +21,8 @@ EXAMPLES= bitset.php example.php rand.php RSA.php std_header.php
CONFIGURE_ARGS= --enable-big-int=shared
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}

View File

@ -3,10 +3,10 @@
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%EXAMPLESDIR%%/RSA.php
%%PORTDOCS%%%%EXAMPLESDIR%%/bitset.php
%%PORTDOCS%%%%EXAMPLESDIR%%/example.php
%%PORTDOCS%%%%EXAMPLESDIR%%/rand.php
%%PORTDOCS%%%%EXAMPLESDIR%%/std_header.php
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/RSA.php
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bitset.php
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.php
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rand.php
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/std_header.php
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%

View File

@ -15,6 +15,8 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= NZMATH
OPTIONS_DEFINE= DOCS
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/data/discriminant.csv ${STAGEDIR}${DATADIR}

View File

@ -23,6 +23,8 @@ PYDISTUTILS_AUTOPLIST= yes
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/LICENSE ${STAGEDIR}${DOCSDIR}

View File

@ -29,6 +29,8 @@ CONFIGURE_ARGS+= --with-narray-include=${LOCALBASE}/lib/ruby/gems/${RUBY_VER}/ge
DOCS= LICENSE.txt doc/*
OPTIONS_DEFINE= DOCS
post-install:
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
.for f in ${DOCS}

View File

@ -24,6 +24,8 @@ CONFIGURE_ARGS= -- --with-opt-dir="${LOCALBASE}"
DOCS= AUTHORS ChangeLog THANKS rdoc
OPTIONS_DEFINE= DOCS
post-extract:
${FIND} ${WRKSRC} '(' -name '.DS_Store' -o -name '*~' ')' -delete

View File

@ -24,6 +24,8 @@ MAKE_ARGS= INSTALL_PROG="${INSTALL_PROGRAM}" \
DOC_EN= ChangeLog README.en SPEC.en
DOC_JA= README.ja SPEC.ja
OPTIONS_DEFINE= DOCS
post-install:
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
.for f in ${DOC_EN}

View File

@ -17,6 +17,8 @@ MAKE_ENV+= LIBCGETOPT=0
DOCS= Changelog README
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e 's|CC=gcc|CC=${CC}|' ${WRKSRC}/Makefile

View File

@ -26,7 +26,7 @@ INSTALL_TARGET= install-strip
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= SMB
OPTIONS_DEFINE= SMB DOCS
.include <bsd.port.options.mk>

View File

@ -18,6 +18,8 @@ NO_BUILD= yes
RUBY_RD_FILES= progressbar.en.rd progressbar.ja.rd
DOCS= ChangeLog ${RUBY_RD_FILES}
OPTIONS_DEFINE= DOCS
do-install:
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTNAME}.rb ${STAGEDIR}${RUBY_SITELIBDIR}

View File

@ -13,6 +13,8 @@ COMMENT= File viewer for terminal
USES= gmake
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/tcb ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${PREFIX}/share/tcb

View File

@ -28,7 +28,7 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DOCS= DOCS
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS/s| desktop-links docs | |' \

View File

@ -20,6 +20,8 @@ USE_XORG= xpm
USES= gmake shebangfix
SHEBANG_FILES= GrabScores.excite
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmScoreBoard ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/GrabScores.excite ${STAGEDIR}${PREFIX}/bin

View File

@ -24,6 +24,8 @@ INSTALLS_OMF= yes
INSTALLS_ICONS= yes
USE_GNOME= gnomehack gnomeprefix gtkhtml3 intlhack libgsf
OPTIONS_DEFINE= DOCS
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./waf configure \
--prefix=${STAGEDIR}${PREFIX} --destdir=${STAGEDIR}${PREFIX} \

View File

@ -11,6 +11,8 @@ COMMENT= DOS-XTREE(tm) look-a-like file manager
ALL_TARGET= ytree
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ytree ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/ytree.conf ${STAGEDIR}${PREFIX}/etc/ytree.conf.sample

View File

@ -16,6 +16,8 @@ USE_GNOME= pygnomedesktop
USE_PYTHON= yes
USE_PYDISTUTILS= yes
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|Icon=.*|Icon=arista.svg|g' \
${WRKSRC}/arista.desktop

View File

@ -23,7 +23,7 @@ INSTALL_TARGET= install-strip
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= IMLIB2 PIXBUF V4L
OPTIONS_DEFINE= IMLIB2 PIXBUF V4L DOCS
OPTIONS_DEFAULT=IMLIB2
OPTIONS_SUB= yes

View File

@ -43,7 +43,7 @@ DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
OPTIONS_DEFINE= AACPLUS ALSA AMR_NB AMR_WB CELT DEBUG DIRAC FAAC \
FFSERVER FREETYPE FREI0R GSM LAME OPENCV OPENJPEG \
OPTIMIZED_CFLAGS RTMP SCHROEDINGER SDL SPEEX THEORA VAAPI \
VDPAU VO_AACENC VO_AMRWBENC VORBIS VPX X11GRAB X264 XVID
VDPAU VO_AACENC VO_AMRWBENC VORBIS VPX X11GRAB X264 XVID DOCS
OPTIONS_DEFAULT= FFSERVER FREETYPE FREI0R OPENCV SCHROEDINGER THEORA \
VORBIS VPX X264 XVID

View File

@ -17,7 +17,7 @@ LIB_DEPENDS= libgavl.so:${PORTSDIR}/multimedia/gavl
OPTIONS_DEFINE= A52 CDIO DCA DVDREAD FAAD FFMPEG FLAC GMERLIN MAD \
MJPEGTOOLS MPEG2 MUSEPACK OPENJPEG OPTIMIZED_CFLAGS PNG \
SAMBA SCHROEDINGER SPEEX THEORA TIFF VDPAU VORBIS
SAMBA SCHROEDINGER SPEEX THEORA TIFF VDPAU VORBIS DOCS
OPTIONS_DEFAULT= A52 CDIO DCA DVDREAD FAAD FFMPEG FLAC GMERLIN MAD \
MJPEGTOOLS MPEG2 MUSEPACK OPENJPEG OPTIMIZED_CFLAGS PNG \
SAMBA SCHROEDINGER SPEEX THEORA TIFF VDPAU VORBIS

View File

@ -34,7 +34,7 @@ LDFLAGS+= -L${LOCALBASE}/lib `pkg-config --libs gtk+-x11-2.0`
INFO= gmerlin
OPTIONS_DEFINE= ALSA CDDB CDIO ESOUND JACK JPEG LIBVISUAL \
OPTIMIZED_CFLAGS PNG PULSEAUDIO QUICKTIME TIFF
OPTIMIZED_CFLAGS PNG PULSEAUDIO QUICKTIME TIFF DOCS
OPTIONS_DEFAULT= CDDB CDIO JACK JPEG LIBVISUAL \
OPTIMIZED_CFLAGS PNG PULSEAUDIO QUICKTIME TIFF
OPTIONS_SUB= yes

View File

@ -17,7 +17,7 @@ INSTALL_TARGET= install-strip
USES= gmake libtool pathfix tar:bzip2
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOXYGEN
OPTIONS_DEFINE= DOXYGEN DOCS
.include <bsd.port.options.mk>

View File

@ -46,6 +46,8 @@ DOCS= Changelog.de Changelog.en Changelog.fr \
README.dvdwizard.DE README.dvdwizard.EN README.dvdwizard.FR \
TODO freebsd.doc
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${REINPLACE_CMD} -E \
-e 's|playwave[[:space:]]+-r[[:space:]]+|wavplay -s|' \

View File

@ -7,9 +7,9 @@ bin/vamps_lxdvdrip
etc/lxdvdrip.conf.sample
@exec [ -f %B/lxdvdrip.conf ] || cp %B/%f %B/lxdvdrip.conf
%%DATADIR%%/lxdvdrip.wav
%%EXAMPLESDIR%%/lxdvdrip.conf.DE
%%EXAMPLESDIR%%/lxdvdrip.conf.EN
%%EXAMPLESDIR%%/lxdvdrip.conf.FR
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lxdvdrip.conf.DE
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lxdvdrip.conf.EN
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lxdvdrip.conf.FR
man/man1/lxdvdrip.1.gz
%%PORTDOCS%%%%DOCSDIR%%/Changelog.de
%%PORTDOCS%%%%DOCSDIR%%/Changelog.en
@ -24,4 +24,4 @@ man/man1/lxdvdrip.1.gz
%%PORTDOCS%%%%DOCSDIR%%/freebsd.doc
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%DATADIR%%
@dirrm %%EXAMPLESDIR%%
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%

View File

@ -41,6 +41,8 @@ PROGRAM_FILES= \
SCRIPT_FILES= \
pgm2txt
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${REINPLACE_CMD} -E \
-e 's|^(CC[[:space:]]*=).*$$|\1${CC}|' \

View File

@ -17,7 +17,7 @@ JAVA_VERSION= 1.7+
JAVA_VENDOR= openjdk
JAVA_RUN= true
OPTIONS_DEFINE= MEDIAINFO FLAC DCRAW TSMUXER FFMPEG MPLAYER VLC MENCODER
OPTIONS_DEFINE= MEDIAINFO FLAC DCRAW TSMUXER FFMPEG MPLAYER VLC MENCODER DOCS
OPTIONS_DEFAULT= MEDIAINFO FLAC DCRAW
MEDIAINFO_DESC= Metadata information about video & audio files

View File

@ -76,7 +76,7 @@ DESKTOP_ENTRIES="XBMC" \
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}-Gotham
OPTIONS_SUB= yes
OPTIONS_DEFINE= AIRPLAY AIRTUNES AVAHI CEC LAME \
OPTIONS_DEFINE= AIRPLAY AIRTUNES AVAHI CEC DOCS LAME \
LIBBLURAY HAL LIRC MYSQL NONFREE PULSEAUDIO RTMP SFTP \
SMB VAAPI VDPAU VORBIS WEBSERVER XRANDR
AIRPLAY_DESC= AirPlay support via libplist

View File

@ -21,6 +21,8 @@ USES= gmake
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
DOCS= COPYING ChangeLog INSTALL README TODO
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/Makefile

View File

@ -16,7 +16,7 @@ USES= gmake pkgconfig
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= ICONV P2P TCL OTR REMOTE XMPP
OPTIONS_DEFINE= ICONV P2P TCL OTR REMOTE XMPP DOCS
OPTIONS_DEFAULT=ICONV P2P TCL OTR REMOTE
P2P_DESC= Enable Peer2peer connection support
OTR_DESC= Enable OTR encryption support

View File

@ -22,7 +22,7 @@ LIB_DEPENDS= libpopt.so:${PORTSDIR}/devel/popt \
libgnutls.so:${PORTSDIR}/security/gnutls \
libexpat.so:${PORTSDIR}/textproc/expat2
OPTIONS_DEFINE= IPV6 MYSQL PGSQL
OPTIONS_DEFINE= IPV6 MYSQL PGSQL DOCS
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip

View File

@ -15,7 +15,7 @@ LICENSE= GPLv3
CONFLICTS= argus-clients-2* argus-clients-sasl-2*
OPTIONS_DEFINE= GEOIP MYSQL SASL
OPTIONS_DEFINE= GEOIP MYSQL SASL DOCS
OPTIONS_DEFAULT=MYSQL SASL
USES= bison ncurses perl5

View File

@ -20,6 +20,8 @@ USES= gmake
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
's|-Wall -O3|${CFLAGS}|; \

View File

@ -20,6 +20,7 @@ USE_LDCONFIG= yes
USE_RC_SUBR= ${PORTNAME}
OPTIONS_DEFINE= DOCS
OPTIONS_SINGLE= BACKEND
OPTIONS_SINGLE_BACKEND= MYSQL PGSQL

View File

@ -12,6 +12,7 @@ COMMENT= Generate rrdtool graphs using performance data from nagios plugins
RUN_DEPENDS= rrdtool>=0:${PORTSDIR}/databases/rrdtool
OPTIONS_DEFINE= DOCS
OPTIONS_SINGLE= NAGIOS
OPTIONS_SINGLE_NAGIOS= NAGIOS35 NAGIOS4
OPTIONS_DEFAULT= NAGIOS35

View File

@ -17,7 +17,7 @@ USE_PERL5= configure
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
.include <bsd.port.options.mk>
OPTIONS_DEFINE= DOCS
post-patch:
${RM} ${WRKSRC}/lib/SNMP_Session.pm.orig

View File

@ -20,6 +20,8 @@ USE_PERL5= configure
DOCS= README README.plugins Plugin.sample
OPTIONS_DEFINE= DOCS
post-patch:
@${MV} ${WRKSRC}/lib/Pancho/Plugins/README ${WRKSRC}/README.plugins
@${MV} ${WRKSRC}/lib/Pancho/Plugins/Plugin.sample ${WRKSRC}/

View File

@ -21,7 +21,7 @@ CONFIGURE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" --prefix="${STAGE}${PREFIX}" \
--sysconfdir="${ETCDIR}"
OPTIONS_DEFINE= SXSERVER
OPTIONS_DEFINE= SXSERVER DOCS
SXSERVER_DESC= Enable sxhttpd server
OPTIONS_DEFAULT=SXSERVER

View File

@ -20,6 +20,8 @@ USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= Py2Play
EXAMPLESDIR= ${PREFIX}/share/examples/py-py2play
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/startdemo ${STAGEDIR}${EXAMPLESDIR}

View File

@ -23,7 +23,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
CONFLICTS_INSTALL= ${PORTNAME}${PKGNAMESUFFIX}-2.5*
OPTIONS_DEFINE= LITE
OPTIONS_DEFINE= LITE DOCS
.include <bsd.port.options.mk>

View File

@ -11,6 +11,8 @@ DISTNAME= ${PORTNAME}-alpha${PORTVERSION}
MAINTAINER= jmohacsi@bsd.hu
COMMENT= Tool that searches the sequence of AS numbers
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -E -e "s|CFLAGS.*=|CFLAGS +=|" \
-e "s|CC.*=|CC ?=|" ${WRKSRC}/Makefile

View File

@ -24,4 +24,6 @@ USE_AUTOTOOLS= libtoolize autoheader automake aclocal
AUTOMAKE_ARGS+= --add-missing
GNU_CONFIGURE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>

View File

@ -20,7 +20,7 @@ CONFLICTS= haproxy-[1234567890]\*
USE_RC_SUBR= haproxy
SUB_FILES= pkg-message
OPTIONS_DEFINE= PCRE OPENSSL
OPTIONS_DEFINE= PCRE OPENSSL DOCS
OPTIONS_SINGLE= PCRE
OPTIONS_SINGLE_PCRE= DPCRE SPCRE
DPCRE_DESC= Link dynamically

View File

@ -18,7 +18,7 @@ USES= gmake
USE_RC_SUBR= haproxy
SUB_FILES= pkg-message
OPTIONS_DEFINE= OPENSSL
OPTIONS_DEFINE= OPENSSL DOCS
OPTIONS_RADIO= PCRE
OPTIONS_RADIO_PCRE= DPCRE SPCRE
DPCRE_DESC= Link dynamically

View File

@ -14,6 +14,8 @@ ALL_TARGET= default
DOCS= package/CHANGES package/COPYING package/README doc/*.html
OPTIONS_DEFINE= DOCS
do-configure:
@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc
@${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/src/conf-ld
@ -30,6 +32,6 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/man/*.${n} ${STAGEDIR}${MANPREFIX}/man/man${n}
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>

View File

@ -16,7 +16,7 @@ LICENSE= GPLv2
CONFLICTS?= libnids-libnet11-[0-9]*
OPTIONS_DEFINE= GLIB2
OPTIONS_DEFINE= GLIB2 DOCS
OPTIONS_DEFAULT=GLIB2
GLIB2_DESC= Use GLIB2 for multiprocessing support
OPTIONS_SUB= yes

View File

@ -24,6 +24,8 @@ MAKE_ARGS+= LUA_LIBDIR="${LUA_LIBDIR}" \
ALL_TARGET=
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}
${INSTALL_PROGRAM} ${WRKSRC}/src/lualdap.so.${PORTVERSION} ${STAGEDIR}${LUA_MODLIBDIR}/${PORTNAME}.so

View File

@ -52,7 +52,9 @@ OPTIONS_DEFINE= NTPSNMPD \
TRIMTAIP \
TRIMTSIP \
WHARTON \
VARITEXT
VARITEXT \
DOCS \
EXAMPLES
OPTIONS_DEFAULT= SSL \
NTP_SIGND \

View File

@ -50,7 +50,9 @@ OPTIONS_DEFINE= NTPSNMPD \
TRIMTAIP \
TRIMTSIP \
WHARTON \
VARITEXT
VARITEXT \
DOCS \
EXAMPLES
OPTIONS_DEFAULT= SSL \
NTP_SIGND \

View File

@ -27,7 +27,7 @@ USES= gmake
USE_RC_SUBR= openradius
SUB_LIST= LOGFILE="${LOGFILE}"
OPTIONS_DEFINE= LDAP
OPTIONS_DEFINE= LDAP DOCS EXAMPLES
.include <bsd.port.options.mk>

View File

@ -20,6 +20,8 @@ RUBY_SHEBANG_FILES= ${WRKSRC}/rdict
DOCS= Changelog README doc/dict.html doc/rdict.html
OPTIONS_DEFINE= DOCS
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/rdict ${STAGEDIR}${PREFIX}/bin/
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}

View File

@ -19,6 +19,8 @@ INSTALL_TARGET= site-install
EXAMPLES= sample/*
OPTIONS_DEFINE= DOCS
post-install:
${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES}

View File

@ -14,6 +14,8 @@ DIST_SUBDIR= ruby
MAINTAINER= ruby@FreeBSD.org
COMMENT= Ruby interface to LDAP API based on RFC1823
OPTIONS_DEFINE= DOCS
WITH_LDAP_BACKEND?= openldap2
.if ${WITH_LDAP_BACKEND} == ldapsdk

View File

@ -21,6 +21,8 @@ INSTALL_TARGET= site-install
DOCS= README
OPTIONS_DEFINE= DOCS
post-install:
@${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
.for f in ${DOCS}

View File

@ -17,6 +17,8 @@ RUBY_SHEBANG_FILES= ${WRKSRC}/sample/*
NO_BUILD= yes
OPTIONS_DEFINE= DOCS
do-install:
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/tserver.rb ${STAGEDIR}${RUBY_SITELIBDIR}/

View File

@ -19,6 +19,8 @@ COMMENT= Packet sniffer program. For educational use
GNU_CONFIGURE= yes
ALL_TARGET=
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sniffit ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/sniffit.5 ${STAGEDIR}${MANPREFIX}/man/man5

View File

@ -13,7 +13,7 @@ COMMENT= PPP over SSL virtual private networking (client part)
LICENSE= BSD3CLAUSE
OPTIONS_DEFINE= GUI
OPTIONS_DEFINE= GUI DOCS
GUI_DESC= GTK 1.2 graphical interface
CONFIGURE_ARGS= --disable-server --with-iconv=${ICONV_PREFIX}

View File

@ -14,7 +14,7 @@ COMMENT= PPP over SSL virtual private networking (server part)
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
OPTIONS_DEFINE= TCPWRAPPERS
OPTIONS_DEFINE= TCPWRAPPERS DOCS
TCPWRAPPERS_DESC= libwrap support
USE_RC_SUBR= ${PORTNAME}

View File

@ -24,6 +24,8 @@ GROUPS= tacacs
CONFLICTS= ru-tac+ia-[0-9]* tac_plus-libradius-[0-9]*
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= DOCS
# check expiration dates against 'expire' field of master.passwd file
.if defined(TAC_EXPIRE_MASTER_PASSWD)
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-bb

View File

@ -9,6 +9,8 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= mich@FreeBSD.org
COMMENT= Simple TCP port forwarder
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/tcpsg.c

View File

@ -40,7 +40,7 @@ USE_XORG+= bigreqsproto compositeproto damageproto fixesproto fontsproto glproto
CFLAGS+= -fPIC
OPTIONS_DEFINE= GNUTLS NLS PAM VIEWER HPJPG
OPTIONS_DEFINE= GNUTLS NLS PAM VIEWER HPJPG DOCS
OPTIONS_DEFAULT= GNUTLS NLS PAM VIEWER
VIEWER_DESC= Build vncviewer
HPJPG_DESC= Build with High-Performance JPEG support

View File

@ -11,6 +11,8 @@ COMMENT= Multi-server/conn news suck
GNU_CONFIGURE= yes
OPTIONS_DEFINE= EXAMPLES
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/msuck ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}

View File

@ -1,5 +1,5 @@
bin/msuck
%%PORTDOCS%%%%EXAMPLESDIR%%/filters.sample
%%PORTDOCS%%%%EXAMPLESDIR%%/newsrc.sample
%%PORTDOCS%%%%EXAMPLESDIR%%/suck.cfg.sample
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/filters.sample
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsrc.sample
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/suck.cfg.sample
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%

View File

@ -20,6 +20,8 @@ NO_BUILD= yes
USES= perl5 shebangfix
SHEBANG_FILES= newsgrab.pl
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/newsgrab.pl ${STAGEDIR}${PREFIX}/bin/newsgrab
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/newsgrab

View File

@ -15,6 +15,8 @@ USES= gmake
USE_GCC= any
GNU_CONFIGURE= yes
OPTIONS_DEFINE= DOCS
post-extract:
${LN} -s nget-${PORTVERSION} ${WRKDIR}/${DISTNAME}

View File

@ -25,6 +25,8 @@ PLIST_SUB+= SPOOL_DIR=${SPOOL_DIR}
DOCS= ChangeLog docs/FAQ INSTALL docs/INTERNALS README \
docs/testing.txt docs/noffle.lsm
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
's|/etc/noffle.conf|${PREFIX}/etc/noffle.conf|g' \

View File

@ -24,7 +24,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= ${PTHREAD_LIBS}
CFLAGS+= ${PTHREAD_CFLAGS}
OPTIONS_DEFINE= 7Z PAR PYTHON RAR
OPTIONS_DEFINE= 7Z PAR PYTHON RAR DOCS
OPTIONS_SINGLE= TLSLIB
OPTIONS_SINGLE_TLSLIB= GNUTLS OPENSSL
OPTIONS_DEFAULT= GNUTLS PAR PYTHON RAR

View File

@ -23,7 +23,7 @@ CONFIGURE_ARGS+=--enable-ipv6 --disable-inews --with-slrnpull \
ALL_TARGET= all
OPTIONS_DEFINE= NLS SSL DEVIEW
OPTIONS_DEFINE= NLS SSL DEVIEW DOCS
OPTIONS_DEFAULT=NLS SSL
OPTIONS_SUB= yes
NLS_USES= gettext

View File

@ -17,6 +17,8 @@ USE_BZIP2= yes
USES= perl5
MAKE_ARGS+= PREFIX=${PREFIX}
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/help
${INSTALL_DATA} ${WRKSRC}/help/* ${STAGEDIR}${DATADIR}/help

View File

@ -20,6 +20,8 @@ RUN_DEPENDS= \
NO_BUILD= YES
USES= perl5
OPTIONS_DEFINE= DOCS
pre-patch:
@${MV} ${WRKSRC}/ubh ${WRKSRC}/ubh.old
@${SED} -e '1,1s:/usr/bin/perl:${PERL5}:' \

View File

@ -27,6 +27,8 @@ USES= gettext
XPN= ${PORTNAME}.py
OPTIONS_DEFINE= DOCS
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/${XPN} ${STAGEDIR}${DATADIR}/${XPN}

View File

@ -17,6 +17,8 @@ USE_XORG= ice sm x11 xaw xext xmu xpm xt
DOCS= COMMON-PROBLMS COPYRIGHT CREDITS ChangeLog
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/share
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -E -e "s|^#error.+||g" \
-e "s|/usr/lib/sendmail|/usr/sbin/sendmail|g" \

View File

@ -13,12 +13,11 @@ COMMENT= Python module for producing high quality PostScript graphics
LICENSE= GPLv2
OPTIONS_DEFAULT= EXAMPLES
OPTIONS_DEFINE= EXAMPLES
OPTIONS_DEFINE= DOCS EXAMPLES
PYSCRIPT_MANUAL= doc/manual/pyscript.pdf
PYSCRIPT_MANUAL=doc/manual/pyscript.pdf
USE_PYDISTUTILS= yes
USE_PYDISTUTILS=yes
USE_PYTHON= yes
USE_TEX= latex dvipsk

View File

@ -22,6 +22,8 @@ USE_PYTHON= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/trml2pdf
@${INSTALL_SCRIPT} ${WRKSRC}/trml2pdf/* ${STAGEDIR}${PYTHON_SITELIBDIR}/trml2pdf

View File

@ -36,6 +36,8 @@ USE_LDCONFIG= yes
CMAKE_ARGS+= -DWANT_HUNSPELL=YES -Wno-ferror-limit
OPTIONS_DEFINE= DOCS
post-install:
${LN} -sf ${DATADIR}/icons/scribus.png ${STAGEDIR}${PREFIX}/share/pixmaps/