aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archivers/aolserver-nszlib/Makefile2
-rw-r--r--archivers/dact/Makefile2
-rw-r--r--archivers/freeze/Makefile2
-rw-r--r--archivers/javatar/Makefile2
-rw-r--r--archivers/lha-ac/Makefile2
-rw-r--r--archivers/libpar2/Makefile2
-rw-r--r--archivers/lzo2/Makefile2
-rw-r--r--archivers/makeself/Makefile2
-rw-r--r--archivers/py-lzma/Makefile2
-rw-r--r--archivers/ruby-libarchive/Makefile2
-rw-r--r--archivers/star/Makefile2
-rw-r--r--astro/gkrellmoon2/Makefile2
-rw-r--r--astro/gmapcatcher/Makefile2
-rw-r--r--astro/mkgmap-splitter/Makefile2
-rw-r--r--astro/openmap/Makefile2
-rw-r--r--astro/pp3/Makefile2
-rw-r--r--astro/sscalc/Makefile2
-rw-r--r--astro/xmoontool/Makefile2
-rw-r--r--audio/ampache/Makefile2
-rw-r--r--audio/autocd/Makefile2
-rw-r--r--audio/cmp3/Makefile2
-rw-r--r--audio/cutmp3/Makefile2
-rw-r--r--audio/cymbaline/Makefile2
-rw-r--r--audio/dvda-author/Makefile2
-rw-r--r--audio/enscribe/Makefile2
-rw-r--r--audio/festival-freebsoft-utils/Makefile2
-rw-r--r--audio/funktrackergold/Makefile2
-rw-r--r--audio/id3mtag/Makefile2
-rw-r--r--audio/libmpdclient/Makefile2
-rw-r--r--audio/linux-neroaaccodec/Makefile2
-rw-r--r--audio/listener/Makefile2
-rw-r--r--audio/maplay/Makefile2
-rw-r--r--audio/mp3asm/Makefile2
-rw-r--r--audio/mp3c/Makefile2
-rw-r--r--audio/pure-audio/Makefile2
-rw-r--r--audio/py-eyed3/Makefile2
-rw-r--r--audio/py-openal/Makefile2
-rw-r--r--audio/py-pyliblo/Makefile2
-rw-r--r--audio/ripit/Makefile2
-rw-r--r--audio/ruby-taglib/Makefile2
-rw-r--r--audio/shairport/Makefile2
-rw-r--r--audio/spiralsynth/Makefile2
-rw-r--r--audio/squash/Makefile2
-rw-r--r--audio/streamtranscoder/Makefile2
-rw-r--r--audio/teamspeak_client/Makefile2
-rw-r--r--audio/timidity++/Makefile2
-rw-r--r--audio/voipong/Makefile2
-rw-r--r--benchmarks/blogbench/Makefile2
-rw-r--r--benchmarks/bonnie++/Makefile2
-rw-r--r--benchmarks/gtkperf/Makefile2
-rw-r--r--benchmarks/super-smack/Makefile3
-rw-r--r--biology/biojava/Makefile2
-rw-r--r--biology/consed/Makefile2
-rw-r--r--biology/finchtv/Makefile2
-rw-r--r--biology/genpak/Makefile2
-rw-r--r--biology/mummer/Makefile2
-rw-r--r--biology/njplot/Makefile2
-rw-r--r--biology/p5-bioperl-run/Makefile2
-rw-r--r--biology/p5-bioperl/Makefile2
-rw-r--r--biology/paml/Makefile2
-rw-r--r--biology/velvet/Makefile2
-rw-r--r--cad/cascade/Makefile2
-rw-r--r--cad/cider/Makefile2
-rw-r--r--cad/gdsreader/Makefile2
-rw-r--r--cad/geda-gattrib/Makefile2
-rw-r--r--cad/geda-gschem/Makefile2
-rw-r--r--cad/kicad/Makefile3
-rw-r--r--cad/libgeda/Makefile2
-rw-r--r--chinese/cless/Makefile2
-rw-r--r--chinese/gb2ps/Makefile2
-rw-r--r--chinese/hanzim/Makefile2
-rw-r--r--chinese/muni/Makefile2
-rw-r--r--chinese/phpbb-tw/Makefile2
-rw-r--r--chinese/phpbb3-tw/Makefile2
-rw-r--r--chinese/pine4/Makefile2
-rw-r--r--comms/dabstick-radio/Makefile2
-rw-r--r--comms/dfu-programmer/Makefile3
-rw-r--r--comms/efax/Makefile2
-rw-r--r--comms/esmska/Makefile2
-rw-r--r--comms/gammu-devel/Makefile2
-rw-r--r--comms/ge-x2212/Makefile3
-rw-r--r--comms/gsmlib/Makefile2
-rw-r--r--comms/kb/Makefile2
-rw-r--r--comms/lrzsz/Makefile2
-rw-r--r--comms/py-bulksms/Makefile2
-rw-r--r--comms/py-serial/Makefile2
-rw-r--r--comms/qico/Makefile2
-rw-r--r--comms/scmxx/Makefile2
-rw-r--r--comms/uird/Makefile2
-rw-r--r--comms/vrflash/Makefile2
-rw-r--r--comms/yfklog/Makefile2
-rw-r--r--converters/cl-babel/Makefile2
-rw-r--r--converters/mule-ucs/Makefile2
-rw-r--r--databases/db41/Makefile2
-rw-r--r--databases/gqlplus/Makefile3
-rw-r--r--databases/hsqldb/Makefile3
-rw-r--r--databases/mysql-connector-java/Makefile2
-rw-r--r--databases/postgresql-jdbc/Makefile2
-rw-r--r--databases/postgresql-odbc/Makefile3
-rw-r--r--databases/pure-sql3/Makefile2
-rw-r--r--databases/tablelog/Makefile2
-rw-r--r--deskutils/bmp-docklet/Makefile3
-rw-r--r--deskutils/gcal/Makefile2
-rw-r--r--deskutils/genius/Makefile3
-rw-r--r--deskutils/gimmie/Makefile3
-rw-r--r--deskutils/gxmessage/Makefile3
-rw-r--r--deskutils/virt-manager/Makefile3
-rw-r--r--deskutils/x-tile/Makefile3
-rw-r--r--devel/abi-compliance-checker/Makefile3
-rw-r--r--devel/api-sanity-autotest/Makefile3
-rw-r--r--devel/apr1/Makefile2
-rw-r--r--devel/arduino-irremote/Makefile3
-rw-r--r--devel/cc65/Makefile3
-rw-r--r--devel/cdk/Makefile2
-rw-r--r--devel/cl-cffi/Makefile3
-rw-r--r--devel/cmunge/Makefile2
-rw-r--r--devel/ecore-main/Makefile3
-rw-r--r--devel/edb/Makefile2
-rw-r--r--devel/eet/Makefile2
-rw-r--r--devel/eina/Makefile2
-rw-r--r--devel/elfio/Makefile3
-rw-r--r--devel/flatzebra/Makefile3
-rw-r--r--devel/flick/Makefile3
-rw-r--r--devel/fnccheck/Makefile3
-rw-r--r--devel/geoip-java/Makefile3
-rw-r--r--devel/gnulib/Makefile2
-rw-r--r--devel/hgview/Makefile3
-rw-r--r--devel/jakarta-commons-daemon/Makefile3
-rw-r--r--devel/jna/Makefile2
-rw-r--r--devel/kdesvn-kde4/Makefile2
-rw-r--r--devel/libbobcat/Makefile2
-rw-r--r--devel/libplist/Makefile3
-rw-r--r--devel/libublio/Makefile2
-rw-r--r--devel/libvirt-java/Makefile2
-rw-r--r--devel/love/Makefile2
-rw-r--r--devel/love07/Makefile2
-rw-r--r--devel/luafilesystem/Makefile3
-rw-r--r--devel/monotone/Makefile2
-rw-r--r--devel/motor/Makefile3
-rw-r--r--devel/ncc/Makefile3
-rw-r--r--devel/obby/Makefile2
-rw-r--r--devel/ocaml-camlp5/Makefile3
-rw-r--r--devel/ocaml-typeconv/Makefile3
-rw-r--r--devel/p5-DateTime-Locale/Makefile2
-rw-r--r--devel/p5-DateTime-TimeZone/Makefile2
-rw-r--r--devel/p5-Devel-Cover/Makefile2
-rw-r--r--devel/p5-Locale-Maketext-Lexicon/Makefile2
-rw-r--r--devel/p5-Params-Check/Makefile2
-rw-r--r--devel/p5-SVN-Access/Makefile2
-rw-r--r--devel/p5-Term-ProgressBar/Makefile2
-rw-r--r--devel/perlconsole/Makefile2
-rw-r--r--devel/pure-ffi/Makefile2
-rw-r--r--devel/pure-gen/Makefile2
-rw-r--r--devel/pure-readline/Makefile2
-rw-r--r--devel/py-babel/Makefile2
-rw-r--r--devel/py-icalendar/Makefile3
-rw-r--r--devel/py-jsmin/Makefile3
-rw-r--r--devel/py-usb/Makefile3
-rw-r--r--devel/pyst/Makefile2
-rw-r--r--devel/qjson/Makefile3
-rw-r--r--devel/ruby-locale/Makefile2
-rw-r--r--devel/rubygem-term-ansicolor/Makefile3
-rw-r--r--devel/tclcheck/Makefile3
-rw-r--r--devel/tclcl/Makefile2
-rw-r--r--devel/tclxml/Makefile3
-rw-r--r--devel/udis86/Makefile2
-rw-r--r--dns/hostdb/Makefile3
-rw-r--r--dns/maradns/Makefile2
-rw-r--r--dns/mydns/Makefile3
-rw-r--r--dns/py-dns/Makefile3
-rw-r--r--dns/rbldnsd/Makefile3
-rw-r--r--dns/samba-nsupdate/Makefile2
-rw-r--r--dns/walker/Makefile2
-rw-r--r--editors/hnb/Makefile2
-rw-r--r--editors/nano-devel/Makefile2
-rw-r--r--editors/nano/Makefile2
-rw-r--r--editors/ssed/Makefile2
-rw-r--r--editors/zoinks/Makefile3
-rw-r--r--emulators/gxmame/Makefile3
-rw-r--r--emulators/openmsx/Makefile2
-rw-r--r--emulators/prodosemu/Makefile3
-rw-r--r--emulators/stonx/Makefile2
-rw-r--r--emulators/tiemu3/Makefile3
-rw-r--r--emulators/tme/Makefile3
-rw-r--r--emulators/vmw/Makefile2
-rw-r--r--finance/grisbi/Makefile3
-rw-r--r--ftp/ftpcopy/Makefile2
-rw-r--r--games/actx/Makefile3
-rw-r--r--games/banihstypos/Makefile2
-rw-r--r--games/boswars/Makefile3
-rw-r--r--games/castlevox/Makefile3
-rw-r--r--games/critterding/Makefile2
-rw-r--r--games/cultivation/Makefile3
-rw-r--r--games/dangen/Makefile2
-rw-r--r--games/dungeon/Makefile3
-rw-r--r--games/ember/Makefile3
-rw-r--r--games/fishsupper/Makefile2
-rw-r--r--games/freecol/Makefile3
-rw-r--r--games/galaxymage/Makefile2
-rw-r--r--games/gl-117/Makefile3
-rw-r--r--games/glchess/Makefile3
-rw-r--r--games/gnomechess/Makefile2
-rw-r--r--games/goonies/Makefile2
-rw-r--r--games/jvgs/Makefile2
-rw-r--r--games/knights-kde4/Makefile2
-rw-r--r--games/lpairs/Makefile2
-rw-r--r--games/ltris/Makefile2
-rw-r--r--games/mindfocus/Makefile3
-rw-r--r--games/monsterz/Makefile3
-rw-r--r--games/nethack33/Makefile2
-rw-r--r--games/nethack34/Makefile2
-rw-r--r--games/nettoe/Makefile2
-rw-r--r--games/pcgen/Makefile2
-rw-r--r--games/ptools/Makefile2
-rw-r--r--games/py-fife/Makefile2
-rw-r--r--games/rubix/Makefile3
-rw-r--r--games/sauerbraten/Makefile3
-rw-r--r--games/sdl-ball/Makefile2
-rw-r--r--games/secretmaryochronicles-music/Makefile3
-rw-r--r--games/secretmaryochronicles/Makefile3
-rw-r--r--games/sudoku/Makefile3
-rw-r--r--games/super_methane_brothers/Makefile3
-rw-r--r--games/tetrinet/Makefile2
-rw-r--r--games/tomenet/Makefile2
-rw-r--r--games/urbanterror-data/Makefile3
-rw-r--r--games/xbattle/Makefile3
-rw-r--r--games/xblast/Makefile3
-rw-r--r--games/xkoules/Makefile3
-rw-r--r--games/xmulti/Makefile3
-rw-r--r--games/xvier/Makefile3
-rw-r--r--german/dtaus/Makefile2
-rw-r--r--graphics/barbecue/Makefile2
-rw-r--r--graphics/cegui/Makefile3
-rw-r--r--graphics/darknock/Makefile2
-rw-r--r--graphics/deegree-csw/Makefile3
-rw-r--r--graphics/deegree-igeoportal/Makefile3
-rw-r--r--graphics/deegree-wcs/Makefile3
-rw-r--r--graphics/deegree-wfs/Makefile3
-rw-r--r--graphics/deegree-wms/Makefile3
-rw-r--r--graphics/deegree-wps/Makefile3
-rw-r--r--graphics/deegree-wpvs/Makefile3
-rw-r--r--graphics/fv/Makefile3
-rw-r--r--graphics/goocanvas/Makefile2
-rw-r--r--graphics/goocanvas2/Makefile2
-rw-r--r--graphics/gqview/Makefile3
-rw-r--r--graphics/gscan2pdf/Makefile3
-rw-r--r--graphics/gtkdps/Makefile3
-rw-r--r--graphics/hobbes-icons-xpm/Makefile2
-rw-r--r--graphics/import-pictures/Makefile3
-rw-r--r--graphics/impressive/Makefile3
-rw-r--r--graphics/jpeg/Makefile2
-rw-r--r--graphics/libexif-gtk/Makefile3
-rw-r--r--graphics/linux-adobesvg/Makefile3
-rw-r--r--graphics/maverik/Makefile3
-rw-r--r--graphics/meshviewer/Makefile3
-rw-r--r--graphics/mxp/Makefile3
-rw-r--r--graphics/ocrad/Makefile2
-rw-r--r--graphics/ocrfeeder/Makefile3
-rw-r--r--graphics/openjump/Makefile2
-rw-r--r--graphics/pgplot/Makefile3
-rw-r--r--graphics/php5-swfed/Makefile2
-rw-r--r--graphics/plotmtv/Makefile3
-rw-r--r--graphics/pure-gl/Makefile2
-rw-r--r--graphics/py-actdiag/Makefile3
-rw-r--r--graphics/py-seqdiag/Makefile3
-rw-r--r--graphics/py-webcolors/Makefile2
-rw-r--r--graphics/qvplay/Makefile3
-rw-r--r--graphics/ruby-gd/Makefile2
-rw-r--r--graphics/scantailor/Makefile3
-rw-r--r--graphics/sketch/Makefile3
-rw-r--r--graphics/xmorph/Makefile3
-rw-r--r--graphics/xoris/Makefile2
-rw-r--r--irc/charybdis/Makefile2
-rw-r--r--irc/darkbot/Makefile2
-rw-r--r--irc/ii/Makefile3
-rw-r--r--irc/iroffer-lamm/Makefile2
-rw-r--r--irc/iroffer/Makefile2
-rw-r--r--irc/quirc/Makefile3
-rw-r--r--irc/rbot/Makefile2
-rw-r--r--irc/ruby-rica/Makefile2
-rw-r--r--irc/slirc/Makefile2
-rw-r--r--irc/tircproxy/Makefile2
-rw-r--r--irc/xchat-fish/Makefile2
-rw-r--r--irc/xchat-mircryption/Makefile2
-rw-r--r--irc/xchat-ruby/Makefile2
-rw-r--r--japanese/kasumi/Makefile3
-rw-r--r--japanese/nethack34/Makefile3
-rw-r--r--japanese/xjtext/Makefile3
-rw-r--r--java/cryptix-jce/Makefile3
-rw-r--r--java/jakarta-commons-httpclient/Makefile3
-rw-r--r--java/java3d/Makefile3
-rw-r--r--korean/ami/Makefile3
-rw-r--r--lang/cocor/Makefile3
-rw-r--r--lang/groovy/Makefile2
-rw-r--r--lang/lafontaine/Makefile3
-rw-r--r--lang/malbolge/Makefile2
-rw-r--r--lang/scala-docs/Makefile2
-rw-r--r--lang/scheme48/Makefile3
-rw-r--r--lang/x10/Makefile2
-rw-r--r--lang/yabasic/Makefile2
-rw-r--r--mail/bayespam/Makefile3
-rw-r--r--mail/elmo-devel/Makefile2
-rw-r--r--mail/getmail/Makefile3
-rw-r--r--mail/gml/Makefile3
-rw-r--r--mail/milter-manager/Makefile3
-rw-r--r--mail/mutt_vc_query/Makefile2
-rw-r--r--mail/postfixadmin/Makefile3
-rw-r--r--mail/postgrey/Makefile3
-rw-r--r--mail/qmail-activedir/Makefile3
-rw-r--r--mail/sma/Makefile2
-rw-r--r--mail/spamd/Makefile3
-rw-r--r--mail/spamstats/Makefile2
-rw-r--r--mail/svnmailer/Makefile3
-rw-r--r--mail/vqregister/Makefile2
-rw-r--r--mail/wmpop3lb/Makefile2
-rw-r--r--mail/xf-spf/Makefile3
-rw-r--r--mail/xmailbox/Makefile3
-rw-r--r--math/convertall/Makefile3
-rw-r--r--math/emc2/Makefile3
-rw-r--r--math/fityk/Makefile3
-rw-r--r--math/gri/Makefile3
-rw-r--r--math/jags/Makefile3
-rw-r--r--math/jakarta-commons-math3/Makefile3
-rw-r--r--math/jts/Makefile3
-rw-r--r--math/libqalculate/Makefile3
-rw-r--r--math/petsc/Makefile3
-rw-r--r--math/pure-mpfr/Makefile2
-rw-r--r--math/pure-rational/Makefile2
-rw-r--r--math/snns/Makefile3
-rw-r--r--misc/bb/Makefile3
-rw-r--r--misc/callid/Makefile3
-rw-r--r--misc/clex/Makefile2
-rw-r--r--misc/cmatrix/Makefile3
-rw-r--r--misc/crosspad/Makefile3
-rw-r--r--misc/dtach/Makefile3
-rw-r--r--misc/dvorakng/Makefile3
-rw-r--r--misc/esniper/Makefile3
-rw-r--r--misc/gkx86info2/Makefile3
-rw-r--r--misc/gnome-osd/Makefile3
-rw-r--r--misc/hello/Makefile2
-rw-r--r--misc/lifelines/Makefile3
-rw-r--r--misc/mirmon/Makefile2
-rw-r--r--misc/mtail/Makefile3
-rw-r--r--misc/pdfmap/Makefile3
-rw-r--r--misc/ringtonetools/Makefile3
-rw-r--r--misc/rname/Makefile3
-rw-r--r--misc/salias/Makefile3
-rw-r--r--misc/tet/Makefile3
-rw-r--r--misc/tkman/Makefile2
-rw-r--r--multimedia/bino/Makefile3
-rw-r--r--multimedia/emotion/Makefile2
-rw-r--r--multimedia/flvstreamer/Makefile2
-rw-r--r--multimedia/freevo/Makefile3
-rw-r--r--multimedia/gaupol/Makefile3
-rw-r--r--multimedia/gmencoder/Makefile3
-rw-r--r--multimedia/gnome-subtitles/Makefile3
-rw-r--r--multimedia/gopchop/Makefile3
-rw-r--r--multimedia/imagination/Makefile3
-rw-r--r--multimedia/kissdx/Makefile3
-rw-r--r--multimedia/linux-realplayer/Makefile3
-rw-r--r--multimedia/mpeg2play/Makefile3
-rw-r--r--multimedia/py-mlt/Makefile3
-rw-r--r--multimedia/replex/Makefile2
-rw-r--r--net-im/icb/Makefile2
-rw-r--r--net-im/libjingle/Makefile3
-rw-r--r--net-im/licq-icq/Makefile2
-rw-r--r--net-im/licq-jabber/Makefile2
-rw-r--r--net-im/licq-msn/Makefile2
-rw-r--r--net-im/pidgin-libnotify/Makefile3
-rw-r--r--net-im/pidgin-skype/Makefile2
-rw-r--r--net-mgmt/ap-utils/Makefile3
-rw-r--r--net-mgmt/arts++/Makefile3
-rw-r--r--net-mgmt/disco/Makefile2
-rw-r--r--net-mgmt/echolot/Makefile3
-rw-r--r--net-mgmt/etherape/Makefile3
-rw-r--r--net-mgmt/ipacctd/Makefile3
-rw-r--r--net-mgmt/p0f/Makefile3
-rw-r--r--net-mgmt/p0f2/Makefile3
-rw-r--r--net-mgmt/percona-monitoring-plugins/Makefile3
-rw-r--r--net-mgmt/wide-dhcp/Makefile3
-rw-r--r--net-mgmt/wifimgr/Makefile3
-rw-r--r--net-p2p/ctorrent/Makefile2
-rw-r--r--net-p2p/gnunet-gtk/Makefile3
-rw-r--r--net-p2p/gtkhx/Makefile3
-rw-r--r--net-p2p/microdc2/Makefile3
-rw-r--r--net-p2p/tribler/Makefile3
-rw-r--r--net/activemq/Makefile3
-rw-r--r--net/bwping/Makefile3
-rw-r--r--net/cyphesis/Makefile3
-rw-r--r--net/dhcprelya/Makefile3
-rw-r--r--net/exabgp/Makefile3
-rw-r--r--net/fping/Makefile3
-rw-r--r--net/get_iplayer/Makefile2
-rw-r--r--net/heybuddy/Makefile3
-rw-r--r--net/htpdate/Makefile2
-rw-r--r--net/ipgrab/Makefile3
-rw-r--r--net/jwhois/Makefile3
-rw-r--r--net/libnet10/Makefile2
-rw-r--r--net/librouteros/Makefile2
-rw-r--r--net/opennx/Makefile3
-rw-r--r--net/pchar/Makefile3
-rw-r--r--net/pmf/Makefile3
-rw-r--r--net/ptpd2/Makefile2
-rw-r--r--net/pure-sockets/Makefile2
-rw-r--r--net/raggle/Makefile2
-rw-r--r--net/ripe-whois/Makefile2
-rw-r--r--net/samplicator/Makefile2
-rw-r--r--net/sharity-light/Makefile3
-rw-r--r--net/skstream/Makefile3
-rw-r--r--net/smb4k-kde4/Makefile3
-rw-r--r--net/spoofer/Makefile2
-rw-r--r--net/tcpreen/Makefile3
-rw-r--r--net/tcpsplit/Makefile2
-rw-r--r--net/tinyldap/Makefile2
-rw-r--r--net/u6rd/Makefile2
-rw-r--r--net/uplog/Makefile2
-rw-r--r--net/wmnetload/Makefile3
-rw-r--r--news/fidogate/Makefile2
-rw-r--r--news/hellanzb/Makefile3
-rw-r--r--news/ifmail/Makefile2
-rw-r--r--palm/jpilot/Makefile3
-rw-r--r--ports-mgmt/chucky/Makefile3
-rw-r--r--ports-mgmt/pkg_jail/Makefile2
-rw-r--r--ports-mgmt/pkgs_which/Makefile2
-rw-r--r--ports-mgmt/portbuilder/Makefile2
-rw-r--r--ports-mgmt/prhistory/Makefile3
-rw-r--r--print/cpp2latex/Makefile3
-rw-r--r--print/foxitreader/Makefile3
-rw-r--r--print/gtklp/Makefile3
-rw-r--r--print/lilypond-devel/Makefile2
-rw-r--r--print/lilypond/Makefile2
-rw-r--r--print/passivetex/Makefile3
-rw-r--r--print/pstotext/Makefile3
-rw-r--r--print/tex-xdvik/Makefile3
-rw-r--r--print/texinfo/Makefile2
-rw-r--r--science/2d-rewriter/Makefile3
-rw-r--r--science/ecs/Makefile3
-rw-r--r--science/v_sim/Makefile3
-rw-r--r--security/ccrypt/Makefile3
-rw-r--r--security/duo/Makefile3
-rw-r--r--security/fuzzdb/Makefile3
-rw-r--r--security/gnutls-devel/Makefile3
-rw-r--r--security/identify/Makefile3
-rw-r--r--security/mac-robber/Makefile2
-rw-r--r--security/nettle/Makefile2
-rw-r--r--security/orthrus/Makefile3
-rw-r--r--security/pam-pgsql/Makefile3
-rw-r--r--security/pam_krb5-rh/Makefile2
-rw-r--r--security/pidgin-encryption/Makefile3
-rw-r--r--security/polarssl/Makefile2
-rw-r--r--security/pulledpork/Makefile2
-rw-r--r--security/slurpie/Makefile3
-rw-r--r--security/sslsniffer/Makefile3
-rw-r--r--security/sslwrap/Makefile3
-rw-r--r--security/super/Makefile3
-rw-r--r--security/xyssl/Makefile3
-rw-r--r--security/zxid/Makefile3
-rw-r--r--shells/mksh/Makefile2
-rw-r--r--sysutils/LPRng/Makefile3
-rw-r--r--sysutils/bbcp/Makefile3
-rw-r--r--sysutils/bsdadminscripts/Makefile3
-rw-r--r--sysutils/busybox-unstable/Makefile2
-rw-r--r--sysutils/busybox/Makefile2
-rw-r--r--sysutils/cdrtools-devel/Makefile3
-rw-r--r--sysutils/cdrtools/Makefile3
-rw-r--r--sysutils/dc3dd/Makefile3
-rw-r--r--sysutils/dd_rescue/Makefile3
-rw-r--r--sysutils/dupmerge/Makefile2
-rw-r--r--sysutils/fusefs-encfs/Makefile3
-rw-r--r--sysutils/gapcmon/Makefile3
-rw-r--r--sysutils/gcombust/Makefile3
-rw-r--r--sysutils/hourglass/Makefile2
-rw-r--r--sysutils/keyboard-daemon/Makefile2
-rw-r--r--sysutils/ldap-account-manager/Makefile2
-rw-r--r--sysutils/multitail/Makefile2
-rw-r--r--sysutils/progsreiserfs/Makefile2
-rw-r--r--sysutils/puppet27/Makefile3
-rw-r--r--sysutils/relaxconf/Makefile2
-rw-r--r--sysutils/sortu/Makefile3
-rw-r--r--sysutils/spiped/Makefile3
-rw-r--r--sysutils/torque/Makefile3
-rw-r--r--sysutils/ua/Makefile2
-rw-r--r--sysutils/usbutils/Makefile3
-rw-r--r--sysutils/zfstools/Makefile2
-rw-r--r--textproc/agrep/Makefile2
-rw-r--r--textproc/elasticsearch/Makefile3
-rw-r--r--textproc/ibus-kmfl/Makefile3
-rw-r--r--textproc/ibus-m17n/Makefile3
-rw-r--r--textproc/ibus-table/Makefile3
-rw-r--r--textproc/m17n-contrib/Makefile3
-rw-r--r--textproc/m17n-im-config/Makefile3
-rw-r--r--textproc/mxml/Makefile3
-rw-r--r--textproc/p5-SGMLSpm/Makefile3
-rw-r--r--textproc/p5-XML-Smart/Makefile2
-rw-r--r--textproc/pure-csv/Makefile2
-rw-r--r--textproc/pure-xml/Makefile2
-rw-r--r--textproc/scim-input-pad/Makefile3
-rw-r--r--textproc/slides/Makefile3
-rw-r--r--textproc/tinyxml2/Makefile2
-rw-r--r--textproc/wdiff/Makefile3
-rw-r--r--textproc/xslint/Makefile2
-rw-r--r--textproc/yodl/Makefile2
-rw-r--r--www/axis2/Makefile3
-rw-r--r--www/bluefish-devel/Makefile3
-rw-r--r--www/cadaver/Makefile2
-rw-r--r--www/cgic/Makefile3
-rw-r--r--www/flot/Makefile2
-rw-r--r--www/gallery/Makefile3
-rw-r--r--www/jspwiki/Makefile3
-rw-r--r--www/mod_authn_otp/Makefile3
-rw-r--r--www/mohawk/Makefile2
-rw-r--r--www/oscommerce/Makefile2
-rw-r--r--www/py-prewikka/Makefile2
-rw-r--r--www/py-werkzeug/Makefile3
-rw-r--r--www/pyblosxom/Makefile3
-rw-r--r--www/sitecopy/Makefile2
-rw-r--r--www/smb_auth/Makefile2
-rw-r--r--www/srg/Makefile3
-rw-r--r--www/tidy/Makefile2
-rw-r--r--www/trac-gantt/Makefile2
-rw-r--r--x11-clocks/alarm-clock/Makefile3
-rw-r--r--x11-clocks/cairo-clock/Makefile3
-rw-r--r--x11-fm/gnome-commander2/Makefile2
-rw-r--r--x11-fm/rodent/Makefile3
-rw-r--r--x11-fonts/gentium-basic/Makefile2
-rw-r--r--x11-fonts/gentium-plus/Makefile2
-rw-r--r--x11-toolkits/elementary/Makefile2
-rw-r--r--x11-toolkits/gtkextra2/Makefile3
-rw-r--r--x11-toolkits/pure-gtk/Makefile2
-rw-r--r--x11-toolkits/pure-tk/Makefile2
-rw-r--r--x11-wm/e17-module-alarm/Makefile2
-rw-r--r--x11-wm/e17-module-comp-scale/Makefile2
-rw-r--r--x11-wm/e17-module-cpu/Makefile2
-rw-r--r--x11-wm/e17-module-diskio/Makefile2
-rw-r--r--x11-wm/e17-module-eektool/Makefile2
-rw-r--r--x11-wm/e17-module-engage/Makefile2
-rw-r--r--x11-wm/e17-module-eooorg/Makefile2
-rw-r--r--x11-wm/e17-module-everything-aspell/Makefile2
-rw-r--r--x11-wm/e17-module-everything-mpris/Makefile2
-rw-r--r--x11-wm/e17-module-everything-pidgin/Makefile2
-rw-r--r--x11-wm/e17-module-everything-places/Makefile2
-rw-r--r--x11-wm/e17-module-everything-wallpaper/Makefile2
-rw-r--r--x11-wm/e17-module-everything-websearch/Makefile2
-rw-r--r--x11-wm/e17-module-flame/Makefile2
-rw-r--r--x11-wm/e17-module-forecasts/Makefile2
-rw-r--r--x11-wm/e17-module-iiirk/Makefile2
-rw-r--r--x11-wm/e17-module-mail/Makefile2
-rw-r--r--x11-wm/e17-module-mem/Makefile2
-rw-r--r--x11-wm/e17-module-moon/Makefile2
-rw-r--r--x11-wm/e17-module-mpdule/Makefile2
-rw-r--r--x11-wm/e17-module-net/Makefile2
-rw-r--r--x11-wm/e17-module-news/Makefile2
-rw-r--r--x11-wm/e17-module-penguins/Makefile2
-rw-r--r--x11-wm/e17-module-photo/Makefile2
-rw-r--r--x11-wm/e17-module-places/Makefile2
-rw-r--r--x11-wm/e17-module-rain/Makefile2
-rw-r--r--x11-wm/e17-module-screenshot/Makefile2
-rw-r--r--x11-wm/e17-module-slideshow/Makefile2
-rw-r--r--x11-wm/e17-module-snow/Makefile2
-rw-r--r--x11-wm/e17-module-taskbar/Makefile2
-rw-r--r--x11-wm/e17-module-tclock/Makefile2
-rw-r--r--x11-wm/e17-module-uptime/Makefile2
-rw-r--r--x11-wm/e17-module-weather/Makefile2
-rw-r--r--x11-wm/e17-module-winlist-ng/Makefile2
-rw-r--r--x11-wm/e17-module-wlan/Makefile2
-rw-r--r--x11-wm/mcwm/Makefile2
-rw-r--r--x11-wm/obconf/Makefile3
-rw-r--r--x11-wm/obmenu/Makefile2
-rw-r--r--x11-wm/qtile/Makefile2
-rw-r--r--x11/bbdock/Makefile2
-rw-r--r--x11/gdkxft/Makefile2
-rw-r--r--x11/gtk-theme-switch/Makefile2
-rw-r--r--x11/gtkterm2/Makefile2
-rw-r--r--x11/imwheel/Makefile2
-rw-r--r--x11/libdnd/Makefile2
-rw-r--r--x11/peeper/Makefile2
-rw-r--r--x11/sterm/Makefile3
-rw-r--r--x11/wmappl/Makefile2
-rw-r--r--x11/xbanner/Makefile2
-rw-r--r--x11/xdialog/Makefile2
-rw-r--r--x11/xfce4-screenshooter-plugin/Makefile2
581 files changed, 1423 insertions, 0 deletions
diff --git a/archivers/aolserver-nszlib/Makefile b/archivers/aolserver-nszlib/Makefile
index 5e1cd57ee7cb..d9a533c0e152 100644
--- a/archivers/aolserver-nszlib/Makefile
+++ b/archivers/aolserver-nszlib/Makefile
@@ -37,6 +37,8 @@ PLIST_FILES= ${AOLSERVERBASE}/bin/nszlib.so \
PORTDOCS= ChangeLog README example.tcl
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's/^MODLIBS =/MODLIBS +=/g' \
diff --git a/archivers/dact/Makefile b/archivers/dact/Makefile
index c511c4199d99..10b54843ae77 100644
--- a/archivers/dact/Makefile
+++ b/archivers/dact/Makefile
@@ -23,6 +23,8 @@ MAKE_ARGS= TOBUILD="dact libdact.so dact.conf"
MAN1= dact.1
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e "s|prefix = @prefix@|prefix = ${PREFIX}|" \
diff --git a/archivers/freeze/Makefile b/archivers/freeze/Makefile
index 86231f61ad79..e8cd0329d616 100644
--- a/archivers/freeze/Makefile
+++ b/archivers/freeze/Makefile
@@ -20,6 +20,8 @@ MAN1= freeze.1 melt.1 unfreeze.1 fcat.1 statist.1
PLIST_FILES= bin/fcat bin/freeze bin/melt bin/statist bin/unfreeze
PORTDOCS= README
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/archivers/javatar/Makefile b/archivers/javatar/Makefile
index 117ce2e38b6b..d8acf6ade1ee 100644
--- a/archivers/javatar/Makefile
+++ b/archivers/javatar/Makefile
@@ -24,6 +24,8 @@ PORTDOCS= api LICENSE License.html readme.html tarman.html
JARFILES= tar.jar
PLIST_FILES= ${JARFILES:S,^,%%JAVAJARDIR%%/,}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/archivers/lha-ac/Makefile b/archivers/lha-ac/Makefile
index 38e4b5edb712..48e86e3e6497 100644
--- a/archivers/lha-ac/Makefile
+++ b/archivers/lha-ac/Makefile
@@ -21,6 +21,8 @@ MANLANG= ja
MAN1_JA= lha-ac.1
PLIST_FILES+= ${__MANPAGES}
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/archivers/libpar2/Makefile b/archivers/libpar2/Makefile
index 2cc1217f84f0..c307e91031d8 100644
--- a/archivers/libpar2/Makefile
+++ b/archivers/libpar2/Makefile
@@ -21,6 +21,8 @@ CPPFLAGS+= -I${LOCALBASE}/include
USE_LDCONFIG= yes
USES= pkgconfig
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/archivers/lzo2/Makefile b/archivers/lzo2/Makefile
index ba371ec12559..b33520d082c2 100644
--- a/archivers/lzo2/Makefile
+++ b/archivers/lzo2/Makefile
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --docdir=${DOCSDIR}
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
.if !${PORT_OPTIONS:MDOCS}
diff --git a/archivers/makeself/Makefile b/archivers/makeself/Makefile
index f0d9a48a4554..55525a5ac893 100644
--- a/archivers/makeself/Makefile
+++ b/archivers/makeself/Makefile
@@ -24,6 +24,8 @@ PLIST_FILES= bin/makeself bin/makeself-header \
PORTDOCS= README
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/archivers/py-lzma/Makefile b/archivers/py-lzma/Makefile
index 0004a258c978..40e973ed4ec6 100644
--- a/archivers/py-lzma/Makefile
+++ b/archivers/py-lzma/Makefile
@@ -27,6 +27,8 @@ DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
PORTDOCS= usage.txt
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/archivers/ruby-libarchive/Makefile b/archivers/ruby-libarchive/Makefile
index 63a4daf2632f..75f1c158ff7a 100644
--- a/archivers/ruby-libarchive/Makefile
+++ b/archivers/ruby-libarchive/Makefile
@@ -21,6 +21,8 @@ WRKSRC= ${WRKDIR}/ext
DOCS= README.txt doc
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/archivers/star/Makefile b/archivers/star/Makefile
index 48ab46cc2da1..f41b4365934a 100644
--- a/archivers/star/Makefile
+++ b/archivers/star/Makefile
@@ -30,6 +30,8 @@ PORTDOCS= README README.crash README.mtio README.pattern STARvsGNUTAR \
README.ACL README.largefiles README.otherbugs \
README.posix-2001
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/astro/gkrellmoon2/Makefile b/astro/gkrellmoon2/Makefile
index 4bd88034d2ce..0e17feb6c8c0 100644
--- a/astro/gkrellmoon2/Makefile
+++ b/astro/gkrellmoon2/Makefile
@@ -20,6 +20,8 @@ USE_GNOME= gtk20
ALL_TARGET= gkrellmoon.so
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/astro/gmapcatcher/Makefile b/astro/gmapcatcher/Makefile
index f5573baa368a..68c3697289b3 100644
--- a/astro/gmapcatcher/Makefile
+++ b/astro/gmapcatcher/Makefile
@@ -20,6 +20,8 @@ USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST= yes
PLIST_SUB= PORTVERSION="${PORTVERSION}"
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/astro/mkgmap-splitter/Makefile b/astro/mkgmap-splitter/Makefile
index bd0637cde3bc..c8ada2eccfac 100644
--- a/astro/mkgmap-splitter/Makefile
+++ b/astro/mkgmap-splitter/Makefile
@@ -24,6 +24,8 @@ PORTDATA= *
DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/astro/openmap/Makefile b/astro/openmap/Makefile
index bd67ecdf6ea1..670d74aa8fc1 100644
--- a/astro/openmap/Makefile
+++ b/astro/openmap/Makefile
@@ -22,6 +22,8 @@ MAKE_ARGS+= -Dopenmap.home=${WRKSRC} \
SUB_FILES= openmap.sh
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-configure:
diff --git a/astro/pp3/Makefile b/astro/pp3/Makefile
index 7950dce54468..707eef650b30 100644
--- a/astro/pp3/Makefile
+++ b/astro/pp3/Makefile
@@ -13,6 +13,8 @@ COMMENT= Creates celestial charts
USE_BZIP2= yes
USE_TEX= latex
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
do-build:
diff --git a/astro/sscalc/Makefile b/astro/sscalc/Makefile
index 5607e7b2abe4..5c0b80f321e6 100644
--- a/astro/sscalc/Makefile
+++ b/astro/sscalc/Makefile
@@ -9,6 +9,8 @@ MASTER_SITES= http://www.icehouse.net/kew/
MAINTAINER= ports@FreeBSD.org
COMMENT= Sunrise and sunset time calculator
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
pre-fetch:
diff --git a/astro/xmoontool/Makefile b/astro/xmoontool/Makefile
index 9e0212ac0f8c..f9e6e2e19b6e 100644
--- a/astro/xmoontool/Makefile
+++ b/astro/xmoontool/Makefile
@@ -23,6 +23,8 @@ MAKE_ENV+= WITHOUT_LIBNOVA=yes
LIB_DEPENDS+= libnova.so:${PORTSDIR}/astro/libnova
.endif
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
pre-everything::
diff --git a/audio/ampache/Makefile b/audio/ampache/Makefile
index 1a1f056fc8ff..c74f8625b582 100644
--- a/audio/ampache/Makefile
+++ b/audio/ampache/Makefile
@@ -26,6 +26,8 @@ SUB_LIST= PORTNAME=${PORTNAME} \
PORTDOCS= CHANGELOG README MIGRATION INSTALL
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/audio/autocd/Makefile b/audio/autocd/Makefile
index 65bbf6d59657..a096f6eb5bbb 100644
--- a/audio/autocd/Makefile
+++ b/audio/autocd/Makefile
@@ -20,6 +20,8 @@ PORTDOCS= README.rus.html
USE_RC_SUBR= autocd
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/audio/cmp3/Makefile b/audio/cmp3/Makefile
index 9450c14ed2fd..3f8941c9212c 100644
--- a/audio/cmp3/Makefile
+++ b/audio/cmp3/Makefile
@@ -28,6 +28,8 @@ PLIST_FILES= bin/cmp3 bin/rnmp3
RUN_DEPENDS+= ogg123:${PORTSDIR}/audio/vorbis-tools
.endif
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/audio/cutmp3/Makefile b/audio/cutmp3/Makefile
index 5d6e4f7bf878..f28fbacafa3c 100644
--- a/audio/cutmp3/Makefile
+++ b/audio/cutmp3/Makefile
@@ -19,6 +19,8 @@ PLIST_FILES= bin/cutmp3
PORTDOCS= README README.timetable USAGE
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/audio/cymbaline/Makefile b/audio/cymbaline/Makefile
index cf0af30bf806..27107bc6468c 100644
--- a/audio/cymbaline/Makefile
+++ b/audio/cymbaline/Makefile
@@ -18,6 +18,8 @@ USE_PYDISTUTILS= yes
PLIST_FILES= bin/cymbaline
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/audio/dvda-author/Makefile b/audio/dvda-author/Makefile
index 3e2ea3c3632e..25d7f7f67723 100644
--- a/audio/dvda-author/Makefile
+++ b/audio/dvda-author/Makefile
@@ -33,6 +33,8 @@ CONFIGURE_ARGS= --with-flac=${LOCALBASE}/lib/libFLAC.so \
--enable-glibc
USE_CSTD= gnu89
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MDOCS}
diff --git a/audio/enscribe/Makefile b/audio/enscribe/Makefile
index b17f02d4b584..a94100a95563 100644
--- a/audio/enscribe/Makefile
+++ b/audio/enscribe/Makefile
@@ -25,6 +25,8 @@ LICENSE= GPLv2
PORTDOCS= README
PLIST_FILES= bin/enscribe
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-build:
diff --git a/audio/festival-freebsoft-utils/Makefile b/audio/festival-freebsoft-utils/Makefile
index a2352bd58a22..ad16cc496bed 100644
--- a/audio/festival-freebsoft-utils/Makefile
+++ b/audio/festival-freebsoft-utils/Makefile
@@ -20,6 +20,8 @@ PORTDOCS= ANNOUNCE NEWS README
INFO= ${PORTNAME}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/audio/funktrackergold/Makefile b/audio/funktrackergold/Makefile
index 9bae263a8799..74942f6a6bbf 100644
--- a/audio/funktrackergold/Makefile
+++ b/audio/funktrackergold/Makefile
@@ -25,6 +25,8 @@ MAKE_ARGS= EXTRA_CFLAGS="${PTHREAD_CFLAGS}" \
PORTDOCS= INSTALL
PLIST_FILES= bin/funkgold
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/audio/id3mtag/Makefile b/audio/id3mtag/Makefile
index 0189519bf5de..d470d615b38e 100644
--- a/audio/id3mtag/Makefile
+++ b/audio/id3mtag/Makefile
@@ -21,6 +21,8 @@ MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" \
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/audio/libmpdclient/Makefile b/audio/libmpdclient/Makefile
index 05ad2ad09e8a..748663eeaef7 100644
--- a/audio/libmpdclient/Makefile
+++ b/audio/libmpdclient/Makefile
@@ -14,6 +14,8 @@ GNU_CONFIGURE= yes
USES= gmake pathfix
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/audio/linux-neroaaccodec/Makefile b/audio/linux-neroaaccodec/Makefile
index d4c88c4b6aa9..8277ce9445cb 100644
--- a/audio/linux-neroaaccodec/Makefile
+++ b/audio/linux-neroaaccodec/Makefile
@@ -30,6 +30,8 @@ PORTDOCS= NeroAAC_tut.pdf \
license.txt \
readme.txt
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/audio/listener/Makefile b/audio/listener/Makefile
index bc9ac9b54b03..7325d427c6d4 100644
--- a/audio/listener/Makefile
+++ b/audio/listener/Makefile
@@ -18,6 +18,8 @@ PORTDOCS= manual.html
PLIST_FILES= bin/setlistener bin/listener bin/listenersoundpipe \
etc/listener.conf.sample
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/audio/maplay/Makefile b/audio/maplay/Makefile
index 7089362af357..c6d2734c003b 100644
--- a/audio/maplay/Makefile
+++ b/audio/maplay/Makefile
@@ -19,6 +19,8 @@ NO_STAGE= yes
PLIST_FILES= bin/maplay
PORTDOCS= README
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/audio/mp3asm/Makefile b/audio/mp3asm/Makefile
index b7c7b614e5f8..acd065c7dcc3 100644
--- a/audio/mp3asm/Makefile
+++ b/audio/mp3asm/Makefile
@@ -20,6 +20,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-0.1
PLIST_FILES= bin/mp3asm
PORTDOCS= Changelog README
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-extract:
diff --git a/audio/mp3c/Makefile b/audio/mp3c/Makefile
index c469b4f7484d..b7f39ff6c4c5 100644
--- a/audio/mp3c/Makefile
+++ b/audio/mp3c/Makefile
@@ -23,6 +23,8 @@ NO_STAGE= yes
MAN1= mp3c.1
MANCOMPRESSED= no
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/audio/pure-audio/Makefile b/audio/pure-audio/Makefile
index 81ff037cb76c..779049589d7a 100644
--- a/audio/pure-audio/Makefile
+++ b/audio/pure-audio/Makefile
@@ -31,6 +31,8 @@ PORTDOCS= README
PORTEXAMPLES= *
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-install:
diff --git a/audio/py-eyed3/Makefile b/audio/py-eyed3/Makefile
index 7d4340ed4bc7..bf7b50144021 100644
--- a/audio/py-eyed3/Makefile
+++ b/audio/py-eyed3/Makefile
@@ -32,6 +32,8 @@ MANCOMPRESSED= yes
INSTALLS_EGGINFO= yes
PYDISTUTILS_PKGNAME= eyeD3
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/audio/py-openal/Makefile b/audio/py-openal/Makefile
index bc8df027db8a..adc8e5cf90c5 100644
--- a/audio/py-openal/Makefile
+++ b/audio/py-openal/Makefile
@@ -21,6 +21,8 @@ PYDISTUTILS_PKGNAME= PyOpenAL
WRKSRC= ${WRKDIR}/PyOpenAL-${PORTVERSION}
EXAMPLESDIR= ${PREFIX}/share/examples/py-openal
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/audio/py-pyliblo/Makefile b/audio/py-pyliblo/Makefile
index 55b294f13482..6c2156c24362 100644
--- a/audio/py-pyliblo/Makefile
+++ b/audio/py-pyliblo/Makefile
@@ -22,6 +22,8 @@ LDFLAGS+= -L${LOCALBASE}/lib
MAN1= dump_osc.1 send_osc.1
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/audio/ripit/Makefile b/audio/ripit/Makefile
index 0d1d9959df2a..5ee94bbbf6a1 100644
--- a/audio/ripit/Makefile
+++ b/audio/ripit/Makefile
@@ -29,6 +29,8 @@ USE_BZIP2= yes
SHEBANG_FILES= ripit.pl
perl_OLD_CMD= /usr/bin/env perl
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
do-install:
diff --git a/audio/ruby-taglib/Makefile b/audio/ruby-taglib/Makefile
index 7a0ad9fc670b..8a2830bc47e6 100644
--- a/audio/ruby-taglib/Makefile
+++ b/audio/ruby-taglib/Makefile
@@ -25,6 +25,8 @@ NO_BUILD= yes
DOCS= README
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/audio/shairport/Makefile b/audio/shairport/Makefile
index a4df021a90fa..3e7088b220c3 100644
--- a/audio/shairport/Makefile
+++ b/audio/shairport/Makefile
@@ -33,6 +33,8 @@ PORTDOCS= README.md
REV= b1cb9ea
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/audio/spiralsynth/Makefile b/audio/spiralsynth/Makefile
index e42cdca963c7..311315ef8f99 100644
--- a/audio/spiralsynth/Makefile
+++ b/audio/spiralsynth/Makefile
@@ -23,6 +23,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
DOC_FILES= CHANGES COPYING README
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/audio/squash/Makefile b/audio/squash/Makefile
index 5786a47df64d..87c9f826c86f 100644
--- a/audio/squash/Makefile
+++ b/audio/squash/Makefile
@@ -24,6 +24,8 @@ USES= gmake
USE_RUBY= yes
MAKE_ARGS= CC=${CC}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/audio/streamtranscoder/Makefile b/audio/streamtranscoder/Makefile
index 13a356887d3e..268d0f48537f 100644
--- a/audio/streamtranscoder/Makefile
+++ b/audio/streamtranscoder/Makefile
@@ -24,6 +24,8 @@ LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/streamTranscoder
PORTDOCS= AUTHORS README
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/audio/teamspeak_client/Makefile b/audio/teamspeak_client/Makefile
index 784c82b12958..188d1c56428e 100644
--- a/audio/teamspeak_client/Makefile
+++ b/audio/teamspeak_client/Makefile
@@ -39,6 +39,8 @@ DESKTOP_ENTRIES="TeamSpeak" \
"Network;Telephony;" \
false
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-extract:
diff --git a/audio/timidity++/Makefile b/audio/timidity++/Makefile
index bb3e9166a4d3..18f4ebbcb62d 100644
--- a/audio/timidity++/Makefile
+++ b/audio/timidity++/Makefile
@@ -30,6 +30,8 @@ PLIST_SUB+= TIMID_LIBDIR=${TIMID_LIBDIR} EUCJP_LOCALE=${EUCJP_LOCALE}
EUCJP_LOCALE= ja_JP.eucJP
TIMID_LIBDIR= lib/timidity
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if !defined(PKGNAMESUFFIX)
diff --git a/audio/voipong/Makefile b/audio/voipong/Makefile
index 56ae82d71925..7df54b35bd15 100644
--- a/audio/voipong/Makefile
+++ b/audio/voipong/Makefile
@@ -14,6 +14,8 @@ PORTDOCS= ALGORITHMS AUTHORS ChangeLog COPYING INSTALL KNOWN_BUGS \
LICENSE NEWS README THANKS TODO
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
${MV} ${WRKSRC}/Makefile.bsd ${WRKSRC}/Makefile
diff --git a/benchmarks/blogbench/Makefile b/benchmarks/blogbench/Makefile
index c17c1e989781..7b89d9c10222 100644
--- a/benchmarks/blogbench/Makefile
+++ b/benchmarks/blogbench/Makefile
@@ -19,6 +19,8 @@ PORTDOCS= README
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/benchmarks/bonnie++/Makefile b/benchmarks/bonnie++/Makefile
index ff087318092a..d8523228ae56 100644
--- a/benchmarks/bonnie++/Makefile
+++ b/benchmarks/bonnie++/Makefile
@@ -23,6 +23,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-1.97.1
PORTDOCS= readme.html
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/benchmarks/gtkperf/Makefile b/benchmarks/gtkperf/Makefile
index 61381ebcf1c4..5d136b2b71d0 100644
--- a/benchmarks/gtkperf/Makefile
+++ b/benchmarks/gtkperf/Makefile
@@ -16,6 +16,8 @@ USES= gmake pkgconfig
GNU_CONFIGURE= yes
USE_GNOME= gtk20 gnomeprefix
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/benchmarks/super-smack/Makefile b/benchmarks/super-smack/Makefile
index 6c5d164b2fca..1fcb13c146b8 100644
--- a/benchmarks/super-smack/Makefile
+++ b/benchmarks/super-smack/Makefile
@@ -24,6 +24,9 @@ PGSQL_DESC= Enable PostgreSQL support
MYSQL_DESC= Enable MySQL support
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMYSQL}
diff --git a/biology/biojava/Makefile b/biology/biojava/Makefile
index 8dbc541f2a58..33dd6f0de728 100644
--- a/biology/biojava/Makefile
+++ b/biology/biojava/Makefile
@@ -26,6 +26,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
.if !defined(WITHOUT_TESTS)
diff --git a/biology/consed/Makefile b/biology/consed/Makefile
index 7176663aa5a3..c4b66e4ab21f 100644
--- a/biology/consed/Makefile
+++ b/biology/consed/Makefile
@@ -55,6 +55,8 @@ PORTDOCS= README.txt
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXAMPLES}
diff --git a/biology/finchtv/Makefile b/biology/finchtv/Makefile
index 8baa30643700..b1cfb5ed5e55 100644
--- a/biology/finchtv/Makefile
+++ b/biology/finchtv/Makefile
@@ -20,6 +20,8 @@ STRIP=
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/biology/genpak/Makefile b/biology/genpak/Makefile
index 3a2f166699c0..9330372a5160 100644
--- a/biology/genpak/Makefile
+++ b/biology/genpak/Makefile
@@ -23,6 +23,8 @@ MAN1= Genpak.1 gp_acc.1 gp_adjust.1 gp_cdndev.1 gp_cusage.1 gp_digest.1 \
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
INSTALL_TARGET= install docs
diff --git a/biology/mummer/Makefile b/biology/mummer/Makefile
index 210dd0c2deab..a630c131d6e8 100644
--- a/biology/mummer/Makefile
+++ b/biology/mummer/Makefile
@@ -21,6 +21,8 @@ DOCUMENTS= COPYRIGHT INSTALL LICENSE README
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/biology/njplot/Makefile b/biology/njplot/Makefile
index 5bd019723a73..0f25a7c61acf 100644
--- a/biology/njplot/Makefile
+++ b/biology/njplot/Makefile
@@ -31,6 +31,8 @@ PORTDOCS= njplot.help njplot.html njplot.gif
MAN1= njplot.1 unrooted.1
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.ifdef (WITHOUT_X11)
diff --git a/biology/p5-bioperl-run/Makefile b/biology/p5-bioperl-run/Makefile
index 0bdebb18cd5a..fd24bf7cc198 100644
--- a/biology/p5-bioperl-run/Makefile
+++ b/biology/p5-bioperl-run/Makefile
@@ -130,6 +130,8 @@ MAN3= Bio::Tools::Run::Phylo::Phylip::DrawGram.3 \
# now install all extra stuff (docs, examples, scripts)
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/biology/p5-bioperl/Makefile b/biology/p5-bioperl/Makefile
index fe7cd4ca83b5..76e773513695 100644
--- a/biology/p5-bioperl/Makefile
+++ b/biology/p5-bioperl/Makefile
@@ -985,6 +985,8 @@ MAN3= Bio::Align::AlignI.3 \
# now install all extra stuff (docs, examples, scripts, models)
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/biology/paml/Makefile b/biology/paml/Makefile
index 354246c42fe5..c719bcc28b8d 100644
--- a/biology/paml/Makefile
+++ b/biology/paml/Makefile
@@ -19,6 +19,8 @@ DOC_FILES= MCMCtreeDoc.pdf pamlDOC.pdf pamlFAQs.pdf pamlHistory.txt
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/biology/velvet/Makefile b/biology/velvet/Makefile
index 6f8929b208fc..9b00cae29bc5 100644
--- a/biology/velvet/Makefile
+++ b/biology/velvet/Makefile
@@ -60,6 +60,8 @@ PORTDOCS= ChangeLog Manual.pdf Columbus_manual.pdf
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/cad/cascade/Makefile b/cad/cascade/Makefile
index 382ecbb0b2a0..c28e0273155e 100644
--- a/cad/cascade/Makefile
+++ b/cad/cascade/Makefile
@@ -19,6 +19,8 @@ MAN1= cascade.1
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
do-install:
diff --git a/cad/cider/Makefile b/cad/cider/Makefile
index 8de3a3f5c266..7621669beb15 100644
--- a/cad/cider/Makefile
+++ b/cad/cider/Makefile
@@ -22,6 +22,8 @@ USE_XORG= xt xaw xmu
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
pre-patch:
diff --git a/cad/gdsreader/Makefile b/cad/gdsreader/Makefile
index ceca6fa8424d..feae2f2c1fdd 100644
--- a/cad/gdsreader/Makefile
+++ b/cad/gdsreader/Makefile
@@ -20,6 +20,8 @@ PLIST_DIRS= ${EXAMPLESDIR_REL}
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/cad/geda-gattrib/Makefile b/cad/geda-gattrib/Makefile
index 236f807f0685..2f0101fe5071 100644
--- a/cad/geda-gattrib/Makefile
+++ b/cad/geda-gattrib/Makefile
@@ -29,6 +29,8 @@ CONFIGURE_ARGS= --with-docdir="${DOCSDIR}" --disable-update-mime-database \
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/cad/geda-gschem/Makefile b/cad/geda-gschem/Makefile
index 777decfd030f..c19de150f8df 100644
--- a/cad/geda-gschem/Makefile
+++ b/cad/geda-gschem/Makefile
@@ -30,6 +30,8 @@ CONFIGURE_ARGS= --enable-gdgeda --with-docdir=${DOCSDIR} \
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/cad/kicad/Makefile b/cad/kicad/Makefile
index a7b3c367169a..6d6510df5f23 100644
--- a/cad/kicad/Makefile
+++ b/cad/kicad/Makefile
@@ -39,6 +39,9 @@ WRKSRC= ${WRKDIR}/${SFNAME}
PLIST_SUB= DESKTOPDIR=${DESKTOPDIR:S|^${PREFIX}/||}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/cad/libgeda/Makefile b/cad/libgeda/Makefile
index c1c125f295e5..78d0c4085701 100644
--- a/cad/libgeda/Makefile
+++ b/cad/libgeda/Makefile
@@ -24,6 +24,8 @@ CONFIGURE_ARGS= --disable-update-mime-database \
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/chinese/cless/Makefile b/chinese/cless/Makefile
index ea267634915e..2d4a9368ff55 100644
--- a/chinese/cless/Makefile
+++ b/chinese/cless/Makefile
@@ -13,6 +13,8 @@ GNU_CONFIGURE= yes
CFLAGS+= -DHANZI # LDFLAGS=-s datadir=/usr/local/lib/less
CPP= #
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/chinese/gb2ps/Makefile b/chinese/gb2ps/Makefile
index 6b4fb0867644..aaf1fdccfeb5 100644
--- a/chinese/gb2ps/Makefile
+++ b/chinese/gb2ps/Makefile
@@ -17,6 +17,8 @@ COMMENT= Converts Chinese GB (simple) encoded text to PostScript
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
WRKSRC= ${WRKDIR}/GB2PS
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/chinese/hanzim/Makefile b/chinese/hanzim/Makefile
index 050e40380d1a..e989e21f3f77 100644
--- a/chinese/hanzim/Makefile
+++ b/chinese/hanzim/Makefile
@@ -26,6 +26,8 @@ MAN1= hanzim.1
NO_STAGE= yes
BROKEN_powepc= Does not install on powerpc: signal 11
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/chinese/muni/Makefile b/chinese/muni/Makefile
index 4ebc6379ec85..5dfd7979fe56 100644
--- a/chinese/muni/Makefile
+++ b/chinese/muni/Makefile
@@ -9,6 +9,8 @@ MASTER_SITES= http://www.whizkidtech.redprince.net/i18n/muni/
MAINTAINER= ports@FreeBSD.org
COMMENT= Find Unicode values for Chinese characters
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/chinese/phpbb-tw/Makefile b/chinese/phpbb-tw/Makefile
index c04245777223..4b598b69a5e5 100644
--- a/chinese/phpbb-tw/Makefile
+++ b/chinese/phpbb-tw/Makefile
@@ -53,6 +53,8 @@ EXCEPTFILES= ${PREFIX}/${PHPBBDIR}/install/install.php \
${PREFIX}/${PHPBBDIR}/install/upgrade.php \
${PREFIX}/${PHPBBDIR}/install/update_to_latest.php
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
options:
diff --git a/chinese/phpbb3-tw/Makefile b/chinese/phpbb3-tw/Makefile
index 61f2d570c4e2..9639aa6ef336 100644
--- a/chinese/phpbb3-tw/Makefile
+++ b/chinese/phpbb3-tw/Makefile
@@ -41,6 +41,8 @@ NO_STAGE= yes
PHPBBDIR= ${WWWDOCROOT}/${PHPBBURL}
PKGOPTS= ${FILESDIR}/pkg-opts
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
options:
diff --git a/chinese/pine4/Makefile b/chinese/pine4/Makefile
index 50ab39692db4..bb45a8f45df0 100644
--- a/chinese/pine4/Makefile
+++ b/chinese/pine4/Makefile
@@ -29,6 +29,8 @@ MAN1= pine.1 pico.1 pilot.1
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
pre-fetch:
diff --git a/comms/dabstick-radio/Makefile b/comms/dabstick-radio/Makefile
index 3439c3b81eb9..7d524fba2355 100644
--- a/comms/dabstick-radio/Makefile
+++ b/comms/dabstick-radio/Makefile
@@ -29,6 +29,8 @@ PLIST_FILES+= bin/dabreceiver bin/fmreceiver bin/spectrum-viewer
ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON= uses MMX and SSE2
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if (${OSVERSION} >= 901000) && exists(${DESTDIR}/usr/bin/clang)
diff --git a/comms/dfu-programmer/Makefile b/comms/dfu-programmer/Makefile
index ba7936d46ed1..db4a856977f0 100644
--- a/comms/dfu-programmer/Makefile
+++ b/comms/dfu-programmer/Makefile
@@ -19,6 +19,9 @@ MAN1= dfu-programmer.1
PORTDOCS= *
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/comms/efax/Makefile b/comms/efax/Makefile
index f71182d86b5b..fe2b8173ec9e 100644
--- a/comms/efax/Makefile
+++ b/comms/efax/Makefile
@@ -30,6 +30,8 @@ post-build:
${CAT} ${WRKSRC}/fax.orig | ${SED} -e s!%%PREFIX%%!${PREFIX}!g > \
${WRKSRC}/fax
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/comms/esmska/Makefile b/comms/esmska/Makefile
index 5c88918ff2e4..843998eae352 100644
--- a/comms/esmska/Makefile
+++ b/comms/esmska/Makefile
@@ -23,6 +23,8 @@ PORTDOCS= readme.txt
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/comms/gammu-devel/Makefile b/comms/gammu-devel/Makefile
index 081159b068b8..9770436ae01a 100644
--- a/comms/gammu-devel/Makefile
+++ b/comms/gammu-devel/Makefile
@@ -27,6 +27,8 @@ USE_LDCONFIG= yes
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/comms/ge-x2212/Makefile b/comms/ge-x2212/Makefile
index bf493d1e1849..196cbbf37790 100644
--- a/comms/ge-x2212/Makefile
+++ b/comms/ge-x2212/Makefile
@@ -19,6 +19,9 @@ PLIST_FILES= bin/ge-x2212-2
PORTDOCS= schematic.txt
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/comms/gsmlib/Makefile b/comms/gsmlib/Makefile
index 809aa584273c..50f091160160 100644
--- a/comms/gsmlib/Makefile
+++ b/comms/gsmlib/Makefile
@@ -22,6 +22,8 @@ CPPFLAGS+= -I${LOCALBASE}/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT \
${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/comms/kb/Makefile b/comms/kb/Makefile
index 15c2db60508b..ce581a052859 100644
--- a/comms/kb/Makefile
+++ b/comms/kb/Makefile
@@ -28,6 +28,8 @@ DESKTOP_ENTRIES="KB" \
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
pre-configure:
diff --git a/comms/lrzsz/Makefile b/comms/lrzsz/Makefile
index 9171b48ffbd8..bb8fb220af28 100644
--- a/comms/lrzsz/Makefile
+++ b/comms/lrzsz/Makefile
@@ -15,6 +15,8 @@ LICENSE= GPLv2
GNU_CONFIGURE= yes
ALL_TARGET= all # vcheck
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/comms/py-bulksms/Makefile b/comms/py-bulksms/Makefile
index c605f2bb7699..d561d826f538 100644
--- a/comms/py-bulksms/Makefile
+++ b/comms/py-bulksms/Makefile
@@ -19,6 +19,8 @@ WRKSRC= ${WRKDIR}/bulksms
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/comms/py-serial/Makefile b/comms/py-serial/Makefile
index 3f1cd029edb9..654862a44929 100644
--- a/comms/py-serial/Makefile
+++ b/comms/py-serial/Makefile
@@ -21,6 +21,8 @@ EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-install:
diff --git a/comms/qico/Makefile b/comms/qico/Makefile
index f583752281df..1b2c6dfe45ed 100644
--- a/comms/qico/Makefile
+++ b/comms/qico/Makefile
@@ -26,6 +26,8 @@ PLIST_SUB+= WITH_QICO_MORDA="@comment "
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/comms/scmxx/Makefile b/comms/scmxx/Makefile
index 1dd314661e8d..582064c3ab06 100644
--- a/comms/scmxx/Makefile
+++ b/comms/scmxx/Makefile
@@ -25,6 +25,8 @@ EXAMPLES= sms.txt vCalendar.vcs vCard.vcf
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/comms/uird/Makefile b/comms/uird/Makefile
index 9bf61f00b8bd..89c80ac90f71 100644
--- a/comms/uird/Makefile
+++ b/comms/uird/Makefile
@@ -22,6 +22,8 @@ PORTDOCS= Documentation
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/comms/vrflash/Makefile b/comms/vrflash/Makefile
index 2457be8aa4f3..33e90adfd366 100644
--- a/comms/vrflash/Makefile
+++ b/comms/vrflash/Makefile
@@ -15,6 +15,8 @@ GNU_CONFIGURE= yes
DOCS= agenda-flashing-overview.txt troubleshooting.txt \
pmon-protect-unprotect.txt usage.txt
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/comms/yfklog/Makefile b/comms/yfklog/Makefile
index 4cafb8159039..f6bb9ec8a3ef 100644
--- a/comms/yfklog/Makefile
+++ b/comms/yfklog/Makefile
@@ -27,6 +27,8 @@ MAN1= yfklog.1
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/converters/cl-babel/Makefile b/converters/cl-babel/Makefile
index 31c7a8398d14..44353bedd785 100644
--- a/converters/cl-babel/Makefile
+++ b/converters/cl-babel/Makefile
@@ -24,6 +24,8 @@ USE_ASDF= yes
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
do-install:
@${MKDIR} ${ASDF_PATHNAME}
diff --git a/converters/mule-ucs/Makefile b/converters/mule-ucs/Makefile
index 574bb2bd2043..01f7ba162149 100644
--- a/converters/mule-ucs/Makefile
+++ b/converters/mule-ucs/Makefile
@@ -30,6 +30,8 @@ EMACS_ARGS= -q --no-site-file -batch
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-build:
diff --git a/databases/db41/Makefile b/databases/db41/Makefile
index 5edb9820b3ab..712118736681 100644
--- a/databases/db41/Makefile
+++ b/databases/db41/Makefile
@@ -31,6 +31,8 @@ CONFIGURE_ARGS= --enable-compat185 --enable-dump185 \
--includedir=${STAGEDIR}${PREFIX}/include/db41
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/databases/gqlplus/Makefile b/databases/gqlplus/Makefile
index 11476b6b340c..0ce722cbc387 100644
--- a/databases/gqlplus/Makefile
+++ b/databases/gqlplus/Makefile
@@ -18,6 +18,9 @@ USE_AUTOTOOLS= autoconf automake aclocal
AUTOMAKE_ARGS= --add-missing
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/databases/hsqldb/Makefile b/databases/hsqldb/Makefile
index 707eedd501b1..5a546b9113a0 100644
--- a/databases/hsqldb/Makefile
+++ b/databases/hsqldb/Makefile
@@ -20,6 +20,9 @@ BUILD_WRKSRC= ${WRKSRC}/build
ALL_TARGET= hsqldb hsqljdbc
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/databases/mysql-connector-java/Makefile b/databases/mysql-connector-java/Makefile
index 30521514ce6e..77265cbaebd9 100644
--- a/databases/mysql-connector-java/Makefile
+++ b/databases/mysql-connector-java/Makefile
@@ -28,6 +28,8 @@ JDCLASSPATH= ${SRCDIR}:${CLASSPATH}
PLIST_FILES= %%JAVAJARDIR%%/${DESTJARFILE}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/databases/postgresql-jdbc/Makefile b/databases/postgresql-jdbc/Makefile
index 09e334819b0e..28ecc642b93c 100644
--- a/databases/postgresql-jdbc/Makefile
+++ b/databases/postgresql-jdbc/Makefile
@@ -27,6 +27,8 @@ NO_STAGE= yes
post-patch:
${REINPLACE_CMD} 's,/usr/local/pgsql/share/java,${JAVAJARDIR},' ${WRKSRC}/README
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/databases/postgresql-odbc/Makefile b/databases/postgresql-odbc/Makefile
index e8dcd15d946b..4696f0524d2a 100644
--- a/databases/postgresql-odbc/Makefile
+++ b/databases/postgresql-odbc/Makefile
@@ -37,6 +37,9 @@ PKGNAMESUFFIX= -iodbc
.endif
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
DATADIR_1= ${DATADIR}/odbc
diff --git a/databases/pure-sql3/Makefile b/databases/pure-sql3/Makefile
index 0ab2d5e469be..ae45301ff451 100644
--- a/databases/pure-sql3/Makefile
+++ b/databases/pure-sql3/Makefile
@@ -26,6 +26,8 @@ PORTDOCS= README
PORTEXAMPLES= *
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-install:
diff --git a/databases/tablelog/Makefile b/databases/tablelog/Makefile
index 7ac65a8ef927..0bb6b8079a20 100644
--- a/databases/tablelog/Makefile
+++ b/databases/tablelog/Makefile
@@ -16,6 +16,8 @@ USES= gmake
USE_PGSQL= yes
MAKE_ARGS= USE_PGXS=1
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/deskutils/bmp-docklet/Makefile b/deskutils/bmp-docklet/Makefile
index 3e9f8d51b16a..b3a21ecd0279 100644
--- a/deskutils/bmp-docklet/Makefile
+++ b/deskutils/bmp-docklet/Makefile
@@ -24,6 +24,9 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/deskutils/gcal/Makefile b/deskutils/gcal/Makefile
index 1beaf15ce37d..4d6081affa73 100644
--- a/deskutils/gcal/Makefile
+++ b/deskutils/gcal/Makefile
@@ -18,6 +18,8 @@ SHEBANG_FILES= misc/gcalltx/gcalltxp.in misc/gcalltx/gcalltx.pl
INFO= gcal
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/deskutils/genius/Makefile b/deskutils/genius/Makefile
index 0034a7fd4fa4..cda210b6688b 100644
--- a/deskutils/genius/Makefile
+++ b/deskutils/genius/Makefile
@@ -30,6 +30,9 @@ INSTALLS_ICONS= yes
INSTALLS_OMF= yes
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/deskutils/gimmie/Makefile b/deskutils/gimmie/Makefile
index 7e9e5e436626..16ab9b5357c6 100644
--- a/deskutils/gimmie/Makefile
+++ b/deskutils/gimmie/Makefile
@@ -27,6 +27,9 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/deskutils/gxmessage/Makefile b/deskutils/gxmessage/Makefile
index 6799f6f236d2..047867e7fe4c 100644
--- a/deskutils/gxmessage/Makefile
+++ b/deskutils/gxmessage/Makefile
@@ -19,6 +19,9 @@ INSTALLS_ICONS= yes
MAKE_ARGS+= INSTALL="${INSTALL_PROGRAM}"
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/deskutils/virt-manager/Makefile b/deskutils/virt-manager/Makefile
index efcae1b6f3fb..3769656ad1d4 100644
--- a/deskutils/virt-manager/Makefile
+++ b/deskutils/virt-manager/Makefile
@@ -22,6 +22,9 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.83.2:${PORTSDIR}/devel/py-dbus \
librsvg2>=2.32.1:${PORTSDIR}/graphics/librsvg2
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/deskutils/x-tile/Makefile b/deskutils/x-tile/Makefile
index 9e3dfca47dba..035f1c395d1f 100644
--- a/deskutils/x-tile/Makefile
+++ b/deskutils/x-tile/Makefile
@@ -18,6 +18,9 @@ USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= X_Tile
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/devel/abi-compliance-checker/Makefile b/devel/abi-compliance-checker/Makefile
index 0e30c6718b0b..83610ac78e92 100644
--- a/devel/abi-compliance-checker/Makefile
+++ b/devel/abi-compliance-checker/Makefile
@@ -30,6 +30,9 @@ PLIST_FILES= bin/${PORTNAME}.pl
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
CPPFILT?= /usr/bin/c++filt
diff --git a/devel/api-sanity-autotest/Makefile b/devel/api-sanity-autotest/Makefile
index 909bab557f83..fff04d171330 100644
--- a/devel/api-sanity-autotest/Makefile
+++ b/devel/api-sanity-autotest/Makefile
@@ -31,6 +31,9 @@ PLIST_FILES= bin/${PORTNAME}.pl
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
CPPFILT?= /usr/bin/c++filt
diff --git a/devel/apr1/Makefile b/devel/apr1/Makefile
index 7189a4ed7ac5..2bbd124ffb86 100644
--- a/devel/apr1/Makefile
+++ b/devel/apr1/Makefile
@@ -46,6 +46,8 @@ APU_CONF_ARGS= --with-apr=${APR_WRKDIR} \
--with-expat=${LOCALBASE} \
--with-iconv=${ICONV_PREFIX}
+OPTIONS_DEFINE= IPV6
+
.include <bsd.port.options.mk>
########## APR Options
diff --git a/devel/arduino-irremote/Makefile b/devel/arduino-irremote/Makefile
index 58eb26f30851..49e2ad1512ed 100644
--- a/devel/arduino-irremote/Makefile
+++ b/devel/arduino-irremote/Makefile
@@ -28,6 +28,9 @@ PLIST_FILES= arduino/libraries/IRremote/IRremote.cpp \
PLIST_DIRS= arduino/libraries/IRremote
NO_STAGE= yes
+
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXAMPLES}
diff --git a/devel/cc65/Makefile b/devel/cc65/Makefile
index e6df5f72f8af..d2855c0d1ac2 100644
--- a/devel/cc65/Makefile
+++ b/devel/cc65/Makefile
@@ -28,6 +28,9 @@ SHEBANG_FILES= src/ca65html/ca65html \
SUB_FILES= pkg-message
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/devel/cdk/Makefile b/devel/cdk/Makefile
index 3283d137c469..47ed5c98dea1 100644
--- a/devel/cdk/Makefile
+++ b/devel/cdk/Makefile
@@ -25,6 +25,8 @@ ALL_TARGET= default examples demos cli cdkshlib
INSTALL_TARGET= install installCDKSHLibrary
USE_LDCONFIG= yes
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/devel/cl-cffi/Makefile b/devel/cl-cffi/Makefile
index 9eb6ab068fc4..1b57787dbfb6 100644
--- a/devel/cl-cffi/Makefile
+++ b/devel/cl-cffi/Makefile
@@ -32,6 +32,9 @@ NO_BUILD= yes
USE_ASDF= yes
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
do-install:
diff --git a/devel/cmunge/Makefile b/devel/cmunge/Makefile
index 7c03783b3225..e713a245928e 100644
--- a/devel/cmunge/Makefile
+++ b/devel/cmunge/Makefile
@@ -18,6 +18,8 @@ MAKE_ARGS= CC="${CC} ${CFLAGS}"
PLIST_FILES= bin/cmunge bin/ctran bin/proc-incl
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/devel/ecore-main/Makefile b/devel/ecore-main/Makefile
index d703b030dfeb..e513a0976f6d 100644
--- a/devel/ecore-main/Makefile
+++ b/devel/ecore-main/Makefile
@@ -24,6 +24,9 @@ USE_LDCONFIG= yes
EXAMPLESDIR= ${PREFIX}/share/examples/ecore
.include "Makefile.inc"
+
+OPTIONS_DEFINE= NLS EXAMPLES
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/devel/edb/Makefile b/devel/edb/Makefile
index 7687120938d3..9770a7701035 100644
--- a/devel/edb/Makefile
+++ b/devel/edb/Makefile
@@ -27,6 +27,8 @@ ONLY_FOR_ARCHS= i386 amd64
STRIP_FILES= bin/${PORTNAME} libexec/${PORTNAME}/*.so
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/devel/eet/Makefile b/devel/eet/Makefile
index 20685ab2f01c..58905d8f20c3 100644
--- a/devel/eet/Makefile
+++ b/devel/eet/Makefile
@@ -26,6 +26,8 @@ USE_LDCONFIG= yes
CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC} -L${OPENSSLLIB}" OPENSSL_LIBS="-lssl"
CONFIGURE_ARGS= --disable-gnutls
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXAMPLES}
diff --git a/devel/eina/Makefile b/devel/eina/Makefile
index 25f85bb70a65..2a04a1e68d92 100644
--- a/devel/eina/Makefile
+++ b/devel/eina/Makefile
@@ -21,6 +21,8 @@ USE_LDCONFIG= yes
CONFIGURE_ARGS= --enable-amalgamation
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXAMPLES}
diff --git a/devel/elfio/Makefile b/devel/elfio/Makefile
index d6f826b00839..85137996a82d 100644
--- a/devel/elfio/Makefile
+++ b/devel/elfio/Makefile
@@ -24,6 +24,9 @@ OPTIONE_DEFINE= EXAMPLES DOCS
PORTDOCS= *
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXAMPLES}
diff --git a/devel/flatzebra/Makefile b/devel/flatzebra/Makefile
index 89bbbd828d88..1acfa91a5a2d 100644
--- a/devel/flatzebra/Makefile
+++ b/devel/flatzebra/Makefile
@@ -23,6 +23,9 @@ DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS= AUTHORS COPYING INSTALL NEWS README TODO THANKS
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/devel/flick/Makefile b/devel/flick/Makefile
index aba6a1b40d77..f62c93a66a93 100644
--- a/devel/flick/Makefile
+++ b/devel/flick/Makefile
@@ -22,6 +22,9 @@ GNU_CONFIGURE= yes
MAKEFILE= GNUmakefile
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/devel/fnccheck/Makefile b/devel/fnccheck/Makefile
index 2806264a8ca8..368464e5f984 100644
--- a/devel/fnccheck/Makefile
+++ b/devel/fnccheck/Makefile
@@ -27,6 +27,9 @@ STRIP= # none
INFO= libfc
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
# should be same as binutils
diff --git a/devel/geoip-java/Makefile b/devel/geoip-java/Makefile
index bc8c6e089053..c305014e9cf7 100644
--- a/devel/geoip-java/Makefile
+++ b/devel/geoip-java/Makefile
@@ -26,6 +26,9 @@ PORTDOCS= *
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
pre-build:
diff --git a/devel/gnulib/Makefile b/devel/gnulib/Makefile
index 4654fb10fccd..2a0a793e8e98 100644
--- a/devel/gnulib/Makefile
+++ b/devel/gnulib/Makefile
@@ -24,6 +24,8 @@ PORTDATA= *
IGNORE= gnulib requires port data, unset NOPORTDATA to install
.endif
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/devel/hgview/Makefile b/devel/hgview/Makefile
index 4ad9534d9908..856817a345e1 100644
--- a/devel/hgview/Makefile
+++ b/devel/hgview/Makefile
@@ -28,6 +28,9 @@ PORTDOCS= *
MAN1= hgview.1
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/devel/jakarta-commons-daemon/Makefile b/devel/jakarta-commons-daemon/Makefile
index dfc8e5877dd5..a41025bdac57 100644
--- a/devel/jakarta-commons-daemon/Makefile
+++ b/devel/jakarta-commons-daemon/Makefile
@@ -30,6 +30,9 @@ PLIST_FILES= bin/jsvc %%JAVAJARDIR%%/${PORTNAME}.jar
PORTDOCS= *
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/devel/jna/Makefile b/devel/jna/Makefile
index c755e4d5b5b5..d5ce0346a5a0 100644
--- a/devel/jna/Makefile
+++ b/devel/jna/Makefile
@@ -27,6 +27,8 @@ GH_COMMIT= 9b7ba38
PLIST_FILES= %%JAVAJARDIR%%/jna-platform.jar \
%%JAVAJARDIR%%/jna.jar
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/devel/kdesvn-kde4/Makefile b/devel/kdesvn-kde4/Makefile
index d0c440e796d7..5f477fa7ac64 100644
--- a/devel/kdesvn-kde4/Makefile
+++ b/devel/kdesvn-kde4/Makefile
@@ -24,6 +24,8 @@ USE_LDCONFIG= yes
USE_QT4= corelib gui xml network dbus svg qt3support sql \
qmake_build moc_build rcc_build uic_build linguist_build
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/devel/libbobcat/Makefile b/devel/libbobcat/Makefile
index 661ce87f7684..45fc1273623f 100644
--- a/devel/libbobcat/Makefile
+++ b/devel/libbobcat/Makefile
@@ -39,6 +39,8 @@ SHEBANG_FILES= build \
documentation/examples/sockets/forkserver2/build \
documentation/examples/sockets/server/build
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/devel/libplist/Makefile b/devel/libplist/Makefile
index b4e6b45cb779..9d7538675b88 100644
--- a/devel/libplist/Makefile
+++ b/devel/libplist/Makefile
@@ -27,6 +27,9 @@ USE_LDCONFIG= ${LOCALBASE}/lib
PORTDOCS= AUTHORS NEWS README
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/devel/libublio/Makefile b/devel/libublio/Makefile
index 2b5db3305fae..8f8090ad18a5 100644
--- a/devel/libublio/Makefile
+++ b/devel/libublio/Makefile
@@ -23,6 +23,8 @@ MAKE_ENV+= SRCCONF=${SRCCONF}
NEED_ROOT= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-extract:
diff --git a/devel/libvirt-java/Makefile b/devel/libvirt-java/Makefile
index 9d2c2972b49e..fda4d6754ada 100644
--- a/devel/libvirt-java/Makefile
+++ b/devel/libvirt-java/Makefile
@@ -30,6 +30,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/java|${JAVAJARDIR}|' \
${WRKSRC}/build.properties
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-build-script:
diff --git a/devel/love/Makefile b/devel/love/Makefile
index 136541c33560..3c7768dbd5a4 100644
--- a/devel/love/Makefile
+++ b/devel/love/Makefile
@@ -36,6 +36,8 @@ PLIST_FILES= bin/love
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/devel/love07/Makefile b/devel/love07/Makefile
index 2dcd54ffb45d..3bcada7b44ba 100644
--- a/devel/love07/Makefile
+++ b/devel/love07/Makefile
@@ -41,6 +41,8 @@ PLIST_FILES= bin/love07
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}07
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/devel/luafilesystem/Makefile b/devel/luafilesystem/Makefile
index 05a18d322b99..603f7b23fa96 100644
--- a/devel/luafilesystem/Makefile
+++ b/devel/luafilesystem/Makefile
@@ -28,6 +28,9 @@ PORTDOCS= *
MAKE_ARGS+= INCS="-I${LOCALBASE}/include/${LUA_SUBDIR}"
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/devel/monotone/Makefile b/devel/monotone/Makefile
index 39504973188e..4bdf9728b5ac 100644
--- a/devel/monotone/Makefile
+++ b/devel/monotone/Makefile
@@ -57,6 +57,8 @@ PLIST_FILES+= man/man1/mtn.1.gz \
.endif
PORTDOCS= *
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/devel/motor/Makefile b/devel/motor/Makefile
index b40569cc9e96..96f7bf17416c 100644
--- a/devel/motor/Makefile
+++ b/devel/motor/Makefile
@@ -17,6 +17,9 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/devel/ncc/Makefile b/devel/ncc/Makefile
index 5f2e49dd3cea..a7d55ff14abf 100644
--- a/devel/ncc/Makefile
+++ b/devel/ncc/Makefile
@@ -24,6 +24,9 @@ LINKS= nccar nccld nccc++ nccg++
MAN1= ncc.1
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/devel/obby/Makefile b/devel/obby/Makefile
index b0bdf4f4e668..d6c6bb35b6f3 100644
--- a/devel/obby/Makefile
+++ b/devel/obby/Makefile
@@ -18,6 +18,8 @@ USES= pathfix pkgconfig
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/devel/ocaml-camlp5/Makefile b/devel/ocaml-camlp5/Makefile
index 49480c24a1df..089bd0dbd3d2 100644
--- a/devel/ocaml-camlp5/Makefile
+++ b/devel/ocaml-camlp5/Makefile
@@ -25,6 +25,9 @@ TRANSITIONAL_DESC= Compatible syntax tree with old versions
STRICT_DESC= New syntax tree quotations kit
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
PATCHLEVEL= 1
diff --git a/devel/ocaml-typeconv/Makefile b/devel/ocaml-typeconv/Makefile
index 011c1963a185..ac7c25ea972a 100644
--- a/devel/ocaml-typeconv/Makefile
+++ b/devel/ocaml-typeconv/Makefile
@@ -28,6 +28,9 @@ DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME:S,-,_,}
PORTDOCS= *
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/devel/p5-DateTime-Locale/Makefile b/devel/p5-DateTime-Locale/Makefile
index 2850b2cdbc70..ff40056413bd 100644
--- a/devel/p5-DateTime-Locale/Makefile
+++ b/devel/p5-DateTime-Locale/Makefile
@@ -18,6 +18,8 @@ BUILD_DEPENDS:= ${RUN_DEPENDS}
USES= perl5
USE_PERL5= modbuild
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/devel/p5-DateTime-TimeZone/Makefile b/devel/p5-DateTime-TimeZone/Makefile
index f9b2a38a3c14..6b6011451167 100644
--- a/devel/p5-DateTime-TimeZone/Makefile
+++ b/devel/p5-DateTime-TimeZone/Makefile
@@ -24,6 +24,8 @@ USE_PERL5= configure
PORTDOCS= Changes README
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/devel/p5-Devel-Cover/Makefile b/devel/p5-Devel-Cover/Makefile
index 7a053823df40..d32982fbf972 100644
--- a/devel/p5-Devel-Cover/Makefile
+++ b/devel/p5-Devel-Cover/Makefile
@@ -26,6 +26,8 @@ USE_PERL5= configure
PORTDOCS= README
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/devel/p5-Locale-Maketext-Lexicon/Makefile b/devel/p5-Locale-Maketext-Lexicon/Makefile
index d344d5fa6464..84b354f7ccfe 100644
--- a/devel/p5-Locale-Maketext-Lexicon/Makefile
+++ b/devel/p5-Locale-Maketext-Lexicon/Makefile
@@ -18,6 +18,8 @@ RUN_DEPENDS= p5-Locale-Maketext>=1.17:${PORTSDIR}/devel/p5-Locale-Maketext
USES= perl5
USE_PERL5= configure
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/devel/p5-Params-Check/Makefile b/devel/p5-Params-Check/Makefile
index 5fb9cc6318d7..82cadc8182cf 100644
--- a/devel/p5-Params-Check/Makefile
+++ b/devel/p5-Params-Check/Makefile
@@ -18,6 +18,8 @@ USE_PERL5= configure
PORTDOCS= CHANGES
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/devel/p5-SVN-Access/Makefile b/devel/p5-SVN-Access/Makefile
index 23dbf2d4f789..9fcff7342d23 100644
--- a/devel/p5-SVN-Access/Makefile
+++ b/devel/p5-SVN-Access/Makefile
@@ -18,6 +18,8 @@ RUN_DEPENDS= p5-subversion>=0:${PORTSDIR}/devel/p5-subversion \
USES= perl5
USE_PERL5= configure
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXAMPLES}
diff --git a/devel/p5-Term-ProgressBar/Makefile b/devel/p5-Term-ProgressBar/Makefile
index ebe5403098ba..987917fbd525 100644
--- a/devel/p5-Term-ProgressBar/Makefile
+++ b/devel/p5-Term-ProgressBar/Makefile
@@ -25,6 +25,8 @@ USE_PERL5= configure
post-patch:
${REINPLACE_CMD} -e 's|Term-ProgressBar|Term/ProgressBar|' ${WRKSRC}/Makefile.PL
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
post-install:
diff --git a/devel/perlconsole/Makefile b/devel/perlconsole/Makefile
index d05094145cd7..049ca99e1e17 100644
--- a/devel/perlconsole/Makefile
+++ b/devel/perlconsole/Makefile
@@ -32,6 +32,8 @@ PLIST_FILES= bin/perlconsole \
PLIST_DIRS= ${SITE_PERL_REL}/PerlConsole
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/devel/pure-ffi/Makefile b/devel/pure-ffi/Makefile
index 08abc4313e46..76e62890f638 100644
--- a/devel/pure-ffi/Makefile
+++ b/devel/pure-ffi/Makefile
@@ -26,6 +26,8 @@ PORTDOCS= README
PORTEXAMPLES= *
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-install:
diff --git a/devel/pure-gen/Makefile b/devel/pure-gen/Makefile
index 2d2b35d531bf..8e10ca08d3e9 100644
--- a/devel/pure-gen/Makefile
+++ b/devel/pure-gen/Makefile
@@ -32,6 +32,8 @@ PORTDOCS= README README.dump-ast
PORTEXAMPLES= *
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-install:
diff --git a/devel/pure-readline/Makefile b/devel/pure-readline/Makefile
index f0d9bba8a16d..1371ea8d5ba8 100644
--- a/devel/pure-readline/Makefile
+++ b/devel/pure-readline/Makefile
@@ -22,6 +22,8 @@ NO_STAGE= yes
PORTDOCS= README
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/devel/py-babel/Makefile b/devel/py-babel/Makefile
index 1c9a64b55aae..e0219a2a1326 100644
--- a/devel/py-babel/Makefile
+++ b/devel/py-babel/Makefile
@@ -19,6 +19,8 @@ PYDISTUTILS_AUTOPLIST= yes
PORTDOCS= docs/*
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/devel/py-icalendar/Makefile b/devel/py-icalendar/Makefile
index 9ef51bda3736..78618ad83748 100644
--- a/devel/py-icalendar/Makefile
+++ b/devel/py-icalendar/Makefile
@@ -22,6 +22,9 @@ DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
PORTDOCS= *
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/devel/py-jsmin/Makefile b/devel/py-jsmin/Makefile
index f2d977aeb72f..19043dba0eb9 100644
--- a/devel/py-jsmin/Makefile
+++ b/devel/py-jsmin/Makefile
@@ -19,6 +19,9 @@ PORTDOCS= PKG-INFO
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/devel/py-usb/Makefile b/devel/py-usb/Makefile
index 3f54e74ddda7..d3e85753526f 100644
--- a/devel/py-usb/Makefile
+++ b/devel/py-usb/Makefile
@@ -19,6 +19,9 @@ PYDISTUTILS_PKGNAME= py${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
NO_STAGE= yes
+
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
post-install:
diff --git a/devel/pyst/Makefile b/devel/pyst/Makefile
index aed1d939a8ca..73ea393b3e66 100644
--- a/devel/pyst/Makefile
+++ b/devel/pyst/Makefile
@@ -17,6 +17,8 @@ USE_PYDISTUTILS= yes
PORTDOCS= README README.html ChangeLog
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/devel/qjson/Makefile b/devel/qjson/Makefile
index 77835d2e2164..a222c89c4039 100644
--- a/devel/qjson/Makefile
+++ b/devel/qjson/Makefile
@@ -18,6 +18,9 @@ USE_LDCONFIG= yes
PORTDOCS= *
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/devel/ruby-locale/Makefile b/devel/ruby-locale/Makefile
index 30b2406200e9..5c61a8a6c198 100644
--- a/devel/ruby-locale/Makefile
+++ b/devel/ruby-locale/Makefile
@@ -21,6 +21,8 @@ USE_RUBY_EXTCONF= yes
INSTALL_TARGET= site-install
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
diff --git a/devel/rubygem-term-ansicolor/Makefile b/devel/rubygem-term-ansicolor/Makefile
index 8a0f4970fe8d..20e3949d5505 100644
--- a/devel/rubygem-term-ansicolor/Makefile
+++ b/devel/rubygem-term-ansicolor/Makefile
@@ -20,6 +20,9 @@ PLIST_FILES+= bin/colortab bin/term_display bin/term_mandel
PORTEXAMPLES= cdiff decolor
NO_STAGE= yes
+
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/devel/tclcheck/Makefile b/devel/tclcheck/Makefile
index 3d29d426edfe..ec002c668331 100644
--- a/devel/tclcheck/Makefile
+++ b/devel/tclcheck/Makefile
@@ -19,6 +19,9 @@ PLIST_FILES= bin/tclCheck
PORTDOCS= *
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/devel/tclcl/Makefile b/devel/tclcl/Makefile
index 29386b0716e1..4c8361a26d76 100644
--- a/devel/tclcl/Makefile
+++ b/devel/tclcl/Makefile
@@ -21,6 +21,8 @@ USE_AUTOTOOLS= autoconf
GNU_CONFIGURE= yes
PORTDOCS= CHANGES.html TODO.html
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
# We have to link against the same Tcl/Tk version as OTcl does
diff --git a/devel/tclxml/Makefile b/devel/tclxml/Makefile
index 63cabcbecdf3..adb1110b9024 100644
--- a/devel/tclxml/Makefile
+++ b/devel/tclxml/Makefile
@@ -26,6 +26,9 @@ CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \
PLIST_SUB= VER=${PORTVERSION}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/devel/udis86/Makefile b/devel/udis86/Makefile
index 42d535f59c6f..e1e66e00aac1 100644
--- a/devel/udis86/Makefile
+++ b/devel/udis86/Makefile
@@ -23,6 +23,8 @@ CONFIGURE_ARGS= --without-sphinx-build --enable-shared
INFO= udis86
PORTDOCS= x86
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/dns/hostdb/Makefile b/dns/hostdb/Makefile
index 75afa6021b06..27eca8316e43 100644
--- a/dns/hostdb/Makefile
+++ b/dns/hostdb/Makefile
@@ -16,6 +16,9 @@ HOSTDB_EXAMPLES_DIRS= example1/out example1/ example2 hiddenmaster
HOSTDB_EXAMPLES_DIRS+= mailserverexample/out mailserverexample
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
pre-install:
diff --git a/dns/maradns/Makefile b/dns/maradns/Makefile
index 4327df93a50e..94a6f3c40afd 100644
--- a/dns/maradns/Makefile
+++ b/dns/maradns/Makefile
@@ -23,6 +23,8 @@ USE_RC_SUBR= ${PORTNAME} zoneserver
USERS= bind
GROUPS= bind
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/dns/mydns/Makefile b/dns/mydns/Makefile
index 842984992d94..9cfb6d5bb6bf 100644
--- a/dns/mydns/Makefile
+++ b/dns/mydns/Makefile
@@ -27,6 +27,9 @@ MAN8= mydns.8 mydnscheck.8 mydnsexport.8 mydnsimport.8 mydnsptrconvert.8 mydns-
DOCS= AUTHORS COPYING ChangeLog NEWS QUICKSTART.mysql QUICKSTART.postgres README TODO
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MALIAS}
diff --git a/dns/py-dns/Makefile b/dns/py-dns/Makefile
index 8635165c7f7a..d5140f6d210f 100644
--- a/dns/py-dns/Makefile
+++ b/dns/py-dns/Makefile
@@ -25,6 +25,9 @@ DOCS= README.txt README-guido.txt
DOCSDIR= ${PREFIX}/share/doc/py-dns
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/dns/rbldnsd/Makefile b/dns/rbldnsd/Makefile
index f933c58db654..a5d75620a810 100644
--- a/dns/rbldnsd/Makefile
+++ b/dns/rbldnsd/Makefile
@@ -24,6 +24,9 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/dns/samba-nsupdate/Makefile b/dns/samba-nsupdate/Makefile
index fc9c575f99be..a09e05af3344 100644
--- a/dns/samba-nsupdate/Makefile
+++ b/dns/samba-nsupdate/Makefile
@@ -38,6 +38,8 @@ CONFIGURE_ARGS+= \
NO_STAGE= yes
+OPTIONS_DEFINE= IPV6
+
.include <bsd.port.options.mk>
.include <bsd.port.pre.mk>
diff --git a/dns/walker/Makefile b/dns/walker/Makefile
index 8dcea7b4e8d5..a431f570615f 100644
--- a/dns/walker/Makefile
+++ b/dns/walker/Makefile
@@ -20,6 +20,8 @@ NO_BUILD= yes
PLIST_FILES= bin/walker man/man1/walker.1.gz
PORTDOCS= index.html
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/editors/hnb/Makefile b/editors/hnb/Makefile
index 91322dba87ae..29c446f551a6 100644
--- a/editors/hnb/Makefile
+++ b/editors/hnb/Makefile
@@ -19,6 +19,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${ARCH} != "i386"
diff --git a/editors/nano-devel/Makefile b/editors/nano-devel/Makefile
index 1d9cf8326c91..2444f3599a26 100644
--- a/editors/nano-devel/Makefile
+++ b/editors/nano-devel/Makefile
@@ -20,6 +20,8 @@ CONFIGURE_ARGS= --docdir=${DOCSDIR}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/editors/nano/Makefile b/editors/nano/Makefile
index e6863c750f81..1f61d2c848ea 100644
--- a/editors/nano/Makefile
+++ b/editors/nano/Makefile
@@ -21,6 +21,8 @@ CONFIGURE_ARGS= --docdir=${DOCSDIR}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/editors/ssed/Makefile b/editors/ssed/Makefile
index 62bcca9fc9ed..0245521652ab 100644
--- a/editors/ssed/Makefile
+++ b/editors/ssed/Makefile
@@ -14,6 +14,8 @@ COMMENT= Super-sed - a heavily enhanced version of sed
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=s
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/editors/zoinks/Makefile b/editors/zoinks/Makefile
index 6049f45492cd..780b0d0548a3 100644
--- a/editors/zoinks/Makefile
+++ b/editors/zoinks/Makefile
@@ -21,6 +21,9 @@ USE_XORG= xpm
GNU_CONFIGURE= yes
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/emulators/gxmame/Makefile b/emulators/gxmame/Makefile
index c596f74ecb27..ca1e104792c5 100644
--- a/emulators/gxmame/Makefile
+++ b/emulators/gxmame/Makefile
@@ -23,6 +23,9 @@ LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-xmame-dir=${LOCALBASE}/share/xmame
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/emulators/openmsx/Makefile b/emulators/openmsx/Makefile
index 64436036d2f9..aff9de15ba27 100644
--- a/emulators/openmsx/Makefile
+++ b/emulators/openmsx/Makefile
@@ -33,6 +33,8 @@ PLIST_FILES= bin/openmsx
PORTDATA= *
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.ifdef NOPORTDATA
diff --git a/emulators/prodosemu/Makefile b/emulators/prodosemu/Makefile
index e07dbb4be06e..d5562e5c4531 100644
--- a/emulators/prodosemu/Makefile
+++ b/emulators/prodosemu/Makefile
@@ -20,6 +20,9 @@ PLIST_FILES= bin/prodos share/apple2/prodos-2e.rom
PLIST_DIRS= share/apple2
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/emulators/stonx/Makefile b/emulators/stonx/Makefile
index 375dc721f765..f56a5a0501d9 100644
--- a/emulators/stonx/Makefile
+++ b/emulators/stonx/Makefile
@@ -37,6 +37,8 @@ DOCS= ../COPYING AUTHORS DEBUGGING INSTALL README RELEASE_NOTES \
FONTS= System0-iso.pcf System0.pcf System1-iso.pcf System1.pcf \
System2-iso.pcf System2.pcf
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
pre-build:
diff --git a/emulators/tiemu3/Makefile b/emulators/tiemu3/Makefile
index f59d811db523..eb62f6377898 100644
--- a/emulators/tiemu3/Makefile
+++ b/emulators/tiemu3/Makefile
@@ -28,6 +28,9 @@ CONFIGURE_ARGS= --disable-gdb
MAN1= tiemu.1
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/emulators/tme/Makefile b/emulators/tme/Makefile
index fd07fa722c77..84ed1a8874f7 100644
--- a/emulators/tme/Makefile
+++ b/emulators/tme/Makefile
@@ -37,6 +37,9 @@ LDFLAGS+= -L${WRKSRC}/ic/ieee754/.libs
LDFLAGS+= -L${LOCALBASE}/lib
NO_STAGE= yes
+
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/emulators/vmw/Makefile b/emulators/vmw/Makefile
index 43c1dcb69db9..3f0d300cecb5 100644
--- a/emulators/vmw/Makefile
+++ b/emulators/vmw/Makefile
@@ -15,6 +15,8 @@ USES= iconv
SBINS= vmw vmshrink vmftp
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/finance/grisbi/Makefile b/finance/grisbi/Makefile
index f7b426c1950e..43e7e9989aa7 100644
--- a/finance/grisbi/Makefile
+++ b/finance/grisbi/Makefile
@@ -28,6 +28,9 @@ CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/ftp/ftpcopy/Makefile b/ftp/ftpcopy/Makefile
index 64fdc18f6233..5b000f8b2c04 100644
--- a/ftp/ftpcopy/Makefile
+++ b/ftp/ftpcopy/Makefile
@@ -14,6 +14,8 @@ USE_PERL5= build
WRKSRC= ${WRKDIR}/web/${DISTNAME}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
pre-build:
diff --git a/games/actx/Makefile b/games/actx/Makefile
index 788812e88d78..7839e90a8fb9 100644
--- a/games/actx/Makefile
+++ b/games/actx/Makefile
@@ -20,6 +20,9 @@ MANLANG= "" ja
ACTXDIR= ${PREFIX}/share/examples/actx
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-extract:
diff --git a/games/banihstypos/Makefile b/games/banihstypos/Makefile
index 08991ad41f14..174182b391a6 100644
--- a/games/banihstypos/Makefile
+++ b/games/banihstypos/Makefile
@@ -16,6 +16,8 @@ SUB_LIST= PORTNAME=${PORTNAME}
PLIST_FILES= bin/banihstypos
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MDOCS}
diff --git a/games/boswars/Makefile b/games/boswars/Makefile
index c5751ffaf3cb..99ea147192e7 100644
--- a/games/boswars/Makefile
+++ b/games/boswars/Makefile
@@ -32,6 +32,9 @@ DESKTOP_ENTRIES= "Bos Wars" "${COMMENT}" "" \
PORTDOCS= *
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/games/castlevox/Makefile b/games/castlevox/Makefile
index 648c3ddb25f9..a9658827084b 100644
--- a/games/castlevox/Makefile
+++ b/games/castlevox/Makefile
@@ -26,6 +26,9 @@ DESKTOP_ENTRIES="Castle Vox" "${COMMENT}" \
"${PORTNAME}" "Game;StrategyGame;" false
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/games/critterding/Makefile b/games/critterding/Makefile
index b256261a9d66..a621a287eddd 100644
--- a/games/critterding/Makefile
+++ b/games/critterding/Makefile
@@ -25,6 +25,8 @@ USE_GCC= yes
PORTDOCS= README AUTHORS Changelog
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/games/cultivation/Makefile b/games/cultivation/Makefile
index 299e781d3570..abca728359d3 100644
--- a/games/cultivation/Makefile
+++ b/games/cultivation/Makefile
@@ -24,6 +24,9 @@ MAKE_ARGS= CXX=${CXX}
PORTDOCS= changeLog.txt how_to_play.txt
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/games/dangen/Makefile b/games/dangen/Makefile
index 95c1e7be4adb..84c6d6b91524 100644
--- a/games/dangen/Makefile
+++ b/games/dangen/Makefile
@@ -26,6 +26,8 @@ PLIST_FILES= bin/${PORTNAME} \
PORTDOCS= *
PORTDATA= *
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/games/dungeon/Makefile b/games/dungeon/Makefile
index 8e7928641e1f..063b31a01951 100644
--- a/games/dungeon/Makefile
+++ b/games/dungeon/Makefile
@@ -35,6 +35,9 @@ MAKE_FLAGS+= DATADIR=${DATADIR}
MAKE_ENV+= GDT_FLAG=-DHAVE_GDT
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
pre-patch:
diff --git a/games/ember/Makefile b/games/ember/Makefile
index ab04d0f5de8a..46a2e0d592ec 100644
--- a/games/ember/Makefile
+++ b/games/ember/Makefile
@@ -41,6 +41,9 @@ CPPFLAGS+= -DBR_NO_MACROS
USE_GCC= 4.7+
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/games/fishsupper/Makefile b/games/fishsupper/Makefile
index 7be7f9a8b92d..99376496ef23 100644
--- a/games/fishsupper/Makefile
+++ b/games/fishsupper/Makefile
@@ -31,6 +31,8 @@ DESKTOP_ENTRIES="Fish Supper" \
"Game;ArcadeGame;" \
false
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${OSVERSION} > 1000000
diff --git a/games/freecol/Makefile b/games/freecol/Makefile
index 92cbb654c0e0..07bd5f22c22e 100644
--- a/games/freecol/Makefile
+++ b/games/freecol/Makefile
@@ -29,6 +29,9 @@ PORTDOCS= *
DESKTOP_ENTRIES="FreeCol" "${COMMENT}" "${DATADIR}/freecol.xpm" "freecol" "Game;StrategyGame;" "false"
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-extract:
diff --git a/games/galaxymage/Makefile b/games/galaxymage/Makefile
index 2fb4724da267..e4ac694fd259 100644
--- a/games/galaxymage/Makefile
+++ b/games/galaxymage/Makefile
@@ -20,6 +20,8 @@ NO_BUILD= yes
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-configure:
diff --git a/games/gl-117/Makefile b/games/gl-117/Makefile
index 468b2e1b5626..c2fa64cdad40 100644
--- a/games/gl-117/Makefile
+++ b/games/gl-117/Makefile
@@ -28,6 +28,9 @@ DESKTOP_ENTRIES= "GL-117" \
MAN6= gl-117.6
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/games/glchess/Makefile b/games/glchess/Makefile
index cd40d255b09b..2a4e683cf7dc 100644
--- a/games/glchess/Makefile
+++ b/games/glchess/Makefile
@@ -20,6 +20,9 @@ USE_PYDISTUTILS= yes
GCONF_SCHEMAS= glchess.schemas
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/games/gnomechess/Makefile b/games/gnomechess/Makefile
index 6b99f45f2046..dd45b7410a0f 100644
--- a/games/gnomechess/Makefile
+++ b/games/gnomechess/Makefile
@@ -29,6 +29,8 @@ LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ARGS= XML_I18N_UPDATE="${TRUE}" XML_I18N_EXTRACT="${TRUE}"
DATADIR= ${PREFIX}/share/gnome-chess
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/games/goonies/Makefile b/games/goonies/Makefile
index f202701ffea4..42952b21d62a 100644
--- a/games/goonies/Makefile
+++ b/games/goonies/Makefile
@@ -26,6 +26,8 @@ PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *
PORTDATA= *
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${ARCH} == "sparc64"
diff --git a/games/jvgs/Makefile b/games/jvgs/Makefile
index e857e09bf576..9299712b767b 100644
--- a/games/jvgs/Makefile
+++ b/games/jvgs/Makefile
@@ -26,6 +26,8 @@ PLIST_FILES= bin/${PORTNAME} libexec/${PORTNAME}
PORTDOCS= *
PORTDATA= *
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/games/knights-kde4/Makefile b/games/knights-kde4/Makefile
index 11b01216ee65..6f2a17f91638 100644
--- a/games/knights-kde4/Makefile
+++ b/games/knights-kde4/Makefile
@@ -19,6 +19,8 @@ USES= cmake:outsource
USE_KDE4= kdelibs kdehier kdeprefix automoc4 workspace libkdegames
USE_QT4= qmake_build moc_build rcc_build uic_build
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MDOCS}
diff --git a/games/lpairs/Makefile b/games/lpairs/Makefile
index f3a9a41df5fd..4f4040ef92d2 100644
--- a/games/lpairs/Makefile
+++ b/games/lpairs/Makefile
@@ -15,6 +15,8 @@ USE_SDL= sdl
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/games/ltris/Makefile b/games/ltris/Makefile
index 1f0193dc669f..d9f9a2330e16 100644
--- a/games/ltris/Makefile
+++ b/games/ltris/Makefile
@@ -17,6 +17,8 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --localstatedir=${DATADIR}
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/games/mindfocus/Makefile b/games/mindfocus/Makefile
index a7a507d20bc8..000e5514de69 100644
--- a/games/mindfocus/Makefile
+++ b/games/mindfocus/Makefile
@@ -18,6 +18,9 @@ RESTRICTED= 'contains commercial character data'
DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/games/monsterz/Makefile b/games/monsterz/Makefile
index 16d9a9a663b8..b84943095e89 100644
--- a/games/monsterz/Makefile
+++ b/games/monsterz/Makefile
@@ -33,6 +33,9 @@ DESKTOP_ENTRIES="Monsterz" "${COMMENT}" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" false
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/games/nethack33/Makefile b/games/nethack33/Makefile
index 80639ef58a48..edf315ded4c3 100644
--- a/games/nethack33/Makefile
+++ b/games/nethack33/Makefile
@@ -46,6 +46,8 @@ GRAPHICS= # none
NO_STAGE= yes
.include <bsd.port.pre.mk>
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if !exists(${PREFIX}/bin/${HACKLINK}) && ${HACKNAME} != ${HACKLINK}
diff --git a/games/nethack34/Makefile b/games/nethack34/Makefile
index 3a6f0fb61164..5404b5937455 100644
--- a/games/nethack34/Makefile
+++ b/games/nethack34/Makefile
@@ -81,6 +81,8 @@ pre-everything::
${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" ; \
fi
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/games/nettoe/Makefile b/games/nettoe/Makefile
index 1937711b2207..04db24eb6425 100644
--- a/games/nettoe/Makefile
+++ b/games/nettoe/Makefile
@@ -18,6 +18,8 @@ USES= gmake
GNU_CONFIGURE= yes
PORTDOCS= AUTHORS BUGS ChangeLog NEWS README TO-DO
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/games/pcgen/Makefile b/games/pcgen/Makefile
index 150c0361e68c..5382c49accd9 100644
--- a/games/pcgen/Makefile
+++ b/games/pcgen/Makefile
@@ -23,6 +23,8 @@ DATAFILES= batch-convert.jar characters data filepaths.ini lib \
SUB_FILES= pcgen.sh
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
PORTDOCS= *
diff --git a/games/ptools/Makefile b/games/ptools/Makefile
index 9178558e073b..44287cb19262 100644
--- a/games/ptools/Makefile
+++ b/games/ptools/Makefile
@@ -25,6 +25,8 @@ NO_WRKSUBDIR= yes
MAN6= ptools-mopt.6 ptools-mts.6
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-build:
(${ECHO_CMD} "#!${PERL}"; ${CAT} ${DISTDIR}/p3-2.pl) \
diff --git a/games/py-fife/Makefile b/games/py-fife/Makefile
index 677c936221c6..e5d9c6f99336 100644
--- a/games/py-fife/Makefile
+++ b/games/py-fife/Makefile
@@ -39,6 +39,8 @@ post-patch:
${REINPLACE_CMD} -e 's/X11R6/local/g; s/libpng/ligpng15/g' ${WRKSRC}/build/openbsd4-config.py && \
${MV} ${WRKSRC}/build/openbsd4-config.py ${WRKSRC}/build/${PYTHON_PLATFORM}-config.py
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/games/rubix/Makefile b/games/rubix/Makefile
index e54b860f8ebd..09a8b0852049 100644
--- a/games/rubix/Makefile
+++ b/games/rubix/Makefile
@@ -24,6 +24,9 @@ PLIST_FILES= bin/rubix
DOCFILES= AUTHORS BUGS INSTALL README TODO
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/games/sauerbraten/Makefile b/games/sauerbraten/Makefile
index c1abc60c6d46..3bea4797161f 100644
--- a/games/sauerbraten/Makefile
+++ b/games/sauerbraten/Makefile
@@ -37,6 +37,9 @@ MASTER_DESC= Build master server
SUB_FILES= sauer_client sauer_master sauer_server pkg-message
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCLIENT}
diff --git a/games/sdl-ball/Makefile b/games/sdl-ball/Makefile
index 3df56f761be7..b7dba5425f36 100644
--- a/games/sdl-ball/Makefile
+++ b/games/sdl-ball/Makefile
@@ -26,6 +26,8 @@ PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *
PORTDATA= *
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-build:
diff --git a/games/secretmaryochronicles-music/Makefile b/games/secretmaryochronicles-music/Makefile
index 34f5dfb49844..3a6f2fc08e0b 100644
--- a/games/secretmaryochronicles-music/Makefile
+++ b/games/secretmaryochronicles-music/Makefile
@@ -21,6 +21,9 @@ NO_BUILD= yes
PORTDOCS= Addon_-_Music_Readme.txt
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/games/secretmaryochronicles/Makefile b/games/secretmaryochronicles/Makefile
index 1f1b9edf93d9..dc702c02cf99 100644
--- a/games/secretmaryochronicles/Makefile
+++ b/games/secretmaryochronicles/Makefile
@@ -34,6 +34,9 @@ WRKSRC= ${WRKDIR}/smc
PORTDOCS= controls.html history.html style.css
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/games/sudoku/Makefile b/games/sudoku/Makefile
index 209cef0937f1..f6495182ed24 100644
--- a/games/sudoku/Makefile
+++ b/games/sudoku/Makefile
@@ -19,6 +19,9 @@ PLIST_DIRS= share/sudoku
MAN6= sudoku.6
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/games/super_methane_brothers/Makefile b/games/super_methane_brothers/Makefile
index 665ac301770d..ac1061df26dc 100644
--- a/games/super_methane_brothers/Makefile
+++ b/games/super_methane_brothers/Makefile
@@ -30,6 +30,9 @@ PORTDOCS= *
PLIST_FILES= bin/methane
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/games/tetrinet/Makefile b/games/tetrinet/Makefile
index e7344557e627..5f1bb3f3ab64 100644
--- a/games/tetrinet/Makefile
+++ b/games/tetrinet/Makefile
@@ -12,6 +12,8 @@ COMMENT= Console tetrinet client
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DHAVE_IPV6 -fno-builtin-log"
PLIST_FILES= bin/tetrinet bin/tetrinet-server
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/games/tomenet/Makefile b/games/tomenet/Makefile
index 1c64aaa10aef..5f34b39a2d9b 100644
--- a/games/tomenet/Makefile
+++ b/games/tomenet/Makefile
@@ -28,6 +28,8 @@ do-install:
${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/.tomenetrc ${STAGEDIR}${ETCDIR}/tomenetrc
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/games/urbanterror-data/Makefile b/games/urbanterror-data/Makefile
index 100e58eacbf9..e6a310cbdc22 100644
--- a/games/urbanterror-data/Makefile
+++ b/games/urbanterror-data/Makefile
@@ -27,6 +27,9 @@ URT_REV= ${PORTVERSION:C/([0-9]+\.[0-9]+).*\.([0-9]+)/\2/}
PLIST_SUB+= VER=${URT_VER}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/games/xbattle/Makefile b/games/xbattle/Makefile
index c0c63cfe2659..df0ad663a647 100644
--- a/games/xbattle/Makefile
+++ b/games/xbattle/Makefile
@@ -18,6 +18,9 @@ MAN1= xbattle.1
CFLAGS+= -Wno-return-type
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/games/xblast/Makefile b/games/xblast/Makefile
index e8b2ae964b85..4a98164221a3 100644
--- a/games/xblast/Makefile
+++ b/games/xblast/Makefile
@@ -59,6 +59,9 @@ MUSICS_DATE= 2005-01-06
SOUNDS_DATE= 2004-04-29
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
diff --git a/games/xkoules/Makefile b/games/xkoules/Makefile
index 6bbfd6b5c608..fcd3bcded9ee 100644
--- a/games/xkoules/Makefile
+++ b/games/xkoules/Makefile
@@ -19,6 +19,9 @@ MAN6= xkoules.6
MAKE_JOBS_UNSAFE= yes
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-extract:
diff --git a/games/xmulti/Makefile b/games/xmulti/Makefile
index cb3d34fed650..ffe78edfb2e6 100644
--- a/games/xmulti/Makefile
+++ b/games/xmulti/Makefile
@@ -21,6 +21,9 @@ NO_MANCOMPRESS= yes
DOCSDIR= ${PREFIX}/share/doc/ja/{PORTNAME}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/games/xvier/Makefile b/games/xvier/Makefile
index 5cc0066fe27b..907132dc851a 100644
--- a/games/xvier/Makefile
+++ b/games/xvier/Makefile
@@ -19,6 +19,9 @@ USE_XORG= x11 xext
MAN6= xvier.6
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/german/dtaus/Makefile b/german/dtaus/Makefile
index 272d5b3a0c46..4f87d4edf528 100644
--- a/german/dtaus/Makefile
+++ b/german/dtaus/Makefile
@@ -15,6 +15,8 @@ PLIST_FILES= bin/dtaus man/man1/dtaus.1.gz man/man5/dtaus.5.gz
PORTDOCS= ChangeLog README TODO dtaus.txt
PORTEXAMPLES= dtaus.cls sample.ctl
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
do-configure:
diff --git a/graphics/barbecue/Makefile b/graphics/barbecue/Makefile
index 6463173d2fc3..7c3f310ffdf7 100644
--- a/graphics/barbecue/Makefile
+++ b/graphics/barbecue/Makefile
@@ -33,6 +33,8 @@ OPTIONS_SINGLE= AS
OPTIONS_SINGLE_AS= TOMCAT6 TOMCAT7
OPTIONS_DEFAULT= TOMCAT6
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTOMCAT6}
diff --git a/graphics/cegui/Makefile b/graphics/cegui/Makefile
index 418885ec70cc..b4941b3b27ea 100644
--- a/graphics/cegui/Makefile
+++ b/graphics/cegui/Makefile
@@ -37,6 +37,9 @@ USES= pathfix pkgconfig
PLIST_SUB+= WITH_OGRE=""
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/graphics/darknock/Makefile b/graphics/darknock/Makefile
index 3efc0109a0ee..ce465c0e95b2 100644
--- a/graphics/darknock/Makefile
+++ b/graphics/darknock/Makefile
@@ -27,6 +27,8 @@ DESKTOP_ENTRIES= "${PORTNAME}" \
"Graphics;Qt;" \
"true"
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/graphics/deegree-csw/Makefile b/graphics/deegree-csw/Makefile
index 2692a7416667..32f698095289 100644
--- a/graphics/deegree-csw/Makefile
+++ b/graphics/deegree-csw/Makefile
@@ -31,6 +31,9 @@ OPTIONS_SINGLE_AS= TOMCAT6 TOMCAT7
OPTIONS_DEFAULT= TOMCAT6
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTOMCAT6}
diff --git a/graphics/deegree-igeoportal/Makefile b/graphics/deegree-igeoportal/Makefile
index 3edf22bc2e5e..d67e817e69ad 100644
--- a/graphics/deegree-igeoportal/Makefile
+++ b/graphics/deegree-igeoportal/Makefile
@@ -30,6 +30,9 @@ OPTIONS_SINGLE_AS= TOMCAT6 TOMCAT7
OPTIONS_DEFAULT= TOMCAT6
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTOMCAT6}
diff --git a/graphics/deegree-wcs/Makefile b/graphics/deegree-wcs/Makefile
index 6523ba65fc6e..37dfc194e7c9 100644
--- a/graphics/deegree-wcs/Makefile
+++ b/graphics/deegree-wcs/Makefile
@@ -30,6 +30,9 @@ OPTIONS_SINGLE_AS= TOMCAT6 TOMCAT7
OPTIONS_DEFAULT= TOMCAT6
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTOMCAT6}
diff --git a/graphics/deegree-wfs/Makefile b/graphics/deegree-wfs/Makefile
index 1bfb6bc53620..dde54c6d0077 100644
--- a/graphics/deegree-wfs/Makefile
+++ b/graphics/deegree-wfs/Makefile
@@ -30,6 +30,9 @@ OPTIONS_SINGLE_AS= TOMCAT6 TOMCAT7
OPTIONS_DEFAULT= TOMCAT6
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTOMCAT6}
diff --git a/graphics/deegree-wms/Makefile b/graphics/deegree-wms/Makefile
index bcca279dddea..52262458bf32 100644
--- a/graphics/deegree-wms/Makefile
+++ b/graphics/deegree-wms/Makefile
@@ -30,6 +30,9 @@ OPTIONS_SINGLE_AS= TOMCAT6 TOMCAT7
OPTIONS_DEFAULT= TOMCAT6
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTOMCAT6}
diff --git a/graphics/deegree-wps/Makefile b/graphics/deegree-wps/Makefile
index 2eab9677a75e..1b10a11acafa 100644
--- a/graphics/deegree-wps/Makefile
+++ b/graphics/deegree-wps/Makefile
@@ -30,6 +30,9 @@ OPTIONS_SINGLE_AS= TOMCAT6 TOMCAT7
OPTIONS_DEFAULT= TOMCAT6
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTOMCAT6}
diff --git a/graphics/deegree-wpvs/Makefile b/graphics/deegree-wpvs/Makefile
index dc814c25b987..608895364e67 100644
--- a/graphics/deegree-wpvs/Makefile
+++ b/graphics/deegree-wpvs/Makefile
@@ -30,6 +30,9 @@ OPTIONS_SINGLE_AS= TOMCAT6 TOMCAT7
OPTIONS_DEFAULT= TOMCAT6
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTOMCAT6}
diff --git a/graphics/fv/Makefile b/graphics/fv/Makefile
index 59e2918aa2d0..27111eae2903 100644
--- a/graphics/fv/Makefile
+++ b/graphics/fv/Makefile
@@ -31,6 +31,9 @@ PORTDOCS= AUTHORS ChangeLog README
PLIST_FILES= bin/${PORTNAME}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if !defined(WITH_DEBUG)
diff --git a/graphics/goocanvas/Makefile b/graphics/goocanvas/Makefile
index c7f4853b5930..64dcd6f54df3 100644
--- a/graphics/goocanvas/Makefile
+++ b/graphics/goocanvas/Makefile
@@ -23,6 +23,8 @@ LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= *
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/graphics/goocanvas2/Makefile b/graphics/goocanvas2/Makefile
index ad9d5a567eca..a49b9cf42468 100644
--- a/graphics/goocanvas2/Makefile
+++ b/graphics/goocanvas2/Makefile
@@ -23,6 +23,8 @@ LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= *
DOCSDIR= ${PREFIX}/share/gtk-doc/html/goocanvas2
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/graphics/gqview/Makefile b/graphics/gqview/Makefile
index 622a7196a119..206673bee258 100644
--- a/graphics/gqview/Makefile
+++ b/graphics/gqview/Makefile
@@ -27,6 +27,9 @@ CONFLICTS= gqview-devel-[0-9]*
PORTSCOUT= limitw:1,even
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/graphics/gscan2pdf/Makefile b/graphics/gscan2pdf/Makefile
index b2f4cce70d20..b513f19989c8 100644
--- a/graphics/gscan2pdf/Makefile
+++ b/graphics/gscan2pdf/Makefile
@@ -69,6 +69,9 @@ MAN1= ${PORTNAME}.1 scanadf-perl.1 scanimage-perl.1
PORT_VERBS= ${PORTNAME} Gscan2pdf
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/graphics/gtkdps/Makefile b/graphics/gtkdps/Makefile
index 3129c317169f..84527e373c68 100644
--- a/graphics/gtkdps/Makefile
+++ b/graphics/gtkdps/Makefile
@@ -25,6 +25,9 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/graphics/hobbes-icons-xpm/Makefile b/graphics/hobbes-icons-xpm/Makefile
index c4dd34072aea..531f30aba71a 100644
--- a/graphics/hobbes-icons-xpm/Makefile
+++ b/graphics/hobbes-icons-xpm/Makefile
@@ -15,6 +15,8 @@ NO_BUILD= yes
LIBDIR= ${STAGEDIR}${PREFIX}/include/X11/pixmaps
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/graphics/import-pictures/Makefile b/graphics/import-pictures/Makefile
index 86793f57236f..5d90ec8cd428 100644
--- a/graphics/import-pictures/Makefile
+++ b/graphics/import-pictures/Makefile
@@ -25,6 +25,9 @@ MAN1= ${PORTNAME}.1
PORTDOCS= import-pictures.html
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/graphics/impressive/Makefile b/graphics/impressive/Makefile
index 597601b3d47c..b582b3fc0f52 100644
--- a/graphics/impressive/Makefile
+++ b/graphics/impressive/Makefile
@@ -31,6 +31,9 @@ MAN1= ${PORTNAME}.1
PORTDOCS= ${PORTNAME}.html demo.pdf
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/graphics/jpeg/Makefile b/graphics/jpeg/Makefile
index 38d3f8976027..c8d59add922f 100644
--- a/graphics/jpeg/Makefile
+++ b/graphics/jpeg/Makefile
@@ -31,6 +31,8 @@ ADDITIONAL_HEADER= jinclude.h jpegint.h
CONFIGURE_ARGS+= --enable-maxmem=${J_MAXMEM}
.endif
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-extract:
diff --git a/graphics/libexif-gtk/Makefile b/graphics/libexif-gtk/Makefile
index 3f216c2137ce..22cde1f5ee64 100644
--- a/graphics/libexif-gtk/Makefile
+++ b/graphics/libexif-gtk/Makefile
@@ -24,6 +24,9 @@ USE_LDCONFIG= yes
PORTDOCS= AUTHORS ChangeLog NEWS README
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/graphics/linux-adobesvg/Makefile b/graphics/linux-adobesvg/Makefile
index 3841956e2112..52485298fd64 100644
--- a/graphics/linux-adobesvg/Makefile
+++ b/graphics/linux-adobesvg/Makefile
@@ -29,6 +29,9 @@ PLIST_DIRS= ${LIBDIR:S|^${PREFIX}/||}
PORTDOCS= LICENSE.txt ReadMe.html SVGHelp.html
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/graphics/maverik/Makefile b/graphics/maverik/Makefile
index a5dcad8e1b4b..6cac1b897d43 100644
--- a/graphics/maverik/Makefile
+++ b/graphics/maverik/Makefile
@@ -26,6 +26,9 @@ MAKE_JOBS_UNSAFE= yes
PORTDOCS= *
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPNG}
diff --git a/graphics/meshviewer/Makefile b/graphics/meshviewer/Makefile
index 9e26bfb20bff..016a7253b6fb 100644
--- a/graphics/meshviewer/Makefile
+++ b/graphics/meshviewer/Makefile
@@ -42,6 +42,9 @@ DOC_FILES3= *.html *.ico
PLIST_FILES= bin/${PORTNAME}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/graphics/mxp/Makefile b/graphics/mxp/Makefile
index b300d603470a..a954c43820fb 100644
--- a/graphics/mxp/Makefile
+++ b/graphics/mxp/Makefile
@@ -21,6 +21,9 @@ PLIST_FILES= bin/${PORTNAME} \
PLIST_DIRS= %%PORTDOCS%%%%DOCSDIR%%
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-extract:
diff --git a/graphics/ocrad/Makefile b/graphics/ocrad/Makefile
index 1eaa25eb4d2e..946a8bd3b62f 100644
--- a/graphics/ocrad/Makefile
+++ b/graphics/ocrad/Makefile
@@ -23,6 +23,8 @@ PLIST_FILES= bin/${PORTNAME} man/man1/ocrad.1.gz
PORTDOCS= AUTHORS ChangeLog NEWS README
PORTEXAMPLES= *
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
.if ${OSVERSION} < 1000024
diff --git a/graphics/ocrfeeder/Makefile b/graphics/ocrfeeder/Makefile
index 9e58157d5092..07b369960f2b 100644
--- a/graphics/ocrfeeder/Makefile
+++ b/graphics/ocrfeeder/Makefile
@@ -31,6 +31,9 @@ USES= gettext gmake pkgconfig
USE_GHOSTSCRIPT=yes
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/graphics/openjump/Makefile b/graphics/openjump/Makefile
index 9a5da8607fa4..a512eaf7c9d8 100644
--- a/graphics/openjump/Makefile
+++ b/graphics/openjump/Makefile
@@ -59,6 +59,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/bin/default-plugins.xml ${TARGET_DIR}/bin/
${INSTALL_DATA} ${WRKSRC}/bin/log4j.xml ${TARGET_DIR}/bin/
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/graphics/pgplot/Makefile b/graphics/pgplot/Makefile
index 77b2ed18eedf..0327353d1834 100644
--- a/graphics/pgplot/Makefile
+++ b/graphics/pgplot/Makefile
@@ -26,6 +26,9 @@ SUFFIXES= flib clib bin
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
.if ${ARCH:M*64*}
diff --git a/graphics/php5-swfed/Makefile b/graphics/php5-swfed/Makefile
index 1e3e97f70a9f..f9875d59fb29 100644
--- a/graphics/php5-swfed/Makefile
+++ b/graphics/php5-swfed/Makefile
@@ -29,6 +29,8 @@ PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
PORTDOCS= readme.txt
PORTEXAMPLES= *
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-install:
diff --git a/graphics/plotmtv/Makefile b/graphics/plotmtv/Makefile
index 02a97c069b22..b4dfbdd9f764 100644
--- a/graphics/plotmtv/Makefile
+++ b/graphics/plotmtv/Makefile
@@ -21,6 +21,9 @@ MAN1= plotmtv.1
MAKE_JOBS_UNSAFE= yes
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/graphics/pure-gl/Makefile b/graphics/pure-gl/Makefile
index f022b628c2ee..69376deddedd 100644
--- a/graphics/pure-gl/Makefile
+++ b/graphics/pure-gl/Makefile
@@ -24,6 +24,8 @@ PORTDOCS= README
PORTEXAMPLES= *
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-install:
diff --git a/graphics/py-actdiag/Makefile b/graphics/py-actdiag/Makefile
index 58ed5e8c86c6..57532e7f8f8c 100644
--- a/graphics/py-actdiag/Makefile
+++ b/graphics/py-actdiag/Makefile
@@ -25,6 +25,9 @@ DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME}
PORTDOCS= README.txt
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/graphics/py-seqdiag/Makefile b/graphics/py-seqdiag/Makefile
index 2ca3036c28f8..c55a99458e05 100644
--- a/graphics/py-seqdiag/Makefile
+++ b/graphics/py-seqdiag/Makefile
@@ -28,6 +28,9 @@ PORTDOCS= README.txt
PORTEXAMPLES= *
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/graphics/py-webcolors/Makefile b/graphics/py-webcolors/Makefile
index 3a63184e9d76..422b973c41a6 100644
--- a/graphics/py-webcolors/Makefile
+++ b/graphics/py-webcolors/Makefile
@@ -19,6 +19,8 @@ PYDISTUTILS_AUTOPLIST= yes
DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME}
PORTDOCS= README
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/graphics/qvplay/Makefile b/graphics/qvplay/Makefile
index 512521696261..63fcd48a2ca4 100644
--- a/graphics/qvplay/Makefile
+++ b/graphics/qvplay/Makefile
@@ -26,6 +26,9 @@ PORTDOCS= FAQ.txt HISTORY PROTOCOL.eng PROTOCOL.txt \
README README.FreeBSD README.eng
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/graphics/ruby-gd/Makefile b/graphics/ruby-gd/Makefile
index 4d2d4468f07b..c9d84d1cbd3e 100644
--- a/graphics/ruby-gd/Makefile
+++ b/graphics/ruby-gd/Makefile
@@ -33,6 +33,8 @@ CONFIGURE_ARGS= --with-gd-lib="${LOCALBASE}/lib" \
INSTALL_TARGET= site-install
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
# Hmm, GREP and TRUE seem to be defined in the bsd.port.post.mk stage.
diff --git a/graphics/scantailor/Makefile b/graphics/scantailor/Makefile
index 89be83cab25f..23fcd6433cc1 100644
--- a/graphics/scantailor/Makefile
+++ b/graphics/scantailor/Makefile
@@ -36,6 +36,9 @@ HTML_DESC= Install HTML Doxygen files
LATEX_DESC= Install LaTeX Doxygen files
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MHTML} || ${PORT_OPTIONS:MLATEX}
diff --git a/graphics/sketch/Makefile b/graphics/sketch/Makefile
index 79c87c67563a..128ed4d32406 100644
--- a/graphics/sketch/Makefile
+++ b/graphics/sketch/Makefile
@@ -21,6 +21,9 @@ USE_DOS2UNIX= yes
PLIST_FILES= bin/sketch
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/graphics/xmorph/Makefile b/graphics/xmorph/Makefile
index c6c8084ac75a..16c93ba4e705 100644
--- a/graphics/xmorph/Makefile
+++ b/graphics/xmorph/Makefile
@@ -29,6 +29,9 @@ MAN1= gtkmorph.1 xmorph.1
INFO= xmorph
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/graphics/xoris/Makefile b/graphics/xoris/Makefile
index 55e59a1570c7..7b8cf7c00fee 100644
--- a/graphics/xoris/Makefile
+++ b/graphics/xoris/Makefile
@@ -13,6 +13,8 @@ COMMENT= X11 pixel color grabber
USES= imake
USE_XORG= x11
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/irc/charybdis/Makefile b/irc/charybdis/Makefile
index c8a5dcfeb78c..642dfc818227 100644
--- a/irc/charybdis/Makefile
+++ b/irc/charybdis/Makefile
@@ -37,6 +37,8 @@ CONFIGURE_ARGS= --with-confdir=${ETCDIR} \
--with-moduledir=${DATADIR}/modules \
--enable-kqueue
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/irc/darkbot/Makefile b/irc/darkbot/Makefile
index b12ac7e5e7ee..41d719c1d4c7 100644
--- a/irc/darkbot/Makefile
+++ b/irc/darkbot/Makefile
@@ -19,6 +19,8 @@ PORTDOCS= README
PLIST_FILES= bin/darkbot %%ETCDIR%%/logs/.pkgcreate man/man1/darkbot.1.gz
PLIST_DIRSTRY= %%ETCDIR%%/logs/ %%ETCDIR%%/dat/ %%ETCDIR%%
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
pre-configure:
diff --git a/irc/ii/Makefile b/irc/ii/Makefile
index c6621e94275c..c4d6d2a03a53 100644
--- a/irc/ii/Makefile
+++ b/irc/ii/Makefile
@@ -21,6 +21,9 @@ MAKE_ARGS= -E CC
.endif
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
do-install:
diff --git a/irc/iroffer-lamm/Makefile b/irc/iroffer-lamm/Makefile
index 936fd99b6bdd..eb1d9f5c45db 100644
--- a/irc/iroffer-lamm/Makefile
+++ b/irc/iroffer-lamm/Makefile
@@ -18,6 +18,8 @@ CONFLICTS= iroffer-1.* iroffer-dinoex-3.*
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/irc/iroffer/Makefile b/irc/iroffer/Makefile
index b12712e96105..19d4b1800dca 100644
--- a/irc/iroffer/Makefile
+++ b/irc/iroffer/Makefile
@@ -18,6 +18,8 @@ CONFLICTS= iroffer-lamm-1.* iroffer-dinoex-3.*
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/irc/quirc/Makefile b/irc/quirc/Makefile
index f03649d92d56..84ed7593b026 100644
--- a/irc/quirc/Makefile
+++ b/irc/quirc/Makefile
@@ -20,6 +20,9 @@ MYPORTDOCS= AUTHORS ChangeLog FAQ NEWS README doc/color.txt \
doc/quedit.txt doc/rfc1459.txt doc/tdcc.txt
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
CONFIGURE_ARGS= --with-wish=${WISH} \
diff --git a/irc/rbot/Makefile b/irc/rbot/Makefile
index ef86a73ec94b..6dcf5880846c 100644
--- a/irc/rbot/Makefile
+++ b/irc/rbot/Makefile
@@ -23,6 +23,8 @@ SUB_FILES= pkg-message
PORTDOCS= REQUIREMENTS ChangeLog
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
pre-install:
diff --git a/irc/ruby-rica/Makefile b/irc/ruby-rica/Makefile
index 193b0a5840b9..1f25ae843cf7 100644
--- a/irc/ruby-rica/Makefile
+++ b/irc/ruby-rica/Makefile
@@ -26,6 +26,8 @@ MODULES= rica.rb \
DOCS= CHANGES README classes_and_methods.txt event.lst *.png
EXAMPLES= erica.* ricaco.rb rica-example.rb
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
do-install:
diff --git a/irc/slirc/Makefile b/irc/slirc/Makefile
index 254b16779212..c600cdf47558 100644
--- a/irc/slirc/Makefile
+++ b/irc/slirc/Makefile
@@ -46,6 +46,8 @@ NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e "s,/usr/local,${LOCALBASE}," ${WRKSRC}/Makefile ${WRKSRC}/scripts/init.sl
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
diff --git a/irc/tircproxy/Makefile b/irc/tircproxy/Makefile
index d7f3bd29b8f9..819b9ccfba5f 100644
--- a/irc/tircproxy/Makefile
+++ b/irc/tircproxy/Makefile
@@ -13,6 +13,8 @@ COMMENT= IRC proxy server
WRKSRC= ${WRKDIR}/tircproxy-0.4
GNU_CONFIGURE= YES
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/irc/xchat-fish/Makefile b/irc/xchat-fish/Makefile
index 034a3ef41b75..4db4a995feb2 100644
--- a/irc/xchat-fish/Makefile
+++ b/irc/xchat-fish/Makefile
@@ -29,6 +29,8 @@ PLIST_FILES= lib/xchat/plugins/xfish.so
PORTDOCS= FiSH-xchat.txt \
FiSH-xchat_History.txt
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/irc/xchat-mircryption/Makefile b/irc/xchat-mircryption/Makefile
index 0023eda77bd0..11eab9beb15c 100644
--- a/irc/xchat-mircryption/Makefile
+++ b/irc/xchat-mircryption/Makefile
@@ -31,6 +31,8 @@ PLIST_FILES= lib/xchat/plugins/mircryption.so
PORTDOCS= README.txt
PORTEXAMPLES= mcps_masterkey_on_start.pl
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/irc/xchat-ruby/Makefile b/irc/xchat-ruby/Makefile
index 5968697feff6..9e14f0653447 100644
--- a/irc/xchat-ruby/Makefile
+++ b/irc/xchat-ruby/Makefile
@@ -25,6 +25,8 @@ PLIST_FILES= lib/xchat/plugins/xchat-ruby.so
PORTDOCS= README ChangeLog
PORTEXAMPLES= embedify.rb TimerSample.rb JFilter.rb JBanner.rb
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/japanese/kasumi/Makefile b/japanese/kasumi/Makefile
index 4f622364c300..a592069a3945 100644
--- a/japanese/kasumi/Makefile
+++ b/japanese/kasumi/Makefile
@@ -23,6 +23,9 @@ LDFLAGS+= -L${LOCALBASE}/lib
MAN1= kasumi.1
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/japanese/nethack34/Makefile b/japanese/nethack34/Makefile
index 93954c21f470..03f896bbb1fa 100644
--- a/japanese/nethack34/Makefile
+++ b/japanese/nethack34/Makefile
@@ -42,6 +42,9 @@ GRAPHICS= # none
.endif
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/japanese/xjtext/Makefile b/japanese/xjtext/Makefile
index 45c69807134a..cb077253312b 100644
--- a/japanese/xjtext/Makefile
+++ b/japanese/xjtext/Makefile
@@ -21,6 +21,9 @@ PORTEXAMPLES= FSS README YAMA Ao.png Back2.png Brown.png Royal.png Royal2.png
PLIST_FILES= bin/xjtext
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
do-install:
diff --git a/java/cryptix-jce/Makefile b/java/cryptix-jce/Makefile
index 9f6f8a633e96..3484e72713e0 100644
--- a/java/cryptix-jce/Makefile
+++ b/java/cryptix-jce/Makefile
@@ -16,6 +16,9 @@ USE_ZIP= yes
NO_BUILD= yes
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/java/jakarta-commons-httpclient/Makefile b/java/jakarta-commons-httpclient/Makefile
index 5379b4de6b0d..2bd8cff43ff7 100644
--- a/java/jakarta-commons-httpclient/Makefile
+++ b/java/jakarta-commons-httpclient/Makefile
@@ -33,6 +33,9 @@ PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
PORTDOCS= *
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/java/java3d/Makefile b/java/java3d/Makefile
index 90499ad5405d..2b863ecffada 100644
--- a/java/java3d/Makefile
+++ b/java/java3d/Makefile
@@ -26,6 +26,9 @@ DOCSSRC= ${WRKSRC}/j3d-core/build/freebsd/javadocs/docs-public
PORTDOCS= *
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/korean/ami/Makefile b/korean/ami/Makefile
index bbfc75b63a37..0d2745f363ee 100644
--- a/korean/ami/Makefile
+++ b/korean/ami/Makefile
@@ -23,6 +23,9 @@ WANT_GNOME= yes
GNU_CONFIGURE= yes
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/lang/cocor/Makefile b/lang/cocor/Makefile
index 6fc3046120d9..55d95e57dfce 100644
--- a/lang/cocor/Makefile
+++ b/lang/cocor/Makefile
@@ -24,6 +24,9 @@ ALL_TARGET= all1
MAN1= ${PORTNAME}.1
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/lang/groovy/Makefile b/lang/groovy/Makefile
index a77fda622362..77042a71ea42 100644
--- a/lang/groovy/Makefile
+++ b/lang/groovy/Makefile
@@ -22,6 +22,8 @@ DATADIR= ${JAVASHAREDIR}/${PORTNAME}
DATAFILES= ANTLR-LICENSE.txt ASM-LICENSE.txt CLI-LICENSE.txt JSR223-LICENSE.txt LICENSE.txt conf lib
SCRIPTFILES= groovy groovyConsole groovyc groovysh java2groovy startGroovy
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/lang/lafontaine/Makefile b/lang/lafontaine/Makefile
index 735c172e6a49..724f9c61a532 100644
--- a/lang/lafontaine/Makefile
+++ b/lang/lafontaine/Makefile
@@ -20,6 +20,9 @@ USE_CSTD= gnu89
LDFLAGS+= -lm
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/lang/malbolge/Makefile b/lang/malbolge/Makefile
index 35b4531fc748..c867bdba127d 100644
--- a/lang/malbolge/Makefile
+++ b/lang/malbolge/Makefile
@@ -17,6 +17,8 @@ NO_STAGE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/malbolge ${PREFIX}/bin
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/lang/scala-docs/Makefile b/lang/scala-docs/Makefile
index bfe82d015fd2..dc6a14f54293 100644
--- a/lang/scala-docs/Makefile
+++ b/lang/scala-docs/Makefile
@@ -15,6 +15,8 @@ NO_BUILD= yes
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MDOCS}
diff --git a/lang/scheme48/Makefile b/lang/scheme48/Makefile
index 4619aedfeda6..fb6c55e74f45 100644
--- a/lang/scheme48/Makefile
+++ b/lang/scheme48/Makefile
@@ -21,6 +21,9 @@ GNU_CONFIGURE= yes
MAN1= scheme48.1
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
PLIST_SUB+= VER=${PORTVERSION}
diff --git a/lang/x10/Makefile b/lang/x10/Makefile
index 25a98fdf00e9..df3a1e94010e 100644
--- a/lang/x10/Makefile
+++ b/lang/x10/Makefile
@@ -38,6 +38,8 @@ BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake \
WRKSRC= ${WRKDIR}/x10.dist
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/lang/yabasic/Makefile b/lang/yabasic/Makefile
index 8b1fb9765fc4..80eec991fa46 100644
--- a/lang/yabasic/Makefile
+++ b/lang/yabasic/Makefile
@@ -17,6 +17,8 @@ GNU_CONFIGURE= yes
PORTDOCS= yabasic.htm
PLIST_FILES= bin/yabasic man/man1/yabasic.1.gz
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/mail/bayespam/Makefile b/mail/bayespam/Makefile
index bc81f6fdf019..cacdf804761e 100644
--- a/mail/bayespam/Makefile
+++ b/mail/bayespam/Makefile
@@ -22,6 +22,9 @@ FILES_DOCS= AUTHORS COPYING Changelog INSTALL README TODO \
FILES_SCRIPTS= bayes_process_email.pl bayes_spam_check.pl bayestest.pl
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/mail/elmo-devel/Makefile b/mail/elmo-devel/Makefile
index fec3a6b3d62e..8226d328447b 100644
--- a/mail/elmo-devel/Makefile
+++ b/mail/elmo-devel/Makefile
@@ -24,6 +24,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/mail/getmail/Makefile b/mail/getmail/Makefile
index c6dd445ce0fc..886a3868f6ca 100644
--- a/mail/getmail/Makefile
+++ b/mail/getmail/Makefile
@@ -19,6 +19,9 @@ MAN1= getmail.1 getmail_fetch.1 getmail_maildir.1 getmail_mbox.1
PORTDOCS= README BUGS CHANGELOG THANKS TODO *.txt *.html *.css
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-install:
diff --git a/mail/gml/Makefile b/mail/gml/Makefile
index 9ad78cb136dd..8ea35dc15120 100644
--- a/mail/gml/Makefile
+++ b/mail/gml/Makefile
@@ -21,6 +21,9 @@ PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/mail/milter-manager/Makefile b/mail/milter-manager/Makefile
index 96c4f1ecd5c4..9ed5bd6341c9 100644
--- a/mail/milter-manager/Makefile
+++ b/mail/milter-manager/Makefile
@@ -28,6 +28,9 @@ USE_LDCONFIG= yes
USE_RUBY= yes
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
MANLANG= "" ja
diff --git a/mail/mutt_vc_query/Makefile b/mail/mutt_vc_query/Makefile
index 5118cce268c5..9410a21fe224 100644
--- a/mail/mutt_vc_query/Makefile
+++ b/mail/mutt_vc_query/Makefile
@@ -20,6 +20,8 @@ CFLAGS+= -I${PREFIX}/include \
PORTDOCS= *
PLIST_FILES= bin/mutt_vc_query man/man1/mutt_vc_query.1.gz
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/mail/postfixadmin/Makefile b/mail/postfixadmin/Makefile
index 4928cd3a86f1..ae807fc6ae93 100644
--- a/mail/postfixadmin/Makefile
+++ b/mail/postfixadmin/Makefile
@@ -25,6 +25,9 @@ MYSQLI_DESC= MySQL 4.1+ back-end (use mysqli PHP extension)
OPTIONS_DEFAULT= MYSQL
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
USE_PHP= pcre session mbstring spl xmlrpc
diff --git a/mail/postgrey/Makefile b/mail/postgrey/Makefile
index a322a885fa14..cd58b7d43264 100644
--- a/mail/postgrey/Makefile
+++ b/mail/postgrey/Makefile
@@ -40,6 +40,9 @@ USES= shebangfix perl5
SHEBANG_FILES= ${WRKSRC}/postgrey
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/mail/qmail-activedir/Makefile b/mail/qmail-activedir/Makefile
index bdf189d5e2da..d44e36483973 100644
--- a/mail/qmail-activedir/Makefile
+++ b/mail/qmail-activedir/Makefile
@@ -30,6 +30,9 @@ WANT_OPENLDAP_VER= ${WITH_OPENLDAP_VER}
.endif
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/mail/sma/Makefile b/mail/sma/Makefile
index 6df79a2240a9..ee856ddeb034 100644
--- a/mail/sma/Makefile
+++ b/mail/sma/Makefile
@@ -14,6 +14,8 @@ ALL_TARGET= sma
SAMPLEFILES= sma.conf
DOCSFILES= BUGS COPYRIGHT HISTORY README TODO
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
do-configure:
diff --git a/mail/spamd/Makefile b/mail/spamd/Makefile
index f63d4d27a31f..2712065ef8d0 100644
--- a/mail/spamd/Makefile
+++ b/mail/spamd/Makefile
@@ -51,6 +51,9 @@ SUB_LIST= PREFIX=${PREFIX} \
${PLIST_SUB}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
pre-install:
diff --git a/mail/spamstats/Makefile b/mail/spamstats/Makefile
index 8567ce15e26b..31d158c881ea 100644
--- a/mail/spamstats/Makefile
+++ b/mail/spamstats/Makefile
@@ -26,6 +26,8 @@ post-patch:
@${REINPLACE_CMD} -i '' -e 's|mail.log|maillog|g' \
${WRKSRC}/${PORTNAME}${PORTVERSION}.pl
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/mail/svnmailer/Makefile b/mail/svnmailer/Makefile
index c018e968701b..2c0314949a4c 100644
--- a/mail/svnmailer/Makefile
+++ b/mail/svnmailer/Makefile
@@ -24,6 +24,9 @@ MAN1= svn-mailer.1
PORTDOCS= *
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MDOCS}
diff --git a/mail/vqregister/Makefile b/mail/vqregister/Makefile
index e79d33f1d16a..73616b8e4d84 100644
--- a/mail/vqregister/Makefile
+++ b/mail/vqregister/Makefile
@@ -23,6 +23,8 @@ NEED_ROOT= yes
DOCS= CONFIG CONTRIBUTORS FORM HISTORY TEMPLATE
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/mail/wmpop3lb/Makefile b/mail/wmpop3lb/Makefile
index 43268a44947a..7e961118ed41 100644
--- a/mail/wmpop3lb/Makefile
+++ b/mail/wmpop3lb/Makefile
@@ -30,6 +30,8 @@ post-patch:
-e "s,/usr/X11R6,${LOCALBASE},g" \
${BUILD_WRKSRC}/Makefile
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/mail/xf-spf/Makefile b/mail/xf-spf/Makefile
index f21d0a9c7720..7760ad172dfc 100644
--- a/mail/xf-spf/Makefile
+++ b/mail/xf-spf/Makefile
@@ -24,6 +24,9 @@ PLIST_SUB= QMAIL_PREFIX=${QMAIL_PREFIX}
PORTDOCS= README TODO CHANGELOG COPYRIGHT
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/mail/xmailbox/Makefile b/mail/xmailbox/Makefile
index 768377770bc2..8242012dc77d 100644
--- a/mail/xmailbox/Makefile
+++ b/mail/xmailbox/Makefile
@@ -16,6 +16,9 @@ USE_XORG= xaw
MAN1= xmailbox.1
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/math/convertall/Makefile b/math/convertall/Makefile
index a02ba1fe0d18..b257fb217a04 100644
--- a/math/convertall/Makefile
+++ b/math/convertall/Makefile
@@ -24,6 +24,9 @@ DESKTOP_ENTRIES="ConvertAll" "Unit converter" "${DATADIR}/icons/${PORTNAME}.svg"
"${PORTNAME}" "Utility;Calculator;" true
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/math/emc2/Makefile b/math/emc2/Makefile
index f4445ef91ffd..5ae4e36b0978 100644
--- a/math/emc2/Makefile
+++ b/math/emc2/Makefile
@@ -35,6 +35,9 @@ PORTEXAMPLES= *
PLIST_FILES= bin/emc2 bin/prf_f3d
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/emc2 ${PREFIX}/bin
diff --git a/math/fityk/Makefile b/math/fityk/Makefile
index 9d1f8cf84484..f9a62e7ae03b 100644
--- a/math/fityk/Makefile
+++ b/math/fityk/Makefile
@@ -43,6 +43,9 @@ LDFLAGS+= -L${WRKDIR}/${XYLIB_DISTNAME}/xylib/.libs \
XYLIB_DISTNAME= xylib-1.1
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/math/gri/Makefile b/math/gri/Makefile
index 867be67499b1..0e07761ab575 100644
--- a/math/gri/Makefile
+++ b/math/gri/Makefile
@@ -32,6 +32,9 @@ PLIST_FILES= bin/gri bin/gri_merge bin/gri_unpage \
PLIST_DIRS= %%DATADIR%%
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MEXAMPLES}
diff --git a/math/jags/Makefile b/math/jags/Makefile
index 4bf8c1929a56..aad51c1624dd 100644
--- a/math/jags/Makefile
+++ b/math/jags/Makefile
@@ -33,6 +33,9 @@ PLIST_SUB= MODULEVERSION=${S}
S= ${PORTVERSION:C|\..*||}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS} || make(makesum)
diff --git a/math/jakarta-commons-math3/Makefile b/math/jakarta-commons-math3/Makefile
index 48202478cf37..79fec05522ae 100644
--- a/math/jakarta-commons-math3/Makefile
+++ b/math/jakarta-commons-math3/Makefile
@@ -42,6 +42,9 @@ DESTJARFILE= ${PORTNAME}.jar
PLIST_FILES+= %%JAVAJARDIR%%/${DESTJARFILE}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/math/jts/Makefile b/math/jts/Makefile
index 67f3d67da6d5..a5c493058d29 100644
--- a/math/jts/Makefile
+++ b/math/jts/Makefile
@@ -22,6 +22,9 @@ VER= ${PORTVERSION:L}
JARFILES= JTS_Test acme jts-${VER}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/math/libqalculate/Makefile b/math/libqalculate/Makefile
index 56259fd2cc60..d96729e963f2 100644
--- a/math/libqalculate/Makefile
+++ b/math/libqalculate/Makefile
@@ -19,6 +19,9 @@ USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/math/petsc/Makefile b/math/petsc/Makefile
index 6de505cd7a2e..dac39d95144c 100644
--- a/math/petsc/Makefile
+++ b/math/petsc/Makefile
@@ -56,6 +56,9 @@ CONFIGURE_ARGS+= --with-umfpack-include="${LOCALBASE}/include/suitesparse" \
.endif
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/math/pure-mpfr/Makefile b/math/pure-mpfr/Makefile
index 45bdd2c55cb6..4702c9678bb8 100644
--- a/math/pure-mpfr/Makefile
+++ b/math/pure-mpfr/Makefile
@@ -27,6 +27,8 @@ PORTDOCS= README
PORTEXAMPLES= *
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-install:
diff --git a/math/pure-rational/Makefile b/math/pure-rational/Makefile
index 2f50e20ce1dd..e18a2a81f141 100644
--- a/math/pure-rational/Makefile
+++ b/math/pure-rational/Makefile
@@ -22,6 +22,8 @@ NO_STAGE= yes
PORTDOCS= README
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/math/snns/Makefile b/math/snns/Makefile
index 4f8b68b9dddf..09e09d1ecc5b 100644
--- a/math/snns/Makefile
+++ b/math/snns/Makefile
@@ -20,6 +20,9 @@ CONFIGURE_ARGS= --prefix=${PREFIX}/lib/snns --enable-global \
MAKE_JOBS_UNSAFE= yes
NO_STAGE= yes
+
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
post-extract:
diff --git a/misc/bb/Makefile b/misc/bb/Makefile
index 9518f3730a3b..94f4b63fa934 100644
--- a/misc/bb/Makefile
+++ b/misc/bb/Makefile
@@ -22,6 +22,9 @@ PLIST_FILES= bin/bb share/bb/bb.s3m share/bb/bb2.s3m share/bb/bb3.s3m
PLIST_DIRS= share/bb
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
pre-patch:
diff --git a/misc/callid/Makefile b/misc/callid/Makefile
index 91b565956951..5488711a49de 100644
--- a/misc/callid/Makefile
+++ b/misc/callid/Makefile
@@ -22,6 +22,9 @@ PORTDOCS= CHANGES README TODO make-db.mysql
RUN_DEPENDS+= p5-DBI>=0:${PORTSDIR}/databases/p5-DBI
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
pre-everything::
diff --git a/misc/clex/Makefile b/misc/clex/Makefile
index a8581238b8ff..5b4af169987d 100644
--- a/misc/clex/Makefile
+++ b/misc/clex/Makefile
@@ -28,6 +28,8 @@ post-patch:
@${REINPLACE_CMD} -e '18s,^,#include <stdio.h>,' \
${WRKSRC}/src/preview.c
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/misc/cmatrix/Makefile b/misc/cmatrix/Makefile
index 51c8206fc934..acc1eb70f513 100644
--- a/misc/cmatrix/Makefile
+++ b/misc/cmatrix/Makefile
@@ -18,6 +18,9 @@ PORTDOCS= ChangeLog README TODO
PLIST_FILES= bin/cmatrix
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/misc/crosspad/Makefile b/misc/crosspad/Makefile
index 09e7784e14ad..38d8d2dc06b6 100644
--- a/misc/crosspad/Makefile
+++ b/misc/crosspad/Makefile
@@ -18,6 +18,9 @@ MAN1= crosspad2ps.1 crosspad2eps.1 crosspad2tgif.1 crosspad2idraw.1 \
DOCS= PROTOCOL README.english README.japanese
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/misc/dtach/Makefile b/misc/dtach/Makefile
index 7dbbead909ad..1129a83a0cbf 100644
--- a/misc/dtach/Makefile
+++ b/misc/dtach/Makefile
@@ -18,6 +18,9 @@ PORTDOCS= README
PLIST_FILES= bin/${PORTNAME}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/misc/dvorakng/Makefile b/misc/dvorakng/Makefile
index 7125c1058895..7432086932a6 100644
--- a/misc/dvorakng/Makefile
+++ b/misc/dvorakng/Makefile
@@ -17,6 +17,9 @@ MAKE_ARGS= CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS} ${CPPFLAGS}" \
CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
PLIST_FILES= bin/dvorakng
diff --git a/misc/esniper/Makefile b/misc/esniper/Makefile
index 1812891d56bb..90a8b0bce276 100644
--- a/misc/esniper/Makefile
+++ b/misc/esniper/Makefile
@@ -24,6 +24,9 @@ PLIST_FILES= bin/esniper
PORTEXAMPLES= sample_auction.txt sample_config.txt
NO_STAGE= yes
+
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
post-install:
diff --git a/misc/gkx86info2/Makefile b/misc/gkx86info2/Makefile
index 98186a0a3cf1..02a33ab18ac3 100644
--- a/misc/gkx86info2/Makefile
+++ b/misc/gkx86info2/Makefile
@@ -21,6 +21,9 @@ USE_GNOME= gtk20
WRKSRC= ${WRKDIR}/gkx86info${PORTVERSION}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-build:
diff --git a/misc/gnome-osd/Makefile b/misc/gnome-osd/Makefile
index 6e7bd4a2614f..91b695f504c1 100644
--- a/misc/gnome-osd/Makefile
+++ b/misc/gnome-osd/Makefile
@@ -24,6 +24,9 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/misc/hello/Makefile b/misc/hello/Makefile
index 0857c16c8339..3df01682dbdf 100644
--- a/misc/hello/Makefile
+++ b/misc/hello/Makefile
@@ -16,6 +16,8 @@ GNU_CONFIGURE= YES
INFO= hello
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/misc/lifelines/Makefile b/misc/lifelines/Makefile
index 4fc8c84365e6..eaad2f57a7ea 100644
--- a/misc/lifelines/Makefile
+++ b/misc/lifelines/Makefile
@@ -17,6 +17,9 @@ USES= bison iconv
MAN1= btedit.1 dbverify.1 llines.1
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
diff --git a/misc/mirmon/Makefile b/misc/mirmon/Makefile
index fec2c262392d..d272c00392b2 100644
--- a/misc/mirmon/Makefile
+++ b/misc/mirmon/Makefile
@@ -19,6 +19,8 @@ SUB_LIST= PREFIX=${PREFIX}
PLIST_FILES= bin/mirmon bin/probe
MAN1= mirmon.1
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MDOCS}
diff --git a/misc/mtail/Makefile b/misc/mtail/Makefile
index 6c9601da4702..4363d6b7c11f 100644
--- a/misc/mtail/Makefile
+++ b/misc/mtail/Makefile
@@ -17,6 +17,9 @@ PORTDOCS= CHANGES LICENSE README
PORTEXAMPLES= mtailrc
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/misc/pdfmap/Makefile b/misc/pdfmap/Makefile
index fed018d93e2f..974d4daed961 100644
--- a/misc/pdfmap/Makefile
+++ b/misc/pdfmap/Makefile
@@ -21,6 +21,9 @@ USE_PYDISTUTILS= yes
DOCS= CREDITS NEWS README TODO doc/*.html
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/misc/ringtonetools/Makefile b/misc/ringtonetools/Makefile
index 50a49234141d..562267dfa3f2 100644
--- a/misc/ringtonetools/Makefile
+++ b/misc/ringtonetools/Makefile
@@ -14,6 +14,9 @@ RESTRICTED= no-commercial-use
MAKE_ARGS= CC="${CC}" FLAGS="${CFLAGS}"
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/misc/rname/Makefile b/misc/rname/Makefile
index 14a4612c0a2b..55a4351056fa 100644
--- a/misc/rname/Makefile
+++ b/misc/rname/Makefile
@@ -14,6 +14,9 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GMAKE= yes
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/misc/salias/Makefile b/misc/salias/Makefile
index d7272b060730..07844078aa7a 100644
--- a/misc/salias/Makefile
+++ b/misc/salias/Makefile
@@ -19,6 +19,9 @@ MAN1= salias.1
DOCS= NEWS README
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/misc/tet/Makefile b/misc/tet/Makefile
index 8cc3e67ce341..205e51ada411 100644
--- a/misc/tet/Makefile
+++ b/misc/tet/Makefile
@@ -24,6 +24,9 @@ PLIST= ${WRKDIR}/PLIST
TET_CONFIG_TARGET?= inet # options are `lite', `xti' and `inet'
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/misc/tkman/Makefile b/misc/tkman/Makefile
index 31a0bbe6141a..87e799a36a5d 100644
--- a/misc/tkman/Makefile
+++ b/misc/tkman/Makefile
@@ -22,6 +22,8 @@ MAKE_ARGS= WISH="${WISH}" \
manformat="{groff -Tlatin1 -te -mandoc}" \
manprint="{groff -mandoc -Tps -te -l}"
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/multimedia/bino/Makefile b/multimedia/bino/Makefile
index 8ad04cb939cf..33ca9a93e712 100644
--- a/multimedia/bino/Makefile
+++ b/multimedia/bino/Makefile
@@ -29,6 +29,9 @@ MAN1= bino.1
INFO= bino
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/multimedia/emotion/Makefile b/multimedia/emotion/Makefile
index 2bc9e8380d1e..b856476d54e9 100644
--- a/multimedia/emotion/Makefile
+++ b/multimedia/emotion/Makefile
@@ -29,6 +29,8 @@ OPTIONS_MULTI= BACKEND
OPTIONS_MULTI_BACKEND= GSTREAMER LIBXINE
OPTIONS_DEFAULT=GSTREAMER
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
.if ${ARCH} == "sparc64"
diff --git a/multimedia/flvstreamer/Makefile b/multimedia/flvstreamer/Makefile
index 2e76b3b5f3ad..8427561f8205 100644
--- a/multimedia/flvstreamer/Makefile
+++ b/multimedia/flvstreamer/Makefile
@@ -24,6 +24,8 @@ do-install:
cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PLIST_FILES:S,^bin/,,} \
${STAGEDIR}${PREFIX}/bin
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/multimedia/freevo/Makefile b/multimedia/freevo/Makefile
index d7f6f3f6b6e6..7ba4d909199c 100644
--- a/multimedia/freevo/Makefile
+++ b/multimedia/freevo/Makefile
@@ -56,6 +56,9 @@ DATADIR= ${PREFIX}/share/${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/multimedia/gaupol/Makefile b/multimedia/gaupol/Makefile
index d4b3f91e8961..e93f7f063669 100644
--- a/multimedia/gaupol/Makefile
+++ b/multimedia/gaupol/Makefile
@@ -26,6 +26,9 @@ INSTALLS_ICONS= yes
MAN1= ${PORTNAME}.1
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/multimedia/gmencoder/Makefile b/multimedia/gmencoder/Makefile
index 27fc3be5ee41..a65063538be9 100644
--- a/multimedia/gmencoder/Makefile
+++ b/multimedia/gmencoder/Makefile
@@ -26,6 +26,9 @@ DESKTOP_ENTRIES= "Gmencoder" "Gnome2 front-end to mplayer/mencoder" \
"" "gmencoder" "GNOME;AudioVideo;" false
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/multimedia/gnome-subtitles/Makefile b/multimedia/gnome-subtitles/Makefile
index 692cd1968c56..5fb568551306 100644
--- a/multimedia/gnome-subtitles/Makefile
+++ b/multimedia/gnome-subtitles/Makefile
@@ -32,6 +32,9 @@ USE_LDCONFIG= ${PREFIX}/lib/gnome-subtitles
MAN1= gnome-subtitles.1
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/multimedia/gopchop/Makefile b/multimedia/gopchop/Makefile
index 73852b4b5975..a80f487dcb30 100644
--- a/multimedia/gopchop/Makefile
+++ b/multimedia/gopchop/Makefile
@@ -24,6 +24,9 @@ CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT
LDFLAGS+= -L${LOCALBASE}/lib
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/multimedia/imagination/Makefile b/multimedia/imagination/Makefile
index 195811744f09..2c702965f01d 100644
--- a/multimedia/imagination/Makefile
+++ b/multimedia/imagination/Makefile
@@ -22,6 +22,9 @@ INSTALLS_ICONS= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/multimedia/kissdx/Makefile b/multimedia/kissdx/Makefile
index 24036876dfe4..6fe098f39181 100644
--- a/multimedia/kissdx/Makefile
+++ b/multimedia/kissdx/Makefile
@@ -30,6 +30,9 @@ PLIST_FILES= etc/kissdx.conf sbin/kissdx sbin/kissd-pretrigger \
PORTDOCS= README
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/multimedia/linux-realplayer/Makefile b/multimedia/linux-realplayer/Makefile
index fb89a2bc7737..4d983ae49657 100644
--- a/multimedia/linux-realplayer/Makefile
+++ b/multimedia/linux-realplayer/Makefile
@@ -29,6 +29,9 @@ PLUGINSDIR= ${PREFIX}/lib/linux-mozilla/plugins
RABINDIR= ${PREFIX}/bin
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/multimedia/mpeg2play/Makefile b/multimedia/mpeg2play/Makefile
index b759b7e8a1c7..fee14dcc59e9 100644
--- a/multimedia/mpeg2play/Makefile
+++ b/multimedia/mpeg2play/Makefile
@@ -15,6 +15,9 @@ USE_XORG= x11 xext xp xt
ALL_TARGET= mpeg2play
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/multimedia/py-mlt/Makefile b/multimedia/py-mlt/Makefile
index 7065ea477573..931b45fe31b6 100644
--- a/multimedia/py-mlt/Makefile
+++ b/multimedia/py-mlt/Makefile
@@ -26,6 +26,9 @@ BUILD_WRKSRC= ${WRKSRC}/src/swig/python
INSTALL_WRKSRC= ${BUILD_WRKSRC}
NO_STAGE= yes
+
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/multimedia/replex/Makefile b/multimedia/replex/Makefile
index 99f6b7aaa47e..6ff8c769eeb9 100644
--- a/multimedia/replex/Makefile
+++ b/multimedia/replex/Makefile
@@ -15,6 +15,8 @@ MAKE_ARGS= CFLAGS="${CFLAGS}" DEFINES="${CPPFLAGS} -DO_LARGEFILE=0 \
-DVERSION=\\\"$(PORTVERSION)\\\"" LIBS="${LDFLAGS}"
PLIST_FILES= bin/replex
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/net-im/icb/Makefile b/net-im/icb/Makefile
index d09b7489fc43..0029d145a7f5 100644
--- a/net-im/icb/Makefile
+++ b/net-im/icb/Makefile
@@ -21,6 +21,8 @@ PORTEXAMPLES= bartender confuse echofunctions sample.icbrc
PLIST_FILES= bin/icb %%DATADIR%%/icbserverdb
PLIST_DIRS= %%DATADIR%%
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
do-install:
diff --git a/net-im/libjingle/Makefile b/net-im/libjingle/Makefile
index fb2c8b9095b0..5f24e39c7b51 100644
--- a/net-im/libjingle/Makefile
+++ b/net-im/libjingle/Makefile
@@ -52,6 +52,9 @@ PLIST_FILES+= bin/login \
bin/stunserver \
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-configure:
diff --git a/net-im/licq-icq/Makefile b/net-im/licq-icq/Makefile
index 452879609062..a9beefc5e4cb 100644
--- a/net-im/licq-icq/Makefile
+++ b/net-im/licq-icq/Makefile
@@ -22,6 +22,8 @@ PLIST_DIRS= %%PORTDOCS%%%%DOCSDIR%%
LICQ_PORT?= net-im/licq
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.include "${PORTSDIR}/${LICQ_PORT}/Makefile.inc"
diff --git a/net-im/licq-jabber/Makefile b/net-im/licq-jabber/Makefile
index 47c4eece362d..85b026f67d22 100644
--- a/net-im/licq-jabber/Makefile
+++ b/net-im/licq-jabber/Makefile
@@ -23,6 +23,8 @@ PLIST_DIRS= %%PORTDOCS%%%%DOCSDIR%%
LICQ_PORT?= net-im/licq
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.include "${PORTSDIR}/${LICQ_PORT}/Makefile.inc"
diff --git a/net-im/licq-msn/Makefile b/net-im/licq-msn/Makefile
index 1f267933a35d..216e3f707024 100644
--- a/net-im/licq-msn/Makefile
+++ b/net-im/licq-msn/Makefile
@@ -22,6 +22,8 @@ PLIST_DIRS= %%PORTDOCS%%%%DOCSDIR%%
LICQ_PORT?= net-im/licq
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.include "${PORTSDIR}/${LICQ_PORT}/Makefile.inc"
diff --git a/net-im/pidgin-libnotify/Makefile b/net-im/pidgin-libnotify/Makefile
index b39c839415f6..23eaa8161df9 100644
--- a/net-im/pidgin-libnotify/Makefile
+++ b/net-im/pidgin-libnotify/Makefile
@@ -24,6 +24,9 @@ USE_GNOME= gtk20
USES= pkgconfig
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/net-im/pidgin-skype/Makefile b/net-im/pidgin-skype/Makefile
index 56c245155c7d..4a0e5d07cfa5 100644
--- a/net-im/pidgin-skype/Makefile
+++ b/net-im/pidgin-skype/Makefile
@@ -46,6 +46,8 @@ mylibs= ${PTHREAD_LIBS}
# the upstream translations and .pot file are woefully out of date.
#OPTIONS_DEFINE= NLS
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/net-mgmt/ap-utils/Makefile b/net-mgmt/ap-utils/Makefile
index d85fb1a4ca7a..e91e8cb80b7c 100644
--- a/net-mgmt/ap-utils/Makefile
+++ b/net-mgmt/ap-utils/Makefile
@@ -19,6 +19,9 @@ LDFLAGS+= -lintl -L${LOCALBASE}/lib
MAN8= ap-trapd.8 ap-mrtg.8 ap-config.8
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/net-mgmt/arts++/Makefile b/net-mgmt/arts++/Makefile
index fdacabf3f4a8..07adaedbecdb 100644
--- a/net-mgmt/arts++/Makefile
+++ b/net-mgmt/arts++/Makefile
@@ -21,6 +21,9 @@ MANL= artsportagg.l artsports.l artsprotos.l artsnets.l artsdump.l \
artsintfmagg.l artsnexthops.l artsnexthopagg.l artstos.l
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/net-mgmt/disco/Makefile b/net-mgmt/disco/Makefile
index bd251277075a..968a3de1553b 100644
--- a/net-mgmt/disco/Makefile
+++ b/net-mgmt/disco/Makefile
@@ -18,6 +18,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/disco bin/disco.fp
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/net-mgmt/echolot/Makefile b/net-mgmt/echolot/Makefile
index 15c1bbe6ccdb..bb0563796d0a 100644
--- a/net-mgmt/echolot/Makefile
+++ b/net-mgmt/echolot/Makefile
@@ -22,6 +22,9 @@ PORTDOCS= *
PLIST_FILES= bin/echolot
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/net-mgmt/etherape/Makefile b/net-mgmt/etherape/Makefile
index 6f5e7b6a9ada..024bc0d4fbe9 100644
--- a/net-mgmt/etherape/Makefile
+++ b/net-mgmt/etherape/Makefile
@@ -20,6 +20,9 @@ LDFLAGS+= -L${LOCALBASE}/lib
MAN1= etherape.1
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/net-mgmt/ipacctd/Makefile b/net-mgmt/ipacctd/Makefile
index 19d56ec4b817..cb4a493b0a76 100644
--- a/net-mgmt/ipacctd/Makefile
+++ b/net-mgmt/ipacctd/Makefile
@@ -19,6 +19,9 @@ MANLANG= "" ru.KOI8-R
MANCOMPRESSED= yes
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-extract:
diff --git a/net-mgmt/p0f/Makefile b/net-mgmt/p0f/Makefile
index 2ff07be3f137..43592879390d 100644
--- a/net-mgmt/p0f/Makefile
+++ b/net-mgmt/p0f/Makefile
@@ -21,6 +21,9 @@ PORTDOCS= ChangeLog README TODO existential-notes.txt \
MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS}"
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/net-mgmt/p0f2/Makefile b/net-mgmt/p0f2/Makefile
index 8b3ab5a08690..4dab048724c3 100644
--- a/net-mgmt/p0f2/Makefile
+++ b/net-mgmt/p0f2/Makefile
@@ -22,6 +22,9 @@ MAN1= p0f.1
WRKSRC= ${WRKDIR}/p0f
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/net-mgmt/percona-monitoring-plugins/Makefile b/net-mgmt/percona-monitoring-plugins/Makefile
index 9ac3d297a0bc..d0d2165977ab 100644
--- a/net-mgmt/percona-monitoring-plugins/Makefile
+++ b/net-mgmt/percona-monitoring-plugins/Makefile
@@ -29,6 +29,9 @@ PORTDOCS= Changelog
CACTIDIR?= share/cacti
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/net-mgmt/wide-dhcp/Makefile b/net-mgmt/wide-dhcp/Makefile
index 484f42e39a5a..b70be7fceefa 100644
--- a/net-mgmt/wide-dhcp/Makefile
+++ b/net-mgmt/wide-dhcp/Makefile
@@ -22,6 +22,9 @@ DOCS= README README.jis db_sample/intro.dhcp db_sample/intro.dhcp.jis
EXAMPLES= dhcpdb.pool dhcpdb.relay dhcpdb.server
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/net-mgmt/wifimgr/Makefile b/net-mgmt/wifimgr/Makefile
index 18ca246b6abc..289bbcb35ded 100644
--- a/net-mgmt/wifimgr/Makefile
+++ b/net-mgmt/wifimgr/Makefile
@@ -18,6 +18,9 @@ USE_GNOME= gtk20
INSTALLS_ICONS= yes
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/net-p2p/ctorrent/Makefile b/net-p2p/ctorrent/Makefile
index 63b17595a0fa..50b476bb2dd8 100644
--- a/net-p2p/ctorrent/Makefile
+++ b/net-p2p/ctorrent/Makefile
@@ -16,6 +16,8 @@ GNU_CONFIGURE= yes
PLIST_FILES= bin/ctorrent
PORTDOCS= README-DNH.TXT UserGuide
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/net-p2p/gnunet-gtk/Makefile b/net-p2p/gnunet-gtk/Makefile
index eb5c9cb3164a..38c4a479e9cf 100644
--- a/net-p2p/gnunet-gtk/Makefile
+++ b/net-p2p/gnunet-gtk/Makefile
@@ -27,6 +27,9 @@ CONFIGURE_ARGS = --with-extractor=${LOCALBASE} \
MAN1= gnunet-fs-gtk.1
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/net-p2p/gtkhx/Makefile b/net-p2p/gtkhx/Makefile
index fd0867270bae..426bfc5f768a 100644
--- a/net-p2p/gtkhx/Makefile
+++ b/net-p2p/gtkhx/Makefile
@@ -20,6 +20,9 @@ LDFLAGS+= -L${LOCALBASE}/lib
MAN1= gtkhx.1
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/net-p2p/microdc2/Makefile b/net-p2p/microdc2/Makefile
index 41a7e44e6f7a..374d7ae5fa13 100644
--- a/net-p2p/microdc2/Makefile
+++ b/net-p2p/microdc2/Makefile
@@ -22,6 +22,9 @@ USES= iconv
USE_GNOME= libxml2
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/net-p2p/tribler/Makefile b/net-p2p/tribler/Makefile
index 3e6ad3c592f4..2119994c3da6 100644
--- a/net-p2p/tribler/Makefile
+++ b/net-p2p/tribler/Makefile
@@ -47,6 +47,9 @@ APSW_DISTNAME= apsw-3.7.14.1-r1
APSW_DISTFILE= ${APSW_DISTNAME}.zip
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-extract:
diff --git a/net/activemq/Makefile b/net/activemq/Makefile
index 4db34c217680..27df99d328c9 100644
--- a/net/activemq/Makefile
+++ b/net/activemq/Makefile
@@ -65,6 +65,9 @@ PLIST_SUB= MQUSER="${MQUSER}" \
JETTYVERSION="${JETTYVERSION}" \
LVDBVERSION="${LVDBVERSION}" \
LVDBJNIVERSION="${LVDBJNIVERSION}"
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
do-install:
diff --git a/net/bwping/Makefile b/net/bwping/Makefile
index 169db1af3c76..3df9872f4e97 100644
--- a/net/bwping/Makefile
+++ b/net/bwping/Makefile
@@ -17,6 +17,9 @@ MAN8= bwping.8
PLIST_FILES= sbin/bwping
NO_STAGE= yes
+
+OPTIONS_DEFINE= IPV6
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIPV6}
diff --git a/net/cyphesis/Makefile b/net/cyphesis/Makefile
index f7d2790d6b8c..5107023e5427 100644
--- a/net/cyphesis/Makefile
+++ b/net/cyphesis/Makefile
@@ -34,6 +34,9 @@ MAN1= cyclient.1 cycmd.1 cyphesis.1 cyphesis-tools.1 cyaddrules.1 \
cyconvertrules.1 cydumprules.1 cyloadrules.1 cypasswd.1
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/net/dhcprelya/Makefile b/net/dhcprelya/Makefile
index 329188187a83..2d9641a2a86c 100644
--- a/net/dhcprelya/Makefile
+++ b/net/dhcprelya/Makefile
@@ -27,6 +27,9 @@ PLIST_FILES= sbin/${PORTNAME} lib/${PORTNAME}_log_plugin.so \
RADIUS_PLUGIN_PLUGIN_DESC= build radius plugin
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MRADIUS_PLUGIN}
diff --git a/net/exabgp/Makefile b/net/exabgp/Makefile
index f23e02165c90..c42e6702087e 100644
--- a/net/exabgp/Makefile
+++ b/net/exabgp/Makefile
@@ -29,6 +29,9 @@ GROUPS= _bgpd
MAN1= ${PORTNAME}.1
NO_STAGE= yes
+
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
post-extract:
diff --git a/net/fping/Makefile b/net/fping/Makefile
index d1b48b246bbf..0c6ac8bc824d 100644
--- a/net/fping/Makefile
+++ b/net/fping/Makefile
@@ -19,6 +19,9 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --bindir="${PREFIX}/sbin"
NO_STAGE= yes
+
+OPTIONS_DEFINE= IPV6
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIPV4}
diff --git a/net/get_iplayer/Makefile b/net/get_iplayer/Makefile
index e26840c415d0..0cc192abc311 100644
--- a/net/get_iplayer/Makefile
+++ b/net/get_iplayer/Makefile
@@ -40,6 +40,8 @@ PORTDATA= html plugins
PORTDOCS= CHANGELOG-get_iplayer.cgi.txt CHANGELOG.txt \
README-get_iplayer.cgi.txt README.md web.sh
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/net/heybuddy/Makefile b/net/heybuddy/Makefile
index c067dfd2f223..809f81d46263 100644
--- a/net/heybuddy/Makefile
+++ b/net/heybuddy/Makefile
@@ -25,6 +25,9 @@ DESKTOP_ENTRIES= "Heybuddy" \
false
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/net/htpdate/Makefile b/net/htpdate/Makefile
index 8111793b2fa7..2d85fce37aef 100644
--- a/net/htpdate/Makefile
+++ b/net/htpdate/Makefile
@@ -20,6 +20,8 @@ PLIST_FILES= bin/${PORTNAME} man/man8/${PORTNAME}.8.gz
PORTDOCS= Changelog README
USE_RC_SUBR= ${PORTNAME}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/net/ipgrab/Makefile b/net/ipgrab/Makefile
index 8fe8700ea5b9..d66635f3fcd5 100644
--- a/net/ipgrab/Makefile
+++ b/net/ipgrab/Makefile
@@ -24,6 +24,9 @@ PORTDOCS= README AUTHORS COPYING ChangeLog DEVELOPER-HOWTO \
INSTALL NEWS TODO
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/net/jwhois/Makefile b/net/jwhois/Makefile
index 3293ac69c82b..b57c89eeb8d9 100644
--- a/net/jwhois/Makefile
+++ b/net/jwhois/Makefile
@@ -20,6 +20,9 @@ LDFLAGS+= -L${PREFIX}/lib
CONFIGURE_ARGS= --localstatedir=${PREFIX}/var/jwhois
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/net/libnet10/Makefile b/net/libnet10/Makefile
index 605ee61ddc85..d112ebcacd1e 100644
--- a/net/libnet10/Makefile
+++ b/net/libnet10/Makefile
@@ -20,6 +20,8 @@ USE_AUTOTOOLS= autoconf
WRKSRC= ${WRKDIR}/Libnet-${PORTVERSION}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/net/librouteros/Makefile b/net/librouteros/Makefile
index d9fb547bb5d5..6f9d8ac68850 100644
--- a/net/librouteros/Makefile
+++ b/net/librouteros/Makefile
@@ -24,6 +24,8 @@ CFLAGS+= -I${LOCALBASE}/include -Wno-error
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/net/opennx/Makefile b/net/opennx/Makefile
index 7fd0b7bb8864..29e2353cf27b 100644
--- a/net/opennx/Makefile
+++ b/net/opennx/Makefile
@@ -37,6 +37,9 @@ NO_PACKAGE= must generate a fresh private key at install time
SSH_KEYGEN?= ssh-keygen
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if !${PORT_OPTIONS:MNLS}
diff --git a/net/pchar/Makefile b/net/pchar/Makefile
index 7ea78b17961e..277e8a56ad0c 100644
--- a/net/pchar/Makefile
+++ b/net/pchar/Makefile
@@ -25,6 +25,9 @@ PLIST_FILES= sbin/pchar
PORTDOCS= README CHANGES FAQ
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/net/pmf/Makefile b/net/pmf/Makefile
index 873a4312f8a8..529d3313c61e 100644
--- a/net/pmf/Makefile
+++ b/net/pmf/Makefile
@@ -20,6 +20,9 @@ SUB_FILES= pmfrc.default
CFLAGS+= -Wno-return-type
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
do-install:
diff --git a/net/ptpd2/Makefile b/net/ptpd2/Makefile
index db3c2d3eadac..547fe9a694f8 100644
--- a/net/ptpd2/Makefile
+++ b/net/ptpd2/Makefile
@@ -26,6 +26,8 @@ PORTDOCS= *
USE_RC_SUBR= ptpd2
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
run-autotools: run-autotools-autoreconf
diff --git a/net/pure-sockets/Makefile b/net/pure-sockets/Makefile
index b6e162eea065..c3cd8dd10d4b 100644
--- a/net/pure-sockets/Makefile
+++ b/net/pure-sockets/Makefile
@@ -25,6 +25,8 @@ PORTDOCS= README
PORTEXAMPLES= *
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-install:
diff --git a/net/raggle/Makefile b/net/raggle/Makefile
index e0ee8f3e8f99..9eb4c602ae58 100644
--- a/net/raggle/Makefile
+++ b/net/raggle/Makefile
@@ -21,6 +21,8 @@ DOCS= AUTHORS BUGS COPYING ChangeLog README TODO \
doc/default_config.rb doc/pauls_feeds.opml.gz \
doc/theme_documentation.txt
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/net/ripe-whois/Makefile b/net/ripe-whois/Makefile
index 0576869981a1..57b01abc80c7 100644
--- a/net/ripe-whois/Makefile
+++ b/net/ripe-whois/Makefile
@@ -22,6 +22,8 @@ post-patch::
-e '/^bin_PROGRAMS =/ s/whois\$$\(EXEEXT\)/whois3$$(EXEEXT)/' \
${WRKSRC}/Makefile.in
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/net/samplicator/Makefile b/net/samplicator/Makefile
index e2d34366f0eb..6c92643530bd 100644
--- a/net/samplicator/Makefile
+++ b/net/samplicator/Makefile
@@ -18,6 +18,8 @@ GNU_CONFIGURE= yes
PLIST_FILES= bin/samplicate
PORTDOCS= NEWS README
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/net/sharity-light/Makefile b/net/sharity-light/Makefile
index 6b2d2967344a..72766c1551cb 100644
--- a/net/sharity-light/Makefile
+++ b/net/sharity-light/Makefile
@@ -16,6 +16,9 @@ PLIST_FILES= sbin/shlight sbin/unshlight
PORTDOCS= *
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-extract:
diff --git a/net/skstream/Makefile b/net/skstream/Makefile
index 6ecaf0ca806d..09a77efc8feb 100644
--- a/net/skstream/Makefile
+++ b/net/skstream/Makefile
@@ -16,6 +16,9 @@ USE_LDCONFIG= yes
USE_GCC= 4.7+
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/net/smb4k-kde4/Makefile b/net/smb4k-kde4/Makefile
index 3af76be0bd04..4d9e04da6fbd 100644
--- a/net/smb4k-kde4/Makefile
+++ b/net/smb4k-kde4/Makefile
@@ -27,6 +27,9 @@ DOCSDIR= ${PREFIX}/share/doc/HTML/en/smb4k
SUB_FILES= pkg-message
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/net/spoofer/Makefile b/net/spoofer/Makefile
index 370140fdb722..b788c8fbda93 100644
--- a/net/spoofer/Makefile
+++ b/net/spoofer/Makefile
@@ -14,6 +14,8 @@ PORTDOCS= README CHANGES
HAS_CONFIGURE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/net/tcpreen/Makefile b/net/tcpreen/Makefile
index 236b91b80564..9e7b5834ad27 100644
--- a/net/tcpreen/Makefile
+++ b/net/tcpreen/Makefile
@@ -17,6 +17,9 @@ MAN1= tcpreen.1
DOC_FILES= AUTHORS NEWS README THANKS TODO
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/net/tcpsplit/Makefile b/net/tcpsplit/Makefile
index ab2bb9c2339d..499b52646082 100644
--- a/net/tcpsplit/Makefile
+++ b/net/tcpsplit/Makefile
@@ -18,6 +18,8 @@ NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -E '/^(CC|CFLAGS|INC|LD)/d' ${WRKSRC}/Makefile
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/net/tinyldap/Makefile b/net/tinyldap/Makefile
index 98b4a670bcce..a125ba311f18 100644
--- a/net/tinyldap/Makefile
+++ b/net/tinyldap/Makefile
@@ -29,6 +29,8 @@ DOCFILES= ACL FORMAT GETTING.STARTED README README.security RFCs \
LIBOWFAT_PORT?= devel/libowfat
TINYLDAP_DATA?= ${PREFIX}/tinyldap/data
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/net/u6rd/Makefile b/net/u6rd/Makefile
index d82da19c31f3..49f6ce6c1342 100644
--- a/net/u6rd/Makefile
+++ b/net/u6rd/Makefile
@@ -16,6 +16,8 @@ USE_RC_SUBR= u6rd
PLIST_FILES= sbin/u6rd man/man8/u6rd.8.gz
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/net/uplog/Makefile b/net/uplog/Makefile
index d4f85aa18277..f0a90037c22b 100644
--- a/net/uplog/Makefile
+++ b/net/uplog/Makefile
@@ -16,6 +16,8 @@ CPPFLAGS+= -I${LOCALBASE}/include
PORTDOCS= README
PLIST_FILES= bin/uplog
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/net/wmnetload/Makefile b/net/wmnetload/Makefile
index 158f7189f822..d6177a714366 100644
--- a/net/wmnetload/Makefile
+++ b/net/wmnetload/Makefile
@@ -19,6 +19,9 @@ USE_XORG= xpm x11
GNU_CONFIGURE= yes
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/news/fidogate/Makefile b/news/fidogate/Makefile
index ca56c05eb48c..4d948409a4cb 100644
--- a/news/fidogate/Makefile
+++ b/news/fidogate/Makefile
@@ -23,6 +23,8 @@ DOCLIST= fidogate.texi fidogate.txt gatebau94.txt kludge-rfc.doc \
template.html fido howto misc rfc gatebau/msgid.sgml \
gatebau/msgid.tex gatebau/msgid.txt
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/news/hellanzb/Makefile b/news/hellanzb/Makefile
index 753382a2c066..25f31252bbec 100644
--- a/news/hellanzb/Makefile
+++ b/news/hellanzb/Makefile
@@ -24,6 +24,9 @@ USES= twisted:run,web
PORTDOCS= CHANGELOG CREDITS README
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
# more fully-featured rar needs i386
diff --git a/news/ifmail/Makefile b/news/ifmail/Makefile
index 98288620ed1d..0daf540b16e4 100644
--- a/news/ifmail/Makefile
+++ b/news/ifmail/Makefile
@@ -19,6 +19,8 @@ PLIST_SUB+= IFMAIL_RUNAS="${IFMAIL_RUNAS}"
# USERS does not work here
#USERS= ifmail
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
pre-configure:
diff --git a/palm/jpilot/Makefile b/palm/jpilot/Makefile
index db1080826270..e1069e6b3d1c 100644
--- a/palm/jpilot/Makefile
+++ b/palm/jpilot/Makefile
@@ -31,6 +31,9 @@ USE_GNOME+= gtk20
MAN1= jpilot-dial.1 jpilot-dump.1 jpilot-sync.1 jpilot.1
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/ports-mgmt/chucky/Makefile b/ports-mgmt/chucky/Makefile
index 1497ad6569a5..62eb9656c714 100644
--- a/ports-mgmt/chucky/Makefile
+++ b/ports-mgmt/chucky/Makefile
@@ -33,6 +33,9 @@ SUB_LIST= MAN7PREFIX="${MAN7PREFIX}"
PORTDOCS= *
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/ports-mgmt/pkg_jail/Makefile b/ports-mgmt/pkg_jail/Makefile
index 55ee6f930d2b..a728d4007926 100644
--- a/ports-mgmt/pkg_jail/Makefile
+++ b/ports-mgmt/pkg_jail/Makefile
@@ -16,6 +16,8 @@ PLIST_FILES= bin/pkg_jail bin/pkg_update \
PORTDOCS= README
MAN1= pkg_jail.1 pkg_update.1
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/ports-mgmt/pkgs_which/Makefile b/ports-mgmt/pkgs_which/Makefile
index 95faf28b2046..be41c7707f73 100644
--- a/ports-mgmt/pkgs_which/Makefile
+++ b/ports-mgmt/pkgs_which/Makefile
@@ -16,6 +16,8 @@ USES= perl5
NO_BUILD= yes
PLIST_FILES= bin/${PORTNAME}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/ports-mgmt/portbuilder/Makefile b/ports-mgmt/portbuilder/Makefile
index 0dcc8f246bfa..78fe7f5e0d2e 100644
--- a/ports-mgmt/portbuilder/Makefile
+++ b/ports-mgmt/portbuilder/Makefile
@@ -18,6 +18,8 @@ USE_XZ= yes
PORTDOCS= BUGS ChangeLog COPYRIGHT README
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/ports-mgmt/prhistory/Makefile b/ports-mgmt/prhistory/Makefile
index 358a42d738c1..6edc2a12d8ea 100644
--- a/ports-mgmt/prhistory/Makefile
+++ b/ports-mgmt/prhistory/Makefile
@@ -29,6 +29,9 @@ SUB_FILES= pkg-message
PORTDOCS= *
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/print/cpp2latex/Makefile b/print/cpp2latex/Makefile
index a436e64ca5a2..54804be97696 100644
--- a/print/cpp2latex/Makefile
+++ b/print/cpp2latex/Makefile
@@ -19,6 +19,9 @@ PORTDOCS= AUTHORS ChangeLog README TODO
PLIST_FILES= bin/cpp2latex
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/print/foxitreader/Makefile b/print/foxitreader/Makefile
index aaa456040055..9fba21ff97a1 100644
--- a/print/foxitreader/Makefile
+++ b/print/foxitreader/Makefile
@@ -30,6 +30,9 @@ USE_LINUX_APPS= cups-libs gtk2
WRKSRC= ${WRKDIR}/${PORTVERSION:R}-release
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/print/gtklp/Makefile b/print/gtklp/Makefile
index a35e19365478..d34771c1a60e 100644
--- a/print/gtklp/Makefile
+++ b/print/gtklp/Makefile
@@ -26,6 +26,9 @@ LDFLAGS+= -L${LOCALBASE}/lib
MAN1= gtklp.1 gtklpq.1
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/print/lilypond-devel/Makefile b/print/lilypond-devel/Makefile
index dd72de1adc61..5ce99847f5dc 100644
--- a/print/lilypond-devel/Makefile
+++ b/print/lilypond-devel/Makefile
@@ -67,6 +67,8 @@ NO_CCACHE= yes
PLIST_SUB= PORTVERSION=${PORTVERSION}
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/print/lilypond/Makefile b/print/lilypond/Makefile
index ca0949837f67..3f8b9e4be335 100644
--- a/print/lilypond/Makefile
+++ b/print/lilypond/Makefile
@@ -65,6 +65,8 @@ NO_CCACHE= yes
PLIST_SUB= PORTVERSION=${PORTVERSION}
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/print/passivetex/Makefile b/print/passivetex/Makefile
index 4574c26d9f2b..e9fa23c4cb98 100644
--- a/print/passivetex/Makefile
+++ b/print/passivetex/Makefile
@@ -42,6 +42,9 @@ CLASS_FILES= dummyels.sty fotex.xmt fotex.sty \
dummyels.sty nomulticol.sty
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
do-install:
diff --git a/print/pstotext/Makefile b/print/pstotext/Makefile
index f5a457f6c4af..4ea575ce40da 100644
--- a/print/pstotext/Makefile
+++ b/print/pstotext/Makefile
@@ -21,6 +21,9 @@ PLIST_FILES= bin/pstotext
PORTDOCS= copyright
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/print/tex-xdvik/Makefile b/print/tex-xdvik/Makefile
index 16a57b320be9..1b9cfa8beceb 100644
--- a/print/tex-xdvik/Makefile
+++ b/print/tex-xdvik/Makefile
@@ -49,6 +49,9 @@ PORTDOCS= BUGS CHANGES INSTALL README README.CVS README.coding \
README.layout README.xdvik README_maintainer TODO
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/print/texinfo/Makefile b/print/texinfo/Makefile
index 709d1de8c3d7..ee84f2e921d4 100644
--- a/print/texinfo/Makefile
+++ b/print/texinfo/Makefile
@@ -28,6 +28,8 @@ INFO= ${PORTNAME} info-stnd info
TEXMF= share/texmf
PLIST_SUB= TEXMF=${TEXMF}
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/science/2d-rewriter/Makefile b/science/2d-rewriter/Makefile
index 2d01330c85b6..b22fced27ffb 100644
--- a/science/2d-rewriter/Makefile
+++ b/science/2d-rewriter/Makefile
@@ -15,6 +15,9 @@ USES= imake
USE_XORG= x11 xext
NO_STAGE= yes
+
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXAMPLES}
diff --git a/science/ecs/Makefile b/science/ecs/Makefile
index 5db747f50961..cca1485d7090 100644
--- a/science/ecs/Makefile
+++ b/science/ecs/Makefile
@@ -41,6 +41,9 @@ CONFIGURE_ARGS+=--without-adf --without-ccm
.endif
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/science/v_sim/Makefile b/science/v_sim/Makefile
index c097c9868623..1d422248e60d 100644
--- a/science/v_sim/Makefile
+++ b/science/v_sim/Makefile
@@ -30,6 +30,9 @@ USE_LDCONFIG= yes
INSTALLS_ICONS= yes
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS EXAMPLES
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/security/ccrypt/Makefile b/security/ccrypt/Makefile
index f4655cf9be68..33d43c680b1d 100644
--- a/security/ccrypt/Makefile
+++ b/security/ccrypt/Makefile
@@ -12,6 +12,9 @@ COMMENT= Command-line utility for encrypting and decrypting files and streams
USES= gmake
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/security/duo/Makefile b/security/duo/Makefile
index 9659df5913e5..aa11c877be42 100644
--- a/security/duo/Makefile
+++ b/security/duo/Makefile
@@ -27,6 +27,9 @@ MAN8= login_duo.8 pam_duo.8
OPTIONS= DOCS
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${OSVERSION} >= 1000000
diff --git a/security/fuzzdb/Makefile b/security/fuzzdb/Makefile
index ffb1ce65d220..0df6afa6a677 100644
--- a/security/fuzzdb/Makefile
+++ b/security/fuzzdb/Makefile
@@ -17,6 +17,9 @@ PORTDIRS= attack-payloads wordlists-misc Discovery \
web-backdoors wordlists-user-passwd regex
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/security/gnutls-devel/Makefile b/security/gnutls-devel/Makefile
index ca2e49798341..5172597ffc67 100644
--- a/security/gnutls-devel/Makefile
+++ b/security/gnutls-devel/Makefile
@@ -32,6 +32,9 @@ CONFIGURE_ARGS+= --disable-guile --disable-silent-rules \
MANCOMPRESSED= no
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if (defined(WITH_LIBTASN1) || exists(${LOCALBASE}/lib/libtasn1.so.7)) && !defined(WITHOUT_LIBTASN1)
diff --git a/security/identify/Makefile b/security/identify/Makefile
index 120d88f02091..9d8965bf5a35 100644
--- a/security/identify/Makefile
+++ b/security/identify/Makefile
@@ -16,6 +16,9 @@ PORTDOCS= README
PLIST_FILES= libexec/identify
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/security/mac-robber/Makefile b/security/mac-robber/Makefile
index e1ae7d489900..12bd9654bf3e 100644
--- a/security/mac-robber/Makefile
+++ b/security/mac-robber/Makefile
@@ -20,6 +20,8 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mac-robber ${STAGEDIR}${PREFIX}/bin
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/security/nettle/Makefile b/security/nettle/Makefile
index 539175591672..b10afa678aac 100644
--- a/security/nettle/Makefile
+++ b/security/nettle/Makefile
@@ -38,6 +38,8 @@ INFO= nettle
CONFIGURE_ENV+= CCPIC=-fPIC
.endif
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-install:
diff --git a/security/orthrus/Makefile b/security/orthrus/Makefile
index e9b402888c68..00406a1b54c7 100644
--- a/security/orthrus/Makefile
+++ b/security/orthrus/Makefile
@@ -21,6 +21,9 @@ USES= iconv
PORTDOCS= *
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/security/pam-pgsql/Makefile b/security/pam-pgsql/Makefile
index eed839551eba..da19afd89135 100644
--- a/security/pam-pgsql/Makefile
+++ b/security/pam-pgsql/Makefile
@@ -20,6 +20,9 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --libdir=/usr/lib
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/security/pam_krb5-rh/Makefile b/security/pam_krb5-rh/Makefile
index ead167aad099..a304fe65389f 100644
--- a/security/pam_krb5-rh/Makefile
+++ b/security/pam_krb5-rh/Makefile
@@ -24,6 +24,8 @@ CONFIGURE_ARGS+=${ICONV_CONFIGURE_ARG} --without-afs \
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_JOBS_UNSAFE= yes
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/security/pidgin-encryption/Makefile b/security/pidgin-encryption/Makefile
index 92e220046b13..1632796b5d74 100644
--- a/security/pidgin-encryption/Makefile
+++ b/security/pidgin-encryption/Makefile
@@ -28,6 +28,9 @@ CONFIGURE_ARGS= --with-nspr-includes=${LOCALBASE}/include/nspr \
--with-nss-libs=${LOCALBASE}/lib/nss
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/security/polarssl/Makefile b/security/polarssl/Makefile
index ce3fbd05965d..24d556c7d4fb 100644
--- a/security/polarssl/Makefile
+++ b/security/polarssl/Makefile
@@ -44,6 +44,8 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/programs/*/${i} ${STAGEDIR}${PREFIX}/bin/polarssl_${i}
.endfor
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/security/pulledpork/Makefile b/security/pulledpork/Makefile
index 901ad2f658ee..bb378636db5a 100644
--- a/security/pulledpork/Makefile
+++ b/security/pulledpork/Makefile
@@ -33,6 +33,8 @@ PLIST_FILES= bin/pulledpork.pl \
SUB_FILES= pkg-message
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
PORTDOCS= README README.CATEGORIES README.CHANGES README.RULESET README.SHAREDOBJECTS
diff --git a/security/slurpie/Makefile b/security/slurpie/Makefile
index c2a57dee4aa8..63f9edc09942 100644
--- a/security/slurpie/Makefile
+++ b/security/slurpie/Makefile
@@ -16,6 +16,9 @@ PLIST_FILES= sbin/slurp sbin/slurpie
PORTDOCS= README
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/security/sslsniffer/Makefile b/security/sslsniffer/Makefile
index 2fe2951e1fbf..9558bbad8bf8 100644
--- a/security/sslsniffer/Makefile
+++ b/security/sslsniffer/Makefile
@@ -19,6 +19,9 @@ PORTDOCS= README
PLIST_FILES= bin/sslsniffer
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/security/sslwrap/Makefile b/security/sslwrap/Makefile
index 4284a1c298d1..0e73d83640f1 100644
--- a/security/sslwrap/Makefile
+++ b/security/sslwrap/Makefile
@@ -19,6 +19,9 @@ PORTDOCS= README docs.html
PLIST_FILES= bin/sslwrap
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/security/super/Makefile b/security/super/Makefile
index e170ec7367d1..9386d451afb8 100644
--- a/security/super/Makefile
+++ b/security/super/Makefile
@@ -20,6 +20,9 @@ MAN1= super.1 setuid.1
MAN5= super.5
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/security/xyssl/Makefile b/security/xyssl/Makefile
index f9addb618383..889954d4dd14 100644
--- a/security/xyssl/Makefile
+++ b/security/xyssl/Makefile
@@ -24,6 +24,9 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/security/zxid/Makefile b/security/zxid/Makefile
index 55a126b2bf2a..17eb809cd4ac 100644
--- a/security/zxid/Makefile
+++ b/security/zxid/Makefile
@@ -28,6 +28,9 @@ ZXID_BINS= smime zxcall zxcot zxdecode zxencdectest zxid zxidhlo \
zxidwsctool zxlogview zxpasswd
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/shells/mksh/Makefile b/shells/mksh/Makefile
index c9b04e592d26..b8296949265d 100644
--- a/shells/mksh/Makefile
+++ b/shells/mksh/Makefile
@@ -14,6 +14,8 @@ COMMENT= MirBSD Korn Shell
WRKSRC= ${WRKDIR}/${PORTNAME}
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
do-build:
diff --git a/sysutils/LPRng/Makefile b/sysutils/LPRng/Makefile
index 2c09b3d7e032..476f4083169f 100644
--- a/sysutils/LPRng/Makefile
+++ b/sysutils/LPRng/Makefile
@@ -62,6 +62,9 @@ MAN5= printcap.5 lpd.conf.5 lpd.perms.5
MAN8= lpc.8 checkpc.8 lpd.8
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/sysutils/bbcp/Makefile b/sysutils/bbcp/Makefile
index 84dbe1b3c0c9..3fc67b9b0ba5 100644
--- a/sysutils/bbcp/Makefile
+++ b/sysutils/bbcp/Makefile
@@ -19,6 +19,9 @@ PORTDOCS= ${PORTNAME}.pdf
USE_XZ= yes
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/sysutils/bsdadminscripts/Makefile b/sysutils/bsdadminscripts/Makefile
index 74db4a4edd2d..a448af4f9476 100644
--- a/sysutils/bsdadminscripts/Makefile
+++ b/sysutils/bsdadminscripts/Makefile
@@ -15,6 +15,9 @@ NO_BUILD= yes
MANCOMPRESSED= yes
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/sysutils/busybox-unstable/Makefile b/sysutils/busybox-unstable/Makefile
index 2d11ee6a83ca..1300504330db 100644
--- a/sysutils/busybox-unstable/Makefile
+++ b/sysutils/busybox-unstable/Makefile
@@ -32,6 +32,8 @@ USES= compiler:nestedfct gmake
PLIST_FILES= bin/busybox
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/sysutils/busybox/Makefile b/sysutils/busybox/Makefile
index 458844d0b940..6d7e725c102a 100644
--- a/sysutils/busybox/Makefile
+++ b/sysutils/busybox/Makefile
@@ -32,6 +32,8 @@ USES= compiler:nestedfct gmake
PLIST_FILES= bin/busybox
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/sysutils/cdrtools-devel/Makefile b/sysutils/cdrtools-devel/Makefile
index 402e12c37c09..267489d9fef7 100644
--- a/sysutils/cdrtools-devel/Makefile
+++ b/sysutils/cdrtools-devel/Makefile
@@ -89,6 +89,9 @@ MAKE_ENV= CCOM=cc GMAKE_NOWARN=true INS_BASE=${LOCALBASE} \
CDRTLSTARGET= ${ARCH:S/powerpc64/powerpc/}-freebsd-cc
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if exists(${LOCALBASE}/lib/libiconv.a) || \
diff --git a/sysutils/cdrtools/Makefile b/sysutils/cdrtools/Makefile
index 081845f9dc47..780f12649f02 100644
--- a/sysutils/cdrtools/Makefile
+++ b/sysutils/cdrtools/Makefile
@@ -87,6 +87,9 @@ MAKE_ENV= CCOM=cc GMAKE_NOWARN=true INS_BASE=${LOCALBASE} \
CDRTLSTARGET= ${ARCH:S/powerpc64/powerpc/}-freebsd-cc
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if exists(${LOCALBASE}/lib/libiconv.a) || \
diff --git a/sysutils/dc3dd/Makefile b/sysutils/dc3dd/Makefile
index c5d88e3ad5c8..0beade95195c 100644
--- a/sysutils/dc3dd/Makefile
+++ b/sysutils/dc3dd/Makefile
@@ -22,6 +22,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING
MAN1= dc3dd.1
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/sysutils/dd_rescue/Makefile b/sysutils/dd_rescue/Makefile
index 1a5c4ebebaf7..9abf07558e2a 100644
--- a/sysutils/dd_rescue/Makefile
+++ b/sysutils/dd_rescue/Makefile
@@ -20,6 +20,9 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET= default
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/sysutils/dupmerge/Makefile b/sysutils/dupmerge/Makefile
index 54016ab23a4f..a9c510ceca5e 100644
--- a/sysutils/dupmerge/Makefile
+++ b/sysutils/dupmerge/Makefile
@@ -17,6 +17,8 @@ ALL_TARGET= dupmerge
PLIST_FILES= bin/dupmerge
PORTDOCS= readme.txt
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/sysutils/fusefs-encfs/Makefile b/sysutils/fusefs-encfs/Makefile
index 59b40d4bb902..035bf0d4fd41 100644
--- a/sysutils/fusefs-encfs/Makefile
+++ b/sysutils/fusefs-encfs/Makefile
@@ -28,6 +28,9 @@ USE_GMAKE= yes
USE_LDCONFIG= yes
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/sysutils/gapcmon/Makefile b/sysutils/gapcmon/Makefile
index 40722a3a6803..20fb1bac6868 100644
--- a/sysutils/gapcmon/Makefile
+++ b/sysutils/gapcmon/Makefile
@@ -21,6 +21,9 @@ GNU_CONFIGURE= yes
PORTDOCS= AUTHORS ChangeLog INSTALL README
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-extract:
diff --git a/sysutils/gcombust/Makefile b/sysutils/gcombust/Makefile
index e6c688a2e860..2646c8c83c1b 100644
--- a/sysutils/gcombust/Makefile
+++ b/sysutils/gcombust/Makefile
@@ -25,6 +25,9 @@ CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
pre-patch:
diff --git a/sysutils/hourglass/Makefile b/sysutils/hourglass/Makefile
index 6480ff1ace1c..750ecd9d8d73 100644
--- a/sysutils/hourglass/Makefile
+++ b/sysutils/hourglass/Makefile
@@ -17,6 +17,8 @@ GNU_CONFIGURE= yes
PLIST_FILES= bin/busy bin/hourglass
PORTDOCS= CALIBRATION
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
THREAD_LIBS= -pthread
diff --git a/sysutils/keyboard-daemon/Makefile b/sysutils/keyboard-daemon/Makefile
index 3f20fae30b56..d2ce87c5b297 100644
--- a/sysutils/keyboard-daemon/Makefile
+++ b/sysutils/keyboard-daemon/Makefile
@@ -18,6 +18,8 @@ USE_RC_SUBR= ${PORTNAME:S/-/_/}
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
PORTEXAMPLES= *
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
do-install:
diff --git a/sysutils/ldap-account-manager/Makefile b/sysutils/ldap-account-manager/Makefile
index 4d6c3e889bb8..49dd8f867502 100644
--- a/sysutils/ldap-account-manager/Makefile
+++ b/sysutils/ldap-account-manager/Makefile
@@ -29,6 +29,8 @@ SUB_FILES= pkg-message
CONFIGS= config.cfg lam.conf
WRITEABLES= config sess tmp
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/sysutils/multitail/Makefile b/sysutils/multitail/Makefile
index 63df9a909a47..62838ce30bde 100644
--- a/sysutils/multitail/Makefile
+++ b/sysutils/multitail/Makefile
@@ -21,6 +21,8 @@ PLIST_FILES= bin/multitail etc/multitail.conf.sample \
man/man1/multitail.1.gz
PORTDOCS= readme.txt license.txt
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/sysutils/progsreiserfs/Makefile b/sysutils/progsreiserfs/Makefile
index d7943b94577a..ddb31a7a0589 100644
--- a/sysutils/progsreiserfs/Makefile
+++ b/sysutils/progsreiserfs/Makefile
@@ -18,6 +18,8 @@ CFLAGS+= -Dgetopt_long_only=getopt_long
EXTRA_PATCHES= ${FILESDIR}/extrapatch-progsreiserfs::libmisc::Makefile.in
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/sysutils/puppet27/Makefile b/sysutils/puppet27/Makefile
index c50e27fdcc4b..224cfca32c59 100644
--- a/sysutils/puppet27/Makefile
+++ b/sysutils/puppet27/Makefile
@@ -53,6 +53,9 @@ PACKAGE_ROOT_DESC= Use PACKAGEROOT insted of PACKAGESITE
PATCHES_DESC= Optional exclusive patches
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPACKAGE_ORIGIN}
diff --git a/sysutils/relaxconf/Makefile b/sysutils/relaxconf/Makefile
index 4ac1e24f4890..1485bbccda9b 100644
--- a/sysutils/relaxconf/Makefile
+++ b/sysutils/relaxconf/Makefile
@@ -16,6 +16,8 @@ RUN_DEPENDS= cdialog:${PORTSDIR}/devel/cdialog \
GNU_CONFIGURE= yes
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/sysutils/sortu/Makefile b/sysutils/sortu/Makefile
index e0436b552251..0e3683c96087 100644
--- a/sysutils/sortu/Makefile
+++ b/sysutils/sortu/Makefile
@@ -19,6 +19,9 @@ PLIST_FILES= bin/sortu
ALL_TARGET= sortu
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/sysutils/spiped/Makefile b/sysutils/spiped/Makefile
index 3849ab9542cd..18ac047e8b9e 100644
--- a/sysutils/spiped/Makefile
+++ b/sysutils/spiped/Makefile
@@ -29,6 +29,9 @@ PLIST_FILES= bin/spiped bin/spipe
USE_RC_SUBR= spiped
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/sysutils/torque/Makefile b/sysutils/torque/Makefile
index c4c2d394ad1a..0f58d5d3ed30 100644
--- a/sysutils/torque/Makefile
+++ b/sysutils/torque/Makefile
@@ -57,6 +57,9 @@ MLINKS= pbs_sched_cc.8 pbs_sched.8 \
pbs_resources_freebsd.7 pbs_resources.7
NO_STAGE= yes
+
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/sysutils/ua/Makefile b/sysutils/ua/Makefile
index 43c79a4bcf08..60fb9146655f 100644
--- a/sysutils/ua/Makefile
+++ b/sysutils/ua/Makefile
@@ -16,6 +16,8 @@ PLIST_FILES= bin/kua bin/ua \
PORTDOCS= README
MAN1= kua.1 ua.1
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/sysutils/usbutils/Makefile b/sysutils/usbutils/Makefile
index ac5adf769164..a1882d3f0c03 100644
--- a/sysutils/usbutils/Makefile
+++ b/sysutils/usbutils/Makefile
@@ -23,6 +23,9 @@ MAN8= lsusb.8
PORTDOCS= AUTHORS ChangeLog NEWS README
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
CONFIGURE_ENV+= LIBUSB_CFLAGS="-I/usr/include" \
diff --git a/sysutils/zfstools/Makefile b/sysutils/zfstools/Makefile
index d1d1672f7d59..6f1e14a480ae 100644
--- a/sysutils/zfstools/Makefile
+++ b/sysutils/zfstools/Makefile
@@ -22,6 +22,8 @@ NO_BUILD= yes
SUB_FILES= pkg-message
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/textproc/agrep/Makefile b/textproc/agrep/Makefile
index 2192418b383c..32a6aa4f71d4 100644
--- a/textproc/agrep/Makefile
+++ b/textproc/agrep/Makefile
@@ -20,6 +20,8 @@ MAKE_ARGS= CFLAGS="${CFLAGS}"
PLIST_FILES= bin/agrep man/man1/agrep.1.gz
PORTDOCS= COPYRIGHT agrep.algorithms agrep.ps.1.Z agrep.ps.2.Z
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-extract:
diff --git a/textproc/elasticsearch/Makefile b/textproc/elasticsearch/Makefile
index 2cf2a592ceaa..f422b8a71136 100644
--- a/textproc/elasticsearch/Makefile
+++ b/textproc/elasticsearch/Makefile
@@ -19,6 +19,9 @@ ONLY_FOR_ARCHS= i386 amd64
USE_RC_SUBR= ${PORTNAME}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
LUCENEVER= 4.2.1
diff --git a/textproc/ibus-kmfl/Makefile b/textproc/ibus-kmfl/Makefile
index 1c92ae35a8ae..0f1da621cf1d 100644
--- a/textproc/ibus-kmfl/Makefile
+++ b/textproc/ibus-kmfl/Makefile
@@ -26,6 +26,9 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/textproc/ibus-m17n/Makefile b/textproc/ibus-m17n/Makefile
index ada88f6259c2..6d852e9d69a9 100644
--- a/textproc/ibus-m17n/Makefile
+++ b/textproc/ibus-m17n/Makefile
@@ -21,6 +21,9 @@ USES= gmake pkgconfig
GNU_CONFIGURE= yes
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/textproc/ibus-table/Makefile b/textproc/ibus-table/Makefile
index e9198c78a78e..e73683801a1a 100644
--- a/textproc/ibus-table/Makefile
+++ b/textproc/ibus-table/Makefile
@@ -24,6 +24,9 @@ GNU_CONFIGURE= yes
PROJECTHOST= ibus
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/textproc/m17n-contrib/Makefile b/textproc/m17n-contrib/Makefile
index 08a998e790cd..407fb46aa3e8 100644
--- a/textproc/m17n-contrib/Makefile
+++ b/textproc/m17n-contrib/Makefile
@@ -17,6 +17,9 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/textproc/m17n-im-config/Makefile b/textproc/m17n-im-config/Makefile
index 160bf3ac05d9..7c9d004fab37 100644
--- a/textproc/m17n-im-config/Makefile
+++ b/textproc/m17n-im-config/Makefile
@@ -29,6 +29,9 @@ DESKTOP_ENTRIES="M17N-IM Configuration" \
true
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/textproc/mxml/Makefile b/textproc/mxml/Makefile
index 3404891ff31c..232fa80f1471 100644
--- a/textproc/mxml/Makefile
+++ b/textproc/mxml/Makefile
@@ -32,6 +32,9 @@ PLIST_FILES= bin/mxmldoc include/mxml.h \
libdata/pkgconfig/mxml.pc
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/textproc/p5-SGMLSpm/Makefile b/textproc/p5-SGMLSpm/Makefile
index 8049b9472612..ee5426a03a7a 100644
--- a/textproc/p5-SGMLSpm/Makefile
+++ b/textproc/p5-SGMLSpm/Makefile
@@ -26,6 +26,9 @@ INSTALL_TARGET= install BINDIR=${PREFIX}/bin \
PERL5DIR=${SITE_PERL} SPECDIR=${EXAMPLESDIR}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/textproc/p5-XML-Smart/Makefile b/textproc/p5-XML-Smart/Makefile
index 30633469b5c2..e7ef7e0318cc 100644
--- a/textproc/p5-XML-Smart/Makefile
+++ b/textproc/p5-XML-Smart/Makefile
@@ -25,6 +25,8 @@ USE_PERL5= configure
PORTDOCS= Changes README
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/textproc/pure-csv/Makefile b/textproc/pure-csv/Makefile
index 839f4564be7e..e0066d34ff7c 100644
--- a/textproc/pure-csv/Makefile
+++ b/textproc/pure-csv/Makefile
@@ -22,6 +22,8 @@ NO_STAGE= yes
PORTDOCS= README
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/textproc/pure-xml/Makefile b/textproc/pure-xml/Makefile
index 0e397b2f04f3..fd4e92459e55 100644
--- a/textproc/pure-xml/Makefile
+++ b/textproc/pure-xml/Makefile
@@ -26,6 +26,8 @@ PORTDOCS= README
PORTEXAMPLES= *
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-install:
diff --git a/textproc/scim-input-pad/Makefile b/textproc/scim-input-pad/Makefile
index 47f8b7cf7328..0d452bd501b8 100644
--- a/textproc/scim-input-pad/Makefile
+++ b/textproc/scim-input-pad/Makefile
@@ -29,6 +29,9 @@ DESKTOP_ENTRIES="SCIM Input Pad" \
DOCS= ChangeLog README
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/textproc/slides/Makefile b/textproc/slides/Makefile
index edb94135fbcf..12cbfa9bc04e 100644
--- a/textproc/slides/Makefile
+++ b/textproc/slides/Makefile
@@ -38,6 +38,9 @@ REPLACE_EXPR= -e 's,@INSTDIR@,${INSTDIR},g ; \
s,@PORTNAME@,slides,g'
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/textproc/tinyxml2/Makefile b/textproc/tinyxml2/Makefile
index abda667a32e1..4c0c9e57d79f 100644
--- a/textproc/tinyxml2/Makefile
+++ b/textproc/tinyxml2/Makefile
@@ -26,6 +26,8 @@ PLIST_FILES= include/tinyxml2.h \
lib/libtinyxml2.so.1.0.14 \
libdata/pkgconfig/tinyxml2.pc
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/textproc/wdiff/Makefile b/textproc/wdiff/Makefile
index ac2eaf562872..306dde7cee59 100644
--- a/textproc/wdiff/Makefile
+++ b/textproc/wdiff/Makefile
@@ -18,6 +18,9 @@ MAN1= wdiff.1
INFO= wdiff
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/textproc/xslint/Makefile b/textproc/xslint/Makefile
index 59983dee93ad..75b3e4e5ed6b 100644
--- a/textproc/xslint/Makefile
+++ b/textproc/xslint/Makefile
@@ -24,6 +24,8 @@ SHEBANG_FILES= xslint.pl
PLIST_FILES= bin/xslint
PORTDOCS= README xslint.html xslint.xml
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/textproc/yodl/Makefile b/textproc/yodl/Makefile
index 6dbba37c9f82..551825a92347 100644
--- a/textproc/yodl/Makefile
+++ b/textproc/yodl/Makefile
@@ -27,6 +27,8 @@ PLIST_SUB+= PORTVERSION="${PORTVERSION}"
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/www/axis2/Makefile b/www/axis2/Makefile
index 59528fe19a17..a226bfbef564 100644
--- a/www/axis2/Makefile
+++ b/www/axis2/Makefile
@@ -22,6 +22,9 @@ OPTIONS_SINGLE_AS= TOMCAT6 TOMCAT7
OPTIONS_DEFAULT= TOMCAT6
NO_STAGE= yes
+
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTOMCAT6}
diff --git a/www/bluefish-devel/Makefile b/www/bluefish-devel/Makefile
index 790c6ae6dd63..af608fb0df7f 100644
--- a/www/bluefish-devel/Makefile
+++ b/www/bluefish-devel/Makefile
@@ -35,6 +35,9 @@ CONFIGURE_ARGS= --with-freedesktop_org-menu=${PREFIX}/share/applications \
--with-icon-path=${PREFIX}/share/pixmaps
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if !defined(WITHOUT_WEBLINT)
diff --git a/www/cadaver/Makefile b/www/cadaver/Makefile
index db8ff802e23e..250aa370a9e1 100644
--- a/www/cadaver/Makefile
+++ b/www/cadaver/Makefile
@@ -45,6 +45,8 @@ post-install:
#
.endif
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/www/cgic/Makefile b/www/cgic/Makefile
index 938890423711..50efa39e7510 100644
--- a/www/cgic/Makefile
+++ b/www/cgic/Makefile
@@ -19,6 +19,9 @@ MAKE_ENV+= WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null
SHLIB_MAJOR= ${PORTVERSION:R}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/www/flot/Makefile b/www/flot/Makefile
index 14cbfa5b15a3..1e263e7f2c80 100644
--- a/www/flot/Makefile
+++ b/www/flot/Makefile
@@ -29,6 +29,8 @@ do-install:
@${INSTALL} -d -g ${USERS} -o ${GROUPS} ${WWWDIR}
${INSTALL_DATA} -o www -g www ${WRKSRC}/*.js ${WWWDIR}
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-install:
diff --git a/www/gallery/Makefile b/www/gallery/Makefile
index 61fe4164e03f..4a81fab57bf8 100644
--- a/www/gallery/Makefile
+++ b/www/gallery/Makefile
@@ -23,6 +23,9 @@ USE_PHP= pcre session
WANT_PHP_WEB= yes
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/www/jspwiki/Makefile b/www/jspwiki/Makefile
index 5f47e922c5f8..0f8f83e94988 100644
--- a/www/jspwiki/Makefile
+++ b/www/jspwiki/Makefile
@@ -31,6 +31,9 @@ OPTIONS_SINGLE_AS= TOMCAT6 TOMCAT7
OPTIONS_DEFAULT= TOMCAT6
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTOMCAT6}
diff --git a/www/mod_authn_otp/Makefile b/www/mod_authn_otp/Makefile
index 8887b14600cb..8fe201d116ec 100644
--- a/www/mod_authn_otp/Makefile
+++ b/www/mod_authn_otp/Makefile
@@ -21,6 +21,9 @@ MAN1= otptool.1
PORTEXAMPLES= users.sample
NO_STAGE= yes
+
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
CONFIGURE_ARGS= --prefix=${PREFIX} \
diff --git a/www/mohawk/Makefile b/www/mohawk/Makefile
index 1a2408c908b9..472f909e411e 100644
--- a/www/mohawk/Makefile
+++ b/www/mohawk/Makefile
@@ -27,6 +27,8 @@ USE_RC_SUBR= mohawk
CFLAGS+= -I${LOCALBASE}/include/event2/compat -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib/event2
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
post-install:
diff --git a/www/oscommerce/Makefile b/www/oscommerce/Makefile
index 2338df8fbd2e..cd869bfca6e4 100644
--- a/www/oscommerce/Makefile
+++ b/www/oscommerce/Makefile
@@ -17,6 +17,8 @@ NO_BUILD= yes
SUB_FILES= pkg-message
DOCS= CHANGELOG LICENSE STANDARD release_notes.pdf documentation.pdf
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/www/py-prewikka/Makefile b/www/py-prewikka/Makefile
index 6c2a224481b8..8df2fa535eb0 100644
--- a/www/py-prewikka/Makefile
+++ b/www/py-prewikka/Makefile
@@ -17,6 +17,8 @@ LIB_DEPENDS= libprelude.so:${PORTSDIR}/security/libprelude \
USE_PYTHON= 2
USE_PYDISTUTILS= yes
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/www/py-werkzeug/Makefile b/www/py-werkzeug/Makefile
index 8f7bb25a2271..85523467c79b 100644
--- a/www/py-werkzeug/Makefile
+++ b/www/py-werkzeug/Makefile
@@ -22,6 +22,9 @@ PYDISTUTILS_NOEGGINFO= yes
EXAMPLESDIR= ${PREFIX}/share/examples/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
NO_STAGE= yes
+
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
.include <bsd.port.pre.mk>
diff --git a/www/pyblosxom/Makefile b/www/pyblosxom/Makefile
index 69b95c82c124..f92cfc54310a 100644
--- a/www/pyblosxom/Makefile
+++ b/www/pyblosxom/Makefile
@@ -15,6 +15,9 @@ USE_PYTHON= 2
USE_PYDISTUTILS= easy_install
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/www/sitecopy/Makefile b/www/sitecopy/Makefile
index 21bfbc930ab8..aecf087ed0ab 100644
--- a/www/sitecopy/Makefile
+++ b/www/sitecopy/Makefile
@@ -22,6 +22,8 @@ CONFIGURE_ARGS= --with-neon --with-libxml2
USE_GNOME= libxml2
USE_GMAKE= yes
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/www/smb_auth/Makefile b/www/smb_auth/Makefile
index a4faac256679..3bf7e89f5672 100644
--- a/www/smb_auth/Makefile
+++ b/www/smb_auth/Makefile
@@ -18,6 +18,8 @@ RUN_DEPENDS= ${LOCALBASE}/sbin/smbd:${PORTSDIR}/${SAMBA_PORT}
ALL_TARGET= smb_auth
SAMBA_PORT?= net/samba36
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/www/srg/Makefile b/www/srg/Makefile
index 0feb5a4f045e..295e371693aa 100644
--- a/www/srg/Makefile
+++ b/www/srg/Makefile
@@ -19,6 +19,9 @@ GNU_CONFIGURE= yes
MAN1= srg.1
NO_STAGE= yes
+
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/www/tidy/Makefile b/www/tidy/Makefile
index 27a3338bc076..e6e656878116 100644
--- a/www/tidy/Makefile
+++ b/www/tidy/Makefile
@@ -18,6 +18,8 @@ LICENSE_FILE= ${FILESDIR}/COPYRIGHT
ALL_TARGET= tidy
DOCFILES= Overview.html tidy.gif release-notes.html grid.gif
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-configure:
diff --git a/www/trac-gantt/Makefile b/www/trac-gantt/Makefile
index 5ac82478dcd6..713683cdd979 100644
--- a/www/trac-gantt/Makefile
+++ b/www/trac-gantt/Makefile
@@ -19,6 +19,8 @@ USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= TracGantt
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/x11-clocks/alarm-clock/Makefile b/x11-clocks/alarm-clock/Makefile
index ba0e82e339e3..2af70f7709a3 100644
--- a/x11-clocks/alarm-clock/Makefile
+++ b/x11-clocks/alarm-clock/Makefile
@@ -20,6 +20,9 @@ USE_GSTREAMER= yes
USE_GNOME= gtk20
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-clocks/cairo-clock/Makefile b/x11-clocks/cairo-clock/Makefile
index 2b051c84c719..28a1ac64bb06 100644
--- a/x11-clocks/cairo-clock/Makefile
+++ b/x11-clocks/cairo-clock/Makefile
@@ -17,6 +17,9 @@ USE_LDCONFIG= yes
MAN1= cairo-clock.1
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-fm/gnome-commander2/Makefile b/x11-fm/gnome-commander2/Makefile
index 900476123493..9fc213c64a97 100644
--- a/x11-fm/gnome-commander2/Makefile
+++ b/x11-fm/gnome-commander2/Makefile
@@ -40,6 +40,8 @@ NO_STAGE= yes
pre-configure:
cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF} -W none
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-fm/rodent/Makefile b/x11-fm/rodent/Makefile
index 46dda99aba0a..2c40aad921f2 100644
--- a/x11-fm/rodent/Makefile
+++ b/x11-fm/rodent/Makefile
@@ -32,6 +32,9 @@ PORTDOCS= *
MAN1= fgr.1
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-fonts/gentium-basic/Makefile b/x11-fonts/gentium-basic/Makefile
index c8ee428777ea..c590c978d0ab 100644
--- a/x11-fonts/gentium-basic/Makefile
+++ b/x11-fonts/gentium-basic/Makefile
@@ -40,6 +40,8 @@ SUB_FILES= pkg-message
DOCSLIST= FONTLOG.txt GENTIUM-FAQ.txt OFL-FAQ.txt
PORTDOCS= ${DOCSLIST:C,^.*/,,}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.SILENT:
diff --git a/x11-fonts/gentium-plus/Makefile b/x11-fonts/gentium-plus/Makefile
index 6d0754fe2972..ff7d19484bdf 100644
--- a/x11-fonts/gentium-plus/Makefile
+++ b/x11-fonts/gentium-plus/Makefile
@@ -34,6 +34,8 @@ DOCSLIST= FONTLOG.txt GENTIUM-FAQ.txt OFL-FAQ.txt OFL.txt README.txt \
documentation/GentiumPlus-features.pdf
PORTDOCS= ${DOCSLIST:C,^.*/,,}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.SILENT:
diff --git a/x11-toolkits/elementary/Makefile b/x11-toolkits/elementary/Makefile
index f4ad3e0718bc..1c0f620c6808 100644
--- a/x11-toolkits/elementary/Makefile
+++ b/x11-toolkits/elementary/Makefile
@@ -24,6 +24,8 @@ INSTALLS_ICONS= yes
CONFIGURE_ARGS= --disable-quick-launch
+OPTIONS_DEFINE= NLS EXAMPLES
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-toolkits/gtkextra2/Makefile b/x11-toolkits/gtkextra2/Makefile
index 1afb3072fcd2..5f7f7ca597a8 100644
--- a/x11-toolkits/gtkextra2/Makefile
+++ b/x11-toolkits/gtkextra2/Makefile
@@ -24,6 +24,9 @@ DOCSDIR= ${PREFIX}/share/doc/gtkextra2
PORTDOCS= *
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/x11-toolkits/pure-gtk/Makefile b/x11-toolkits/pure-gtk/Makefile
index 7da976354dbe..386ff8ce778d 100644
--- a/x11-toolkits/pure-gtk/Makefile
+++ b/x11-toolkits/pure-gtk/Makefile
@@ -25,6 +25,8 @@ PORTDOCS= README
PORTEXAMPLES= *
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-install:
diff --git a/x11-toolkits/pure-tk/Makefile b/x11-toolkits/pure-tk/Makefile
index 4eb5dcd7dd39..052b394ad86a 100644
--- a/x11-toolkits/pure-tk/Makefile
+++ b/x11-toolkits/pure-tk/Makefile
@@ -33,6 +33,8 @@ PORTDOCS= README
PORTEXAMPLES= *
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
post-install:
diff --git a/x11-wm/e17-module-alarm/Makefile b/x11-wm/e17-module-alarm/Makefile
index 4ba183362a27..1290cee6aee1 100644
--- a/x11-wm/e17-module-alarm/Makefile
+++ b/x11-wm/e17-module-alarm/Makefile
@@ -21,6 +21,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-comp-scale/Makefile b/x11-wm/e17-module-comp-scale/Makefile
index fd1b4cb8ecfc..8986b9d49dfc 100644
--- a/x11-wm/e17-module-comp-scale/Makefile
+++ b/x11-wm/e17-module-comp-scale/Makefile
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-cpu/Makefile b/x11-wm/e17-module-cpu/Makefile
index 79f0017afa5c..0f850bf3793e 100644
--- a/x11-wm/e17-module-cpu/Makefile
+++ b/x11-wm/e17-module-cpu/Makefile
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-diskio/Makefile b/x11-wm/e17-module-diskio/Makefile
index c54c76c5bf5e..fa81e39a52ef 100644
--- a/x11-wm/e17-module-diskio/Makefile
+++ b/x11-wm/e17-module-diskio/Makefile
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-eektool/Makefile b/x11-wm/e17-module-eektool/Makefile
index 3261600dbb78..68b5fdb36c2c 100644
--- a/x11-wm/e17-module-eektool/Makefile
+++ b/x11-wm/e17-module-eektool/Makefile
@@ -20,6 +20,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-engage/Makefile b/x11-wm/e17-module-engage/Makefile
index 943bb81a08d0..dc88f608b0a6 100644
--- a/x11-wm/e17-module-engage/Makefile
+++ b/x11-wm/e17-module-engage/Makefile
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-eooorg/Makefile b/x11-wm/e17-module-eooorg/Makefile
index 30e7840cd53a..4bc45a3bacdf 100644
--- a/x11-wm/e17-module-eooorg/Makefile
+++ b/x11-wm/e17-module-eooorg/Makefile
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-everything-aspell/Makefile b/x11-wm/e17-module-everything-aspell/Makefile
index bc37ca3a15fb..d3363acfaac7 100644
--- a/x11-wm/e17-module-everything-aspell/Makefile
+++ b/x11-wm/e17-module-everything-aspell/Makefile
@@ -20,6 +20,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-everything-mpris/Makefile b/x11-wm/e17-module-everything-mpris/Makefile
index a711e45a16ba..6ea692e438e1 100644
--- a/x11-wm/e17-module-everything-mpris/Makefile
+++ b/x11-wm/e17-module-everything-mpris/Makefile
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-everything-pidgin/Makefile b/x11-wm/e17-module-everything-pidgin/Makefile
index 7a221459bd82..cdb038ec49ee 100644
--- a/x11-wm/e17-module-everything-pidgin/Makefile
+++ b/x11-wm/e17-module-everything-pidgin/Makefile
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-everything-places/Makefile b/x11-wm/e17-module-everything-places/Makefile
index f07a5f2a1e05..e3572e5d00f4 100644
--- a/x11-wm/e17-module-everything-places/Makefile
+++ b/x11-wm/e17-module-everything-places/Makefile
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-everything-wallpaper/Makefile b/x11-wm/e17-module-everything-wallpaper/Makefile
index 29935179d09e..b0568e309cbc 100644
--- a/x11-wm/e17-module-everything-wallpaper/Makefile
+++ b/x11-wm/e17-module-everything-wallpaper/Makefile
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-everything-websearch/Makefile b/x11-wm/e17-module-everything-websearch/Makefile
index 2e831d5da369..1dbe3e26e4fd 100644
--- a/x11-wm/e17-module-everything-websearch/Makefile
+++ b/x11-wm/e17-module-everything-websearch/Makefile
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-flame/Makefile b/x11-wm/e17-module-flame/Makefile
index 688520f9e7de..19fcf0472ae3 100644
--- a/x11-wm/e17-module-flame/Makefile
+++ b/x11-wm/e17-module-flame/Makefile
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-forecasts/Makefile b/x11-wm/e17-module-forecasts/Makefile
index ec18f74da7b7..6906d52b3091 100644
--- a/x11-wm/e17-module-forecasts/Makefile
+++ b/x11-wm/e17-module-forecasts/Makefile
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-iiirk/Makefile b/x11-wm/e17-module-iiirk/Makefile
index a5a2bbab42ce..d3361d777b1a 100644
--- a/x11-wm/e17-module-iiirk/Makefile
+++ b/x11-wm/e17-module-iiirk/Makefile
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-mail/Makefile b/x11-wm/e17-module-mail/Makefile
index dd163385a235..363a2042fd40 100644
--- a/x11-wm/e17-module-mail/Makefile
+++ b/x11-wm/e17-module-mail/Makefile
@@ -21,6 +21,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-mem/Makefile b/x11-wm/e17-module-mem/Makefile
index 9280dd2aed3a..da40a9cdc537 100644
--- a/x11-wm/e17-module-mem/Makefile
+++ b/x11-wm/e17-module-mem/Makefile
@@ -20,6 +20,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-moon/Makefile b/x11-wm/e17-module-moon/Makefile
index 645495e37043..c5ab68179792 100644
--- a/x11-wm/e17-module-moon/Makefile
+++ b/x11-wm/e17-module-moon/Makefile
@@ -20,6 +20,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-mpdule/Makefile b/x11-wm/e17-module-mpdule/Makefile
index 880391a367f1..242ce89506ff 100644
--- a/x11-wm/e17-module-mpdule/Makefile
+++ b/x11-wm/e17-module-mpdule/Makefile
@@ -20,6 +20,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-net/Makefile b/x11-wm/e17-module-net/Makefile
index fffabf445121..94862db12bcd 100644
--- a/x11-wm/e17-module-net/Makefile
+++ b/x11-wm/e17-module-net/Makefile
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-news/Makefile b/x11-wm/e17-module-news/Makefile
index c3682112679d..49995959e9e2 100644
--- a/x11-wm/e17-module-news/Makefile
+++ b/x11-wm/e17-module-news/Makefile
@@ -21,6 +21,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-penguins/Makefile b/x11-wm/e17-module-penguins/Makefile
index e65906086c2b..79c67a029b2c 100644
--- a/x11-wm/e17-module-penguins/Makefile
+++ b/x11-wm/e17-module-penguins/Makefile
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-photo/Makefile b/x11-wm/e17-module-photo/Makefile
index 38f755fa7a16..62139bf9cc06 100644
--- a/x11-wm/e17-module-photo/Makefile
+++ b/x11-wm/e17-module-photo/Makefile
@@ -21,6 +21,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-places/Makefile b/x11-wm/e17-module-places/Makefile
index e77fbbc78f31..777542ecebc6 100644
--- a/x11-wm/e17-module-places/Makefile
+++ b/x11-wm/e17-module-places/Makefile
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-rain/Makefile b/x11-wm/e17-module-rain/Makefile
index 99174fde9e6a..a92cda83de85 100644
--- a/x11-wm/e17-module-rain/Makefile
+++ b/x11-wm/e17-module-rain/Makefile
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-screenshot/Makefile b/x11-wm/e17-module-screenshot/Makefile
index afb810088dae..94ed8e88281f 100644
--- a/x11-wm/e17-module-screenshot/Makefile
+++ b/x11-wm/e17-module-screenshot/Makefile
@@ -21,6 +21,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-slideshow/Makefile b/x11-wm/e17-module-slideshow/Makefile
index 077875d7ac93..d0cc2f539c54 100644
--- a/x11-wm/e17-module-slideshow/Makefile
+++ b/x11-wm/e17-module-slideshow/Makefile
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-snow/Makefile b/x11-wm/e17-module-snow/Makefile
index ba1f940d7465..f52e12b503f2 100644
--- a/x11-wm/e17-module-snow/Makefile
+++ b/x11-wm/e17-module-snow/Makefile
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-taskbar/Makefile b/x11-wm/e17-module-taskbar/Makefile
index 70bb49bab0bc..65053a0d2634 100644
--- a/x11-wm/e17-module-taskbar/Makefile
+++ b/x11-wm/e17-module-taskbar/Makefile
@@ -21,6 +21,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-tclock/Makefile b/x11-wm/e17-module-tclock/Makefile
index 36eccc9ce372..a0564133f299 100644
--- a/x11-wm/e17-module-tclock/Makefile
+++ b/x11-wm/e17-module-tclock/Makefile
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-uptime/Makefile b/x11-wm/e17-module-uptime/Makefile
index 24994e90b51e..e60dcbc35f05 100644
--- a/x11-wm/e17-module-uptime/Makefile
+++ b/x11-wm/e17-module-uptime/Makefile
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-weather/Makefile b/x11-wm/e17-module-weather/Makefile
index 05455b2ef8f8..f1367916dfe2 100644
--- a/x11-wm/e17-module-weather/Makefile
+++ b/x11-wm/e17-module-weather/Makefile
@@ -20,6 +20,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-winlist-ng/Makefile b/x11-wm/e17-module-winlist-ng/Makefile
index a68f5c423a40..5376bb0b39dd 100644
--- a/x11-wm/e17-module-winlist-ng/Makefile
+++ b/x11-wm/e17-module-winlist-ng/Makefile
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/e17-module-wlan/Makefile b/x11-wm/e17-module-wlan/Makefile
index be43d9f36a8c..4cb77f2a8bbb 100644
--- a/x11-wm/e17-module-wlan/Makefile
+++ b/x11-wm/e17-module-wlan/Makefile
@@ -19,6 +19,8 @@ USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_EFL= edje libtool_hack modarch_hack
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/mcwm/Makefile b/x11-wm/mcwm/Makefile
index 78bf6e41dc69..3f81132565d3 100644
--- a/x11-wm/mcwm/Makefile
+++ b/x11-wm/mcwm/Makefile
@@ -45,6 +45,8 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/hidden.man \
${MAN1PREFIX}/man/man1/hidden.1
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/x11-wm/obconf/Makefile b/x11-wm/obconf/Makefile
index 18850bae70f6..76ea80f8c6e1 100644
--- a/x11-wm/obconf/Makefile
+++ b/x11-wm/obconf/Makefile
@@ -26,6 +26,9 @@ LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= ABOUT-NLS AUTHORS README TODO
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/x11-wm/obmenu/Makefile b/x11-wm/obmenu/Makefile
index 169dd45dab29..acf91549ddfd 100644
--- a/x11-wm/obmenu/Makefile
+++ b/x11-wm/obmenu/Makefile
@@ -24,6 +24,8 @@ SUB_FILES= pkg-message
DESKTOP_ENTRIES="Obmenu" "Menu manager for Openbox" ${PORTNAME} \
"${PORTNAME}" "Settings;" false
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/x11-wm/qtile/Makefile b/x11-wm/qtile/Makefile
index e829b6d5287b..faf75dc2e1ea 100644
--- a/x11-wm/qtile/Makefile
+++ b/x11-wm/qtile/Makefile
@@ -27,6 +27,8 @@ PYDISTUTILS_AUTOPLIST= yes
PORTDOCS= CHANGELOG INSTALL.rst README.rst
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/x11/bbdock/Makefile b/x11/bbdock/Makefile
index aee015a0bd4a..9c6da4c03cf9 100644
--- a/x11/bbdock/Makefile
+++ b/x11/bbdock/Makefile
@@ -21,6 +21,8 @@ PORTDOCS= README
PLIST_FILES= bin/bbdock
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/x11/gdkxft/Makefile b/x11/gdkxft/Makefile
index b8518cb2c654..6465c6e597d0 100644
--- a/x11/gdkxft/Makefile
+++ b/x11/gdkxft/Makefile
@@ -22,6 +22,8 @@ CONFIGURE_ARGS= --sbindir=${PREFIX}/bin \
--without-gnome
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/x11/gtk-theme-switch/Makefile b/x11/gtk-theme-switch/Makefile
index cbeabc9599cf..c2739cf8d23c 100644
--- a/x11/gtk-theme-switch/Makefile
+++ b/x11/gtk-theme-switch/Makefile
@@ -14,6 +14,8 @@ COMMENT= Command line tool for switching GTK+ themes
USE_GNOME= gtk12
USES= gmake
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/x11/gtkterm2/Makefile b/x11/gtkterm2/Makefile
index a87e5001a3b6..b4b8342ebb03 100644
--- a/x11/gtkterm2/Makefile
+++ b/x11/gtkterm2/Makefile
@@ -23,6 +23,8 @@ PLIST_DIRS= %%DATADIR%%/pixmaps %%DATADIR%%
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/x11/imwheel/Makefile b/x11/imwheel/Makefile
index 55476690714f..65d671f5d47f 100644
--- a/x11/imwheel/Makefile
+++ b/x11/imwheel/Makefile
@@ -18,6 +18,8 @@ USES= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-gpm
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/x11/libdnd/Makefile b/x11/libdnd/Makefile
index 96ee6941c8fb..6818b35a032d 100644
--- a/x11/libdnd/Makefile
+++ b/x11/libdnd/Makefile
@@ -20,6 +20,8 @@ CPPFLAGS+= -I${LOCALBASE}/include/
LDFLAGS+= -L${LOCALBASE}/lib/
MAKE_JOBS_UNSAFE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/x11/peeper/Makefile b/x11/peeper/Makefile
index e12cf1e56f21..6f77e2ab2e17 100644
--- a/x11/peeper/Makefile
+++ b/x11/peeper/Makefile
@@ -16,6 +16,8 @@ MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} `${IMLIB_CONFIG} --cflags-gdk`" \
LIBS="`${IMLIB_CONFIG} --libs-gdk`"
ALL_TARGET= peeper
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/x11/sterm/Makefile b/x11/sterm/Makefile
index 9bd37ec2d87a..55ad6c5f50ca 100644
--- a/x11/sterm/Makefile
+++ b/x11/sterm/Makefile
@@ -26,6 +26,9 @@ PLIST_FILES= bin/st
PORTDOCS= README
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
pre-everything::
diff --git a/x11/wmappl/Makefile b/x11/wmappl/Makefile
index 11dbe52b8746..202c51275627 100644
--- a/x11/wmappl/Makefile
+++ b/x11/wmappl/Makefile
@@ -23,6 +23,8 @@ MAKE_ENV= DATADIR="${DATADIR}"
USES+= gmake
.endif
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-extract:
diff --git a/x11/xbanner/Makefile b/x11/xbanner/Makefile
index 4d0c09b6075a..cbb0c9533883 100644
--- a/x11/xbanner/Makefile
+++ b/x11/xbanner/Makefile
@@ -14,6 +14,8 @@ COMMENT= Make your XDM login screen look beautiful
USE_XORG= xpm x11
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/x11/xdialog/Makefile b/x11/xdialog/Makefile
index 5062e1a1d561..f988785cde41 100644
--- a/x11/xdialog/Makefile
+++ b/x11/xdialog/Makefile
@@ -22,6 +22,8 @@ LDFLAGS+= -L${LOCALBASE}/lib
USES= gmake
.endif
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MNLS)
diff --git a/x11/xfce4-screenshooter-plugin/Makefile b/x11/xfce4-screenshooter-plugin/Makefile
index 85a3a48d26a7..e39397ed9d3d 100644
--- a/x11/xfce4-screenshooter-plugin/Makefile
+++ b/x11/xfce4-screenshooter-plugin/Makefile
@@ -22,6 +22,8 @@ USE_GNOME= glib20 gtk20 intltool intlhack
USE_XFCE= configenv libexo libmenu libutil panel
USES= pkgconfig gmake
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}