Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2014 23:30:06 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r362015 - in head: editors/beav editors/xcoral editors/yasnippet editors/yui emulators/fs-uae emulators/gns3 emulators/jzintv emulators/klh10 emulators/libspectrum finance/gnucash ftp/o...
Message-ID:  <201407152330.s6FNU6lZ075502@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Tue Jul 15 23:30:05 2014
New Revision: 362015
URL: http://svnweb.freebsd.org/changeset/ports/362015
QAT: https://qat.redports.org/buildarchive/r362015/

Log:
  Add DOCS to OPTIONS for ports that have PORTDOCS in the plist.

Modified:
  head/editors/beav/Makefile
  head/editors/xcoral/Makefile
  head/editors/yasnippet/Makefile
  head/editors/yui/Makefile
  head/emulators/fs-uae/Makefile
  head/emulators/gns3/Makefile
  head/emulators/jzintv/Makefile
  head/emulators/klh10/Makefile
  head/emulators/libspectrum/Makefile
  head/finance/gnucash/Makefile
  head/ftp/omi/Makefile
  head/ftp/pavuk/Makefile
  head/ftp/py-ftputil/Makefile
  head/ftp/wzdftpd/Makefile
  head/games/adgali/Makefile
  head/games/angband/Makefile
  head/games/bass/Makefile
  head/games/cataclysm-dda/Makefile
  head/games/corewars/Makefile
  head/games/cosmosmash/Makefile
  head/games/digger-vgl/Makefile
  head/games/evq3/Makefile
  head/games/fotaq/Makefile
  head/games/freeciv/Makefile
  head/games/gemrb/Makefile
  head/games/gltron/Makefile
  head/games/gnubg/Makefile
  head/games/gnushogi/Makefile
  head/games/hohlin/Makefile
  head/games/hoichess/Makefile
  head/games/inform/Makefile
  head/games/linux-defcon/Makefile
  head/games/linux-enemyterritory-omni-bot-0660/Makefile
  head/games/linux-etqw-demo-server/Makefile
  head/games/linux-uplink-demo/Makefile
  head/games/mkgichessclub/Makefile
  head/games/odamex/Makefile
  head/games/openglad/Makefile
  head/games/pengpong/Makefile
  head/games/pyching/Makefile
  head/games/quake2-lights/Makefile
  head/games/quit/Makefile
  head/games/residualvm/Makefile
  head/games/scummvm-tools/Makefile
  head/games/scummvm/Makefile
  head/games/sxsame/Makefile
  head/games/thudboard/Makefile
  head/games/worldofpadman/Makefile
  head/games/xdigger/Makefile
  head/german/mediathek/Makefile
  head/german/pecl-konto_check/Makefile
  head/graphics/exiftags/Makefile
  head/graphics/feh/Makefile
  head/graphics/fotoxx/Makefile
  head/graphics/gracula/Makefile
  head/graphics/luminance-qt5/Makefile
  head/graphics/luminance/Makefile
  head/graphics/ogre3d/Makefile
  head/graphics/py-exif/Makefile
  head/graphics/py-stltools/Makefile
  head/graphics/ruby-image_size/Makefile
  head/graphics/ruby-ming/Makefile
  head/graphics/vigra/Makefile
  head/graphics/xournal/Makefile
  head/graphics/xwpick/Makefile
  head/graphics/zgv/Makefile

Modified: head/editors/beav/Makefile
==============================================================================
--- head/editors/beav/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/editors/beav/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -20,6 +20,8 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVER
 ALL_TARGET=	beav
 MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS} -DUNIX -DBSD -DNOPROTO"
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|(OFILES):|$$(OFILES):|' ${WRKSRC}/Makefile
 	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/beav.1

Modified: head/editors/xcoral/Makefile
==============================================================================
--- head/editors/xcoral/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/editors/xcoral/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -17,6 +17,8 @@ MAKE_JOBS_UNSAFE=	yes
 
 PLIST_SUB=	VERSION="${PORTVERSION}"
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e 's| regex\.c | |g ; \
 		 s| -g | |g' ${WRKSRC}/Makefile.in

Modified: head/editors/yasnippet/Makefile
==============================================================================
--- head/editors/yasnippet/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/editors/yasnippet/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -16,6 +16,8 @@ USE_EMACS=	yes
 NO_BUILD=	yes
 SUB_FILES=	pkg-message
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${FIND} ${WRKSRC}/snippets -type d -empty | ${XARGS} ${RMDIR}
 

Modified: head/editors/yui/Makefile
==============================================================================
--- head/editors/yui/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/editors/yui/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -18,6 +18,8 @@ MAKE_ENV+=	LIBPATH=${PREFIX}/lib
 
 BROKEN_sparc64=	Does not compile on sparc64
 
+OPTIONS_DEFINE=	DOCS
+
 post-install:
 	${LN} -sf help_eng.html ${STAGEDIR}${PREFIX}/lib/yui/yhelp.html
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}

Modified: head/emulators/fs-uae/Makefile
==============================================================================
--- head/emulators/fs-uae/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/emulators/fs-uae/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -22,6 +22,8 @@ USE_GNOME=	glib20
 INSTALLS_ICONS=	yes
 MAKE_ARGS+=	prefix=${PREFIX}
 
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} < 900000

Modified: head/emulators/gns3/Makefile
==============================================================================
--- head/emulators/gns3/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/emulators/gns3/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -27,6 +27,8 @@ PYDISTUTILS_PKGNAME=	GNS3
 
 DESKTOP_ENTRIES=	"GNS3" "${COMMENT}" "" "${PORTNAME}" "System;Emulator;" true
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' -e 's|/share/man|/man|g' ${WRKSRC}/setup.py
 

Modified: head/emulators/jzintv/Makefile
==============================================================================
--- head/emulators/jzintv/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/emulators/jzintv/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -22,7 +22,7 @@ USE_SDL=	sdl
 CPPFLAGS+=	-I${LOCALBASE}/include `${SDL_CONFIG} --cflags`
 LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS} `${SDL_CONFIG} --libs`
 
-OPTIONS_DEFINE=	TOOLS
+OPTIONS_DEFINE=	TOOLS DOCS EXAMPLES
 OPTIONS_SUB=	yes
 TOOLS_DESC=	Install additional tools
 

Modified: head/emulators/klh10/Makefile
==============================================================================
--- head/emulators/klh10/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/emulators/klh10/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -16,6 +16,8 @@ ONLY_FOR_ARCHS=	i386
 BUILD_WRKSRC=	${WRKSRC}/bld/fbx86
 INSTALL_WRKSRC=	${BUILD_WRKSRC}
 
+OPTIONS_DEFINE=	DOCS
+
 # someday add support for base-kl and base-ks targets
 MAKE_ENV=		KLH10_HOME="${DATADIR}"
 ALL_TARGET=		base-ks-its

Modified: head/emulators/libspectrum/Makefile
==============================================================================
--- head/emulators/libspectrum/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/emulators/libspectrum/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -19,7 +19,7 @@ USE_GNOME=	glib20
 USE_LDCONFIG=	yes
 USES=		gmake pkgconfig libtool
 
-OPTIONS_DEFINE=	AUDIOFILE
+OPTIONS_DEFINE=	AUDIOFILE DOCS
 AUDIOFILE_DESC=	Support loading from .wav files
 
 AUDIOFILE_LIB_DEPENDS=	libaudiofile.so:${PORTSDIR}/audio/libaudiofile

Modified: head/finance/gnucash/Makefile
==============================================================================
--- head/finance/gnucash/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/finance/gnucash/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -24,7 +24,7 @@ RUN_DEPENDS=	guile>=1.8.6:${PORTSDIR}/la
 		p5-Date-Manip>=0:${PORTSDIR}/devel/p5-Date-Manip \
 		p5-Finance-Quote>=0:${PORTSDIR}/finance/p5-Finance-Quote
 
-OPTIONS_DEFINE=	AQBANKING OFX DATABASE LOCALE_TAX PYTHON GTKMM
+OPTIONS_DEFINE=	AQBANKING OFX DATABASE LOCALE_TAX PYTHON GTKMM DOCS
 
 AQBANKING_DESC=	AqBanking support (HBCI/OpenHBCI)
 OFX_DESC=	OFX support

Modified: head/ftp/omi/Makefile
==============================================================================
--- head/ftp/omi/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/ftp/omi/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -15,6 +15,8 @@ COMMENT=	"mirror" subtrees of FTP server
 WRKSRC=		${WRKDIR}/${PORTNAME}
 ALL_TARGET=	freebsd
 
+OPTIONS_DEFINE=	DOCS
+
 pre-patch:
 	${REINPLACE_CMD} -E -e "s@^(OPTFLAGS).*@\1=${CFLAGS}@" \
 		${WRKSRC}/Makefile

Modified: head/ftp/pavuk/Makefile
==============================================================================
--- head/ftp/pavuk/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/ftp/pavuk/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -22,7 +22,7 @@ CONFIGURE_ARGS=	--with-locale-dir=${PREF
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-OPTIONS_DEFINE=	DANTE GTK2 NLS
+OPTIONS_DEFINE=	DANTE GTK2 NLS DOCS
 DANTE_DESC=	Enable SOCKS proxy support
 OPTIONS_DEFAULT=	GTK2
 OPTIONS_SUB=	yes

Modified: head/ftp/py-ftputil/Makefile
==============================================================================
--- head/ftp/py-ftputil/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/ftp/py-ftputil/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -17,6 +17,8 @@ USE_PYDISTUTILS=	yes
 DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
 PORTDOC_FILES=	README.html README.txt ftputil.html ftputil.txt ftputil_ru_utf8.txt
 
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.port.pre.mk>
 
 do-fetch:

Modified: head/ftp/wzdftpd/Makefile
==============================================================================
--- head/ftp/wzdftpd/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/ftp/wzdftpd/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -12,7 +12,7 @@ COMMENT=	Modular FTP server configurable
 
 LICENSE=	GPLv2 # (or later)
 
-OPTIONS_DEFINE=	ICONV IPV6 MYSQL PERL PGSQL SQLITE TCL
+OPTIONS_DEFINE=	ICONV IPV6 MYSQL PERL PGSQL SQLITE TCL DOCS
 OPTIONS_RADIO=	TLS ZEROCONF
 OPTIONS_RADIO_TLS=	GNUTLS OPENSSL
 OPTIONS_RADIO_ZEROCONF=	AVAHI HOWL

Modified: head/games/adgali/Makefile
==============================================================================
--- head/games/adgali/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/adgali/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -30,6 +30,8 @@ CONFIGURE_ARGS=	--enable-compile-optim=n
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib -lexecinfo
 
+OPTIONS_DEFINE=	DOCS
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	(cd ${WRKSRC}/doc/html && ${FIND} . | ${CPIO} -pdm -L -R \

Modified: head/games/angband/Makefile
==============================================================================
--- head/games/angband/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/angband/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -12,8 +12,8 @@ COMMENT=	Rogue-like game with color, X11
 
 LICENSE=	GPLv2
 
-OPTIONS_DEFINE=		SDL X11
-OPTIONS_DEFAULT=	X11
+OPTIONS_DEFINE=	SDL X11 DOCS
+OPTIONS_DEFAULT=X11
 
 USES=		gmake ncurses
 GNU_CONFIGURE=	yes

Modified: head/games/bass/Makefile
==============================================================================
--- head/games/bass/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/bass/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -24,6 +24,8 @@ NO_BUILD=	yes
 WRKSRC=		${WRKDIR}/${DISTNAME}
 SUB_FILES=	pkg-message
 
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 	${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/sky.dnr ${STAGEDIR}${DATADIR}

Modified: head/games/cataclysm-dda/Makefile
==============================================================================
--- head/games/cataclysm-dda/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/cataclysm-dda/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -26,7 +26,7 @@ MAKE_ARGS+=	RELEASE=1
 CXXFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-OPTIONS_DEFINE=	NLS
+OPTIONS_DEFINE=	NLS DOCS
 OPTIONS_DEFAULT=NCURSES
 OPTIONS_SINGLE=	UI
 OPTIONS_SINGLE_UI=	NCURSES SDL

Modified: head/games/corewars/Makefile
==============================================================================
--- head/games/corewars/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/corewars/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -18,6 +18,8 @@ CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 USES=		gmake
 
+OPTIONS_DEFINE=	DOCS
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

Modified: head/games/cosmosmash/Makefile
==============================================================================
--- head/games/cosmosmash/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/cosmosmash/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -25,6 +25,8 @@ GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include `${SDL_CONFIG} --cflags`
 LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS} `${SDL_CONFIG} --libs`
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} 's|^pkgsounddir = .*|pkgsounddir = ${DATADIR}/sounds|' \
 		${WRKSRC}/src/Makefile.in

Modified: head/games/digger-vgl/Makefile
==============================================================================
--- head/games/digger-vgl/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/digger-vgl/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -14,7 +14,7 @@ ONLY_FOR_ARCHS=	i386	# Alphas don't have
 
 MAKEFILE=	Makefile.fbsd
 
-OPTIONS_DEFINE=	SOUND
+OPTIONS_DEFINE=	SOUND DOCS
 
 .include <bsd.port.options.mk>
 

Modified: head/games/evq3/Makefile
==============================================================================
--- head/games/evq3/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/evq3/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -22,7 +22,7 @@ ALL_TARGET=	release
 WRKSRC=		${WRKDIR}/${PORTNAME}
 CFLAGS+=	-DMAP_ANONYMOUS=MAP_ANON
 
-OPTIONS_DEFINE=	CURL CURL_DLOPEN GAMELIBS OPENAL OPENAL_DLOPEN VOIP VORBIS OPTIMIZED_CFLAGS
+OPTIONS_DEFINE=	CURL CURL_DLOPEN GAMELIBS OPENAL OPENAL_DLOPEN VOIP VORBIS OPTIMIZED_CFLAGS DOCS
 OPTIONS_DEFAULT=	CLIENT CURL CURL_DLOPEN DEDICATED OPTIMIZED_CFLAGS SMP VORBIS
 OPTIONS_MULTI=	TYPE
 OPTIONS_MULTI_TYPE=	CLIENT DEDICATED SMP

Modified: head/games/fotaq/Makefile
==============================================================================
--- head/games/fotaq/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/fotaq/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -20,6 +20,8 @@ SUB_FILES=	pkg-message
 
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 	@${INSTALL_DATA} ${WRKSRC}/queen.1c ${STAGEDIR}${DATADIR}

Modified: head/games/freeciv/Makefile
==============================================================================
--- head/games/freeciv/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/freeciv/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -24,7 +24,7 @@ CONFIGURE_ARGS=	${ICONV_CONFIGURE_ARG} -
 		--enable-aimodules --enable-shared \
 		--enable-fcdb=sqlite3
 
-OPTIONS_DEFINE?=	NLS X11 SDL MYSQL IPV6
+OPTIONS_DEFINE?=	NLS X11 SDL MYSQL IPV6 DOCS
 OPTIONS_DEFAULT?=	NLS X11 IPV6
 OPTIONS_SUB=		yes
 SDL_CONFIGURE_ON=	--enable-client=gtk,sdl

Modified: head/games/gemrb/Makefile
==============================================================================
--- head/games/gemrb/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/gemrb/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -15,6 +15,8 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libpng15.so:${PORTSDIR}/graphics/png \
 		libvorbis.so:${PORTSDIR}/audio/libvorbis
 
+OPTIONS_DEFINE=	DOCS
+
 USES=		cmake openal:al,alut
 USE_SDL=	sdl mixer ttf
 USE_LDCONFIG=	yes

Modified: head/games/gltron/Makefile
==============================================================================
--- head/games/gltron/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/gltron/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -22,7 +22,7 @@ CONFIGURE_ARGS=	--disable-warn
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-OPTIONS_DEFINE=	SDL_NET
+OPTIONS_DEFINE=	SDL_NET DOCS
 SDL_NET_DESC=	Network Support
 SDL_NET_USE=	SDL=net
 SLD_NET_CONFIGURE_ENABLE=	network

Modified: head/games/gnubg/Makefile
==============================================================================
--- head/games/gnubg/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/gnubg/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -20,7 +20,7 @@ LIB_DEPENDS=	libpng15.so:${PORTSDIR}/gra
 		libgtkextra-x11-2.0.so:${PORTSDIR}/x11-toolkits/gtkextra2 \
 		libgtkglext-x11-1.0.so:${PORTSDIR}/x11-toolkits/gtkglext
 
-OPTIONS_DEFINE=	ESOUND NLS
+OPTIONS_DEFINE=	ESOUND NLS DOCS
 OPTIONS_DEFAULT=ESOUND NLS
 
 CONFIGURE_ARGS=	--with-board3d --with-sqlite --with-python

Modified: head/games/gnushogi/Makefile
==============================================================================
--- head/games/gnushogi/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/gnushogi/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -15,6 +15,8 @@ MAKE_JOBS_UNSAFE=	yes
 
 INFO=		gnushogi
 
+OPTIONS_DEFINE=	DOCS
+
 post-extract:
 	-@${RM} ${WRKSRC}/doc/gnushogi.info*
 

Modified: head/games/hohlin/Makefile
==============================================================================
--- head/games/hohlin/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/hohlin/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -22,7 +22,7 @@ USE_LINUX_APPS=	xorglibs
 ONLY_FOR_ARCHS=	i386 amd64
 SHORTPORTVERSION=${PORTVERSION:C/([0-9]*)\.([0-9]*)/\1\2/}
 
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	DOCS
 
 do-build:
 	${BRANDELF} -t Linux ${WRKSRC}/data/HoH

Modified: head/games/hoichess/Makefile
==============================================================================
--- head/games/hoichess/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/hoichess/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -15,6 +15,8 @@ USE_PERL5=	build
 MAKE_JOBS_UNSAFE=yes
 MAKE_ENV=	HAVE_GETOPT=1
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${RM} ${WRKSRC}/src/lib/getopt.h
 	@${REINPLACE_CMD} -e '1,/^LDFLAG/d' ${WRKSRC}/src/Makefile.config

Modified: head/games/inform/Makefile
==============================================================================
--- head/games/inform/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/inform/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -22,6 +22,8 @@ NO_WRKSUBDIR=	yes
 USES=		zip:infozip
 MAKEFILE=	${FILESDIR}/Makefile.inform
 
+OPTIONS_DEFINE=	DOCS
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 	(cd ${STAGEDIR}${DATADIR} && \

Modified: head/games/linux-defcon/Makefile
==============================================================================
--- head/games/linux-defcon/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/linux-defcon/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -20,7 +20,7 @@ NO_BUILD=	yes
 DATADIR=	${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME}
 SUB_FILES=	defcon
 
-OPTIONS_DEFINE=	NVIDIA
+OPTIONS_DEFINE=	NVIDIA DOCS
 NVIDIA_DESC=	support for nvidia
 
 .include <bsd.port.options.mk>

Modified: head/games/linux-enemyterritory-omni-bot-0660/Makefile
==============================================================================
--- head/games/linux-enemyterritory-omni-bot-0660/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/linux-enemyterritory-omni-bot-0660/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -25,7 +25,7 @@ NO_WRKSUBDIR=	yes
 DATADIR=	${PREFIX}/lib/enemyterritory/${PORTNAME}-${VERSTR}
 DOCSDIR=	${PREFIX}/share/doc/enemyterritory-${PORTNAME}-${VERSTR}
 
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	DOCS
 
 do-build:
 .for f in et etded

Modified: head/games/linux-etqw-demo-server/Makefile
==============================================================================
--- head/games/linux-etqw-demo-server/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/linux-etqw-demo-server/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -23,6 +23,8 @@ USES=		zip:infozip
 
 ETQWDIR=	${PREFIX}/lib/${PORTNAME}${PKGNAMESUFFIX}
 
+OPTIONS_DEFINE=	DOCS
+
 do-extract:
 	@${MKDIR} ${WRKSRC}
 	@cd ${WRKSRC} && \

Modified: head/games/linux-uplink-demo/Makefile
==============================================================================
--- head/games/linux-uplink-demo/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/linux-uplink-demo/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -25,7 +25,7 @@ SUB_FILES=	uplink
 SUB_LIST=	LINUXBASE=${LINUXBASE}
 DOCFILES=	license.txt mods.txt Readme-UplinkSupport.txt readme.txt
 
-OPTIONS_DEFINE=	NVIDIA
+OPTIONS_DEFINE=	NVIDIA DOCS
 NVIDIA_DESC=	support for nvidia
 
 .include <bsd.port.options.mk>

Modified: head/games/mkgichessclub/Makefile
==============================================================================
--- head/games/mkgichessclub/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/mkgichessclub/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -11,7 +11,7 @@ DISTNAME=	MKGIChessClub-${PORTVERSION}
 MAINTAINER=	nivit@FreeBSD.org
 COMMENT=	Chess playing server with a pure web interface
 
-OPTIONS_DEFINE=	GNUCHESS PHALANX
+OPTIONS_DEFINE=	GNUCHESS PHALANX DOCS
 GNUCHESS_DESC=	Install gnuchess robot
 PHALANX_DESC=	Install phalanx robot
 

Modified: head/games/odamex/Makefile
==============================================================================
--- head/games/odamex/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/odamex/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -15,7 +15,7 @@ USE_SDL=	sdl mixer
 USES=		cmake dos2unix
 DOS2UNIX_FILES=	CMakeLists.txt odalaunch/CMakeLists.txt common/d_main.cpp
 
-OPTIONS_DEFINE=	LAUNCHER
+OPTIONS_DEFINE=	LAUNCHER DOCS
 
 LAUNCHER_DESC=	Enable GUI launcher program
 

Modified: head/games/openglad/Makefile
==============================================================================
--- head/games/openglad/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/openglad/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -23,6 +23,8 @@ DESKTOP_ENTRIES="OpenGlad" "" "" "${PORT
 
 NOT_FOR_ARCHS=	sparc64
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|COPYING INSTALL|INSTALL|' ${WRKSRC}/Makefile.in

Modified: head/games/pengpong/Makefile
==============================================================================
--- head/games/pengpong/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/pengpong/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -18,6 +18,8 @@ USE_PERL5=	build
 DATAFILES=	24P_Copperplate_Blue.png ball.tga logo.jpg \
 		paddle.tga red.png
 
+OPTIONS_DEFINE=	DOCS
+
 pre-patch:
 	@${REINPLACE_CMD} -i '' -e 's|/usr/local/share/games/pengpong|${DATADIR}|' \
 		${WRKSRC}/files.h

Modified: head/games/pyching/Makefile
==============================================================================
--- head/games/pyching/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/pyching/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -18,6 +18,8 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tkin
 NO_WRKSUBDIR=	yes
 USE_PYTHON=	yes
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@cd ${WRKSRC}; ${SED} 's|/usr/share/|${PYTHON_SITELIBDIR}/|g' \
 		< ${PORTNAME}.sh > ${PORTNAME}

Modified: head/games/quake2-lights/Makefile
==============================================================================
--- head/games/quake2-lights/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/quake2-lights/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -21,6 +21,8 @@ ALL_TARGET=	release
 
 DOCSDIR=	${PREFIX}/share/doc/${LATEST_LINK}
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e 's/__linux__/__unix__/' ${BUILD_WRKSRC}/q_shared.c
 	@${REINPLACE_CMD} -e 's/<malloc\.h>/<stdlib.h>/' \

Modified: head/games/quit/Makefile
==============================================================================
--- head/games/quit/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/quit/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -12,6 +12,8 @@ COMMENT=	Bicycle with trailers like "sl"
 
 MANLANG=	ja
 
+OPTIONS_DEFINE=	DOCS
+
 do-build:
 	${CC} ${CFLAGS} ${CPPFLAGS} -o ${WRKSRC}/quit \
 		${WRKSRC}/quit.c -lncurses

Modified: head/games/residualvm/Makefile
==============================================================================
--- head/games/residualvm/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/residualvm/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -20,6 +20,8 @@ USE_SDL=	sdl
 HAS_CONFIGURE=	yes
 USES=		gmake
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|{datarootdir}/man|{prefix}/man|' ${WRKSRC}/configure
 

Modified: head/games/scummvm-tools/Makefile
==============================================================================
--- head/games/scummvm-tools/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/scummvm-tools/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -30,10 +30,9 @@ STRIP_FILES=	construct_mohawk create_sji
 		deriven descumm desword2 extract_mohawk gob_loadcalc \
 		scummvm-tools-cli
 
-OPTIONS_DEFINE=	WXGTK
+OPTIONS_DEFINE=	WXGTK DOCS
 OPTIONS_DEFAULT=	WXGTK
 
-.include <bsd.port.options.mk>
 .include <bsd.port.pre.mk>
 
 .if ${PORT_OPTIONS:MWXGTK}

Modified: head/games/scummvm/Makefile
==============================================================================
--- head/games/scummvm/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/scummvm/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -24,7 +24,7 @@ CONFIGURE_ARGS=	--with-sdl-prefix=${LOCA
 		--disable-tremor
 LDFLAGS+=	${PTHREAD_LIBS}
 
-OPTIONS_DEFINE=	VORBIS MP3 PNG FLAC FLUIDSYNTH MT32EMU
+OPTIONS_DEFINE=	VORBIS MP3 PNG FLAC FLUIDSYNTH MT32EMU DOCS
 FLUIDSYNTH_DESC=	FluidSynth MIDI synthesizer
 MT32EMU_DESC=	MT-32 emulator
 OPTIONS_DEFAULT=	VORBIS MP3 PNG MT32EMU

Modified: head/games/sxsame/Makefile
==============================================================================
--- head/games/sxsame/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/sxsame/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -21,6 +21,8 @@ USES=		imake
 USE_XORG=	xpm
 INSTALL_TARGET=	install install.dir
 
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/sxsame ${STAGEDIR}${PREFIX}/bin
 	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/sxsame

Modified: head/games/thudboard/Makefile
==============================================================================
--- head/games/thudboard/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/thudboard/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -17,6 +17,8 @@ USE_PYTHON=	yes
 
 SUB_FILES=	thudboard
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	${REINPLACE_CMD} -e 's|file:.*/docs|file://${DOCSDIR}|' \
 		${WRKDIR}/thud.py

Modified: head/games/worldofpadman/Makefile
==============================================================================
--- head/games/worldofpadman/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/worldofpadman/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -26,7 +26,7 @@ SRC_FILE=	${PORTNAME}-${PORTVERSION}
 VM_ARCHS=	amd64 i386 powerpc
 
 OPTIONS_DEFINE=		CURL CURL_DLOPEN GAMELIBS MP3 OPENAL OPENAL_DLOPEN \
-			OPTIMIZED_CFLAGS VORBIS
+			OPTIMIZED_CFLAGS VORBIS DOCS
 OPTIONS_MULTI=		FLAVOR
 OPTIONS_MULTI_FLAVOR=	CLIENT SERVER SMP_CLIENT
 OPTIONS_DEFAULT=	CLIENT CURL CURL_DLOPEN SERVER OPTIMIZED_CFLAGS \

Modified: head/games/xdigger/Makefile
==============================================================================
--- head/games/xdigger/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/games/xdigger/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -16,6 +16,8 @@ USE_XORG=	x11 xext
 
 DESKTOP_ENTRIES="XDigger" "" "" "${PORTNAME}" "" ""
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/configure.h
 

Modified: head/german/mediathek/Makefile
==============================================================================
--- head/german/mediathek/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/german/mediathek/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -21,6 +21,7 @@ SUB_FILES=	mediathek
 INSTALLFILES=	MediathekView.jar MediathekView.ico
 INSTALLDOCS=	Kurzanleitung.pdf Instructions.pdf
 
+OPTIONS_DEFINE=		DOCS
 OPTIONS_MULTI=		BACKEND
 OPTIONS_MULTI_BACKEND=	MPLAYER VLC
 

Modified: head/german/pecl-konto_check/Makefile
==============================================================================
--- head/german/pecl-konto_check/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/german/pecl-konto_check/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -19,6 +19,8 @@ DEFAULT_PHP_VER=53
 
 WRKSRC=	${WRKDIR}/php
 
+OPTIONS_DEFINE=	DOCS
+
 post-extract:
 	@${UNZIP_CMD} -q -d ${WRKDIR} ${WRKDIR}/php.zip
 

Modified: head/graphics/exiftags/Makefile
==============================================================================
--- head/graphics/exiftags/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/graphics/exiftags/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -13,6 +13,8 @@ MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"
 
 DOCS=	CHANGES README
 
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 .for i in exifcom exiftags exiftime
 	${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin

Modified: head/graphics/feh/Makefile
==============================================================================
--- head/graphics/feh/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/graphics/feh/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -24,7 +24,7 @@ CPPFLAGS+=	-I${LOCALBASE}/include -std=c
 LDFLAGS+=	-L${LOCALBASE}/lib
 MAKE_ENV+=	LDFLAGS="${LDFLAGS}"
 
-OPTIONS_DEFINE=	CAM
+OPTIONS_DEFINE=	CAM DOCS
 CAM_DESC=	Install feh-cam and related tools
 OPTIONS_DEFAULT=CAM
 

Modified: head/graphics/fotoxx/Makefile
==============================================================================
--- head/graphics/fotoxx/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/graphics/fotoxx/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -26,6 +26,8 @@ INSTALL_TARGET=	install MANDIR=${PREFIX}
 
 LDFLAGS+=	-O3 -g -Wall -rdynamic -lexecinfo
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@# drop xdg-desktop-menu calls, they fail
 	${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \

Modified: head/graphics/gracula/Makefile
==============================================================================
--- head/graphics/gracula/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/graphics/gracula/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -13,6 +13,8 @@ COMMENT=	Graphic Counter Language compil
 
 SUB_FILES=	pkg-message
 
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/gracula ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/sec2000 ${STAGEDIR}${PREFIX}/bin

Modified: head/graphics/luminance-qt5/Makefile
==============================================================================
--- head/graphics/luminance-qt5/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/graphics/luminance-qt5/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -28,6 +28,8 @@ INSTALLS_ICONS=	yes
 
 MAKE_JOBS_UNSAFE=yes
 
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} < 1000024

Modified: head/graphics/luminance/Makefile
==============================================================================
--- head/graphics/luminance/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/graphics/luminance/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -26,6 +26,8 @@ USE_QT4=	gui sql webkit xml linguist_bui
 		rcc_build uic_build imageformats_run
 INSTALLS_ICONS=	yes
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 # Do not install yet another copy of GPL (we use license framework instead)
 # and fix installation path for docs (but not for internal help files)

Modified: head/graphics/ogre3d/Makefile
==============================================================================
--- head/graphics/ogre3d/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/graphics/ogre3d/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -16,7 +16,7 @@ LIB_DEPENDS=	libzzip.so:${PORTSDIR}/deve
 		libfreetype.so:${PORTSDIR}/print/freetype2 \
 		libfreeimage.so:${PORTSDIR}/graphics/freeimage
 
-OPTIONS_DEFINE=	BOOST
+OPTIONS_DEFINE=	BOOST DOCS
 
 USE_LDCONFIG=	yes
 USES=		tar:bzip2 cmake pkgconfig compiler:c++11-lib

Modified: head/graphics/py-exif/Makefile
==============================================================================
--- head/graphics/py-exif/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/graphics/py-exif/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -17,6 +17,8 @@ WRKSRC=		${WRKDIR}/pyexif
 DATADIR=	${PREFIX}/share/py-exif
 DOCSDIR=	${PREFIX}/share/doc/py-exif
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 .for pyfile in exiftool exifinfo.py
 	@ cd ${WRKSRC}/bin && ${MV} ${pyfile} ${pyfile}.orig && \

Modified: head/graphics/py-stltools/Makefile
==============================================================================
--- head/graphics/py-stltools/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/graphics/py-stltools/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -22,7 +22,7 @@ USE_PYDISTUTILS=	YES
 DOCS=			README.txt
 EXAMPLES=		test/cube.stl test/cube_bin.stl
 
-OPTIONS_DEFINE=		PYCAIRO
+OPTIONS_DEFINE=		PYCAIRO DOCS
 PYCAIRO_DESC=		Use (py)Cairo to enable stl2pdf to function.
 
 .include <bsd.port.options.mk>

Modified: head/graphics/ruby-image_size/Makefile
==============================================================================
--- head/graphics/ruby-image_size/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/graphics/ruby-image_size/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -26,6 +26,8 @@ DOCS_EN=	${RUBY_RD_FILES:N*.ja.rd} \
 DOCS_JA=	${RUBY_RD_FILES:M*.ja.rd} \
 		${RUBY_RD_HTML_FILES:M*.ja.html}
 
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 	${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/
 	${INSTALL_DATA} ${WRKSRC}/lib/image_size.rb ${STAGEDIR}${RUBY_SITELIBDIR}/

Modified: head/graphics/ruby-ming/Makefile
==============================================================================
--- head/graphics/ruby-ming/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/graphics/ruby-ming/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -26,6 +26,8 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-ruby
 
 DOCS=	ChangeLog INSTALL LGPL NEWS README TODO
 
+OPTIONS_DEFINE=	DOCS
+
 post-install:
 	${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
 	(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${RUBY_MODEXAMPLESDIR})

Modified: head/graphics/vigra/Makefile
==============================================================================
--- head/graphics/vigra/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/graphics/vigra/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -25,7 +25,7 @@ CMAKE_ARGS=	-DDEPENDENCY_SEARCH_PREFIX:P
 
 USE_LDCONFIG=	yes
 
-OPTIONS_DEFINE=		HDF5 OPENEXR NUMPY
+OPTIONS_DEFINE=		HDF5 OPENEXR NUMPY DOCS
 OPTIONS_DEFAULT=	HDF5 OPENEXR
 NUMPY_DESC=		NumPy mathematical computing (USE Fortran/GCC47+)
 

Modified: head/graphics/xournal/Makefile
==============================================================================
--- head/graphics/xournal/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/graphics/xournal/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -21,7 +21,7 @@ CONFIGURE_ARGS=	--docdir="${DOCSDIR}"
 INSTALLS_ICONS=	yes
 INSTALL_TARGET=	install desktop-install
 
-OPTIONS_DEFINE=		GHOSTSCRIPT
+OPTIONS_DEFINE=		GHOSTSCRIPT DOCS
 GHOSTSCRIPT_DESC=	Install ghostscript (PS/PDF as bitmap bg)
 OPTIONS_DEFAULT=	GHOSTSCRIPT
 

Modified: head/graphics/xwpick/Makefile
==============================================================================
--- head/graphics/xwpick/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/graphics/xwpick/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -14,10 +14,12 @@ COMMENT=	Image pick up utility for X Win
 USES=		imake
 USE_XORG=	x11 xext
 
+OPTIONS_DEFINE=	DOCS
+
 post-install:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/xwpick
-	${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${STAGEDIR}${PREFIX}/share/doc/xwpick
-	${INSTALL_DATA} ${WRKSRC}/CNL_ARTICLE.PS ${STAGEDIR}${PREFIX}/share/doc/xwpick
-	${INSTALL_DATA} ${WRKSRC}/0README ${STAGEDIR}${PREFIX}/share/doc/xwpick/README
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/CNL_ARTICLE.PS ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/0README ${STAGEDIR}${DOCSDIR}/README
 
 .include <bsd.port.mk>

Modified: head/graphics/zgv/Makefile
==============================================================================
--- head/graphics/zgv/Makefile	Tue Jul 15 23:11:12 2014	(r362014)
+++ head/graphics/zgv/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
@@ -16,7 +16,7 @@ LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/grap
 		libpng15.so:${PORTSDIR}/graphics/png \
 		libtiff.so:${PORTSDIR}/graphics/tiff
 
-OPTIONS_DEFINE=	SDL
+OPTIONS_DEFINE=	SDL DOCS
 
 USES=		gmake makeinfo
 ALL_TARGET=	zgv info



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407152330.s6FNU6lZ075502>