Index: accessibility/qt4-accessible/Makefile
===================================================================
--- accessibility/qt4-accessible/Makefile
+++ accessibility/qt4-accessible/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt accessibility widgets
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		moc_build qt3support corelib gui network sql xml
 USE_CXXSTD=	gnu++98
Index: archivers/quazip/Makefile
===================================================================
--- archivers/quazip/Makefile
+++ archivers/quazip/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	quazip
 DISTVERSION=	0.7.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	archivers
 MASTER_SITES=	SF
 PKGNAMESUFFIX=	-${FLAVOR}
@@ -14,7 +14,10 @@
 LICENSE=	LGPL21
 
 FLAVORS=	qt4 qt5
-FLAVOR?=	${FLAVORS:[1]}
+FLAVOR?=	${FLAVORS:[2]}
+
+qt4_DEPRECATED=		Qt4 has been EOL since december 2015
+qt4_EXPIRATION_DATE=	2019-03-15
 
 USES=		cmake:outsource
 USE_LDCONFIG=	yes
Index: astro/gpsd/Makefile
===================================================================
--- astro/gpsd/Makefile
+++ astro/gpsd/Makefile
@@ -147,6 +147,12 @@
 # Build control
 PROFILING_MAKE_ARGS=	profiling=yes
 
+.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MQTBIND}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 # generates .py[co] files for installed modules
 # if that's not done, ${PYTHON_SITELIBDIR}/gps will be polluted
 # with these files when module is imported from root user
Index: astro/qlandkartegt/Makefile
===================================================================
--- astro/qlandkartegt/Makefile
+++ astro/qlandkartegt/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv3
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BROKEN=		fails to build
 
 LIB_DEPENDS=	libgdal.so:graphics/gdal \
Index: astro/stellarium-qt4/Makefile
===================================================================
--- astro/stellarium-qt4/Makefile
+++ astro/stellarium-qt4/Makefile
@@ -15,6 +15,9 @@
 
 LICENSE=	GPLv2+
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 CONFLICTS_INSTALL=	${PORTNAME}-0.17.*
 PORTSCOUT=	limit:^0\.12\.			# track only 0.12.x (legacy)
 
Index: astro/xglobe/Makefile
===================================================================
--- astro/xglobe/Makefile
+++ astro/xglobe/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		gmake qt:4
 USE_QT=		corelib gui qt3support moc_build
 
Index: audio/acoustid-fingerprinter/Makefile
===================================================================
--- audio/acoustid-fingerprinter/Makefile
+++ audio/acoustid-fingerprinter/Makefile
@@ -11,6 +11,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING.txt
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BROKEN_armv6=		fails to link: fingerprintcalculator.cpp: undefined reference to 'chromaprint_new'
 
 LIB_DEPENDS=	libchromaprint.so:audio/chromaprint \
Index: audio/audex/Makefile
===================================================================
--- audio/audex/Makefile
+++ audio/audex/Makefile
@@ -11,6 +11,9 @@
 
 LICENSE=	GPLv3
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 LIB_DEPENDS=	libcdda_paranoia.so:audio/cdparanoia
 
 USES=		qt:4 tar:xz cmake kde:4
Index: audio/clementine-player/Makefile
===================================================================
--- audio/clementine-player/Makefile
+++ audio/clementine-player/Makefile
@@ -15,6 +15,9 @@
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
 LIB_DEPENDS=	libtag.so:audio/taglib \
 		libchromaprint.so:audio/chromaprint \
Index: audio/creox/Makefile
===================================================================
--- audio/creox/Makefile
+++ audio/creox/Makefile
@@ -12,6 +12,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 LIB_DEPENDS=	libjack.so:audio/jack
 
 USE_GITHUB=	yes
Index: audio/cueplayer/Makefile
===================================================================
--- audio/cueplayer/Makefile
+++ audio/cueplayer/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv3
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libnotify.so:devel/libnotify
 
 USES=		pkgconfig qmake qt:4
Index: audio/dream/Makefile
===================================================================
--- audio/dream/Makefile
+++ audio/dream/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libhamlib.so:comms/hamlib\
 		libqwt.so:x11-toolkits/qwt5\
 		libfftw3.so:math/fftw3
Index: audio/dssi/Makefile
===================================================================
--- audio/dssi/Makefile
+++ audio/dssi/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	dssi
 PORTVERSION=	1.1.1
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	audio
 MASTER_SITES=	SF
 
@@ -34,11 +34,17 @@
 EXAMPLES_FILES2=LTS_qt trivial_sampler_qt
 
 OPTIONS_DEFINE=	DOCS EXAMPLES QT4
-OPTIONS_DEFAULT=QT4
 OPTIONS_SUB=	yes
 
 QT4_USES=	qmake:no_env qt:4
 QT4_USE=	QT=corelib,gui,moc_build
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
 
 post-patch:
 	@${REINPLACE_CMD} -e \
Index: audio/esperanza/Makefile
===================================================================
--- audio/esperanza/Makefile
+++ audio/esperanza/Makefile
@@ -14,6 +14,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING.GPL
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BROKEN=		fails to build
 
 LIB_DEPENDS=	libxmmsclient++.so:audio/cpp-xmms2
Index: audio/fmit/Makefile
===================================================================
--- audio/fmit/Makefile
+++ audio/fmit/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libfftw3.so:math/fftw3
 
 USE_XORG=	xmu
Index: audio/hydrogen/Makefile
===================================================================
--- audio/hydrogen/Makefile
+++ audio/hydrogen/Makefile
@@ -11,6 +11,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libsndfile.so:audio/libsndfile \
 		liblo.so:audio/liblo
 
Index: audio/kstreamripper/Makefile
===================================================================
--- audio/kstreamripper/Makefile
+++ audio/kstreamripper/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	syncer@gmail.com
 COMMENT=	Program for recording streams for KDE4
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 RUN_DEPENDS=	${LOCALBASE}/bin/streamripper:audio/streamripper
 
 USES=		cmake gettext-tools kde:4 qt:4 tar:bzip2
Index: audio/lastfm-desktop/Makefile
===================================================================
--- audio/lastfm-desktop/Makefile
+++ audio/lastfm-desktop/Makefile
@@ -12,6 +12,9 @@
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	liblastfm.so:audio/liblastfm \
 		libavcodec.so:multimedia/ffmpeg \
 		libgpod.so:audio/libgpod \
Index: audio/libechonest/Makefile
===================================================================
--- audio/libechonest/Makefile
+++ audio/libechonest/Makefile
@@ -12,6 +12,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libqjson.so:devel/qjson@qt4
 
 GH_ACCOUNT=	lfranchi
Index: audio/liblastfm/Makefile
===================================================================
--- audio/liblastfm/Makefile
+++ audio/liblastfm/Makefile
@@ -13,13 +13,16 @@
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		cmake pkgconfig 
+USES=		cmake pkgconfig
 USE_GITHUB=	yes
 GH_ACCOUNT=	lastfm
 USE_LDCONFIG=	yes
 
 SLAVE?=		qt4
 .if ${SLAVE} == qt4
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES+=		qt:4
 USE_QT=		corelib dbus network sql xml \
 		moc_build qmake_build rcc_build
Index: audio/lmms/Makefile
===================================================================
--- audio/lmms/Makefile
+++ audio/lmms/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	${LOCALBASE}/include/ladspa.h:audio/ladspa
 LIB_DEPENDS=	libFLAC.so:audio/flac \
 		libfluidsynth.so:audio/fluidsynth \
Index: audio/midipp/Makefile
===================================================================
--- audio/midipp/Makefile
+++ audio/midipp/Makefile
@@ -30,4 +30,11 @@
 QT5_USES=	qt:5
 QT5_USE=	${_USE_QT5:S/^/QT=/} GL=gl
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 .include <bsd.port.mk>
Index: audio/minitunes/Makefile
===================================================================
--- audio/minitunes/Makefile
+++ audio/minitunes/Makefile
@@ -10,15 +10,18 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Just another music player
 
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libtag.so:audio/taglib
 
 USES=		qmake qt:4
 USE_QT=		dbus gui moc_build network phonon rcc_build \
 		sql uic_build xml
 INSTALLS_ICONS=	yes
-
-LICENSE=	GPLv3
-LICENSE_FILE=	${WRKSRC}/COPYING
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
Index: audio/mixxx/Makefile
===================================================================
--- audio/mixxx/Makefile
+++ audio/mixxx/Makefile
@@ -12,6 +12,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BROKEN_aarch64=		fails to compile: Exception("invalid machine type")
 BROKEN_powerpc64=	fails to configure: unmet dependencies: Could not find libprotobuf, libchromaprint, libmp4, and libwavpack
 
Index: audio/mixxx20/Makefile
===================================================================
--- audio/mixxx20/Makefile
+++ audio/mixxx20/Makefile
@@ -14,6 +14,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BROKEN_aarch64=		fails to compile: Exception("invalid machine type")
 BROKEN_powerpc64=	fails to configure: unmet dependencies: Could not find libprotobuf, libchromaprint, libmp4, and libwavpack
 
Index: audio/mumble/Makefile
===================================================================
--- audio/mumble/Makefile
+++ audio/mumble/Makefile
@@ -12,6 +12,9 @@
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS+=	libspeex.so:audio/speex \
 		libspeexdsp.so:audio/speexdsp \
 		libsndfile.so:audio/libsndfile \
Index: audio/murmur/Makefile
===================================================================
--- audio/murmur/Makefile
+++ audio/murmur/Makefile
@@ -12,6 +12,9 @@
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	${LOCALBASE}/include/boost/function.hpp:devel/boost-libs
 LIB_DEPENDS=	libprotobuf.so:devel/protobuf
 
Index: audio/openal-soft/Makefile
===================================================================
--- audio/openal-soft/Makefile
+++ audio/openal-soft/Makefile
@@ -55,6 +55,13 @@
 SNDIO_CMAKE_BOOL=	ALSOFT_REQUIRE_SNDIO ALSOFT_BACKEND_SNDIO
 SNDIO_LIB_DEPENDS=	libsndio.so:audio/sndio
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MCONFIG}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} 's|/etc/openal|${ETCDIR}|' \
 		${WRKSRC}/Alc/alconfig.c
Index: audio/puddletag/Makefile
===================================================================
--- audio/puddletag/Makefile
+++ audio/puddletag/Makefile
@@ -12,6 +12,9 @@
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 RUN_DEPENDS=	chromaprint>=0.4:audio/chromaprint \
 		${PYTHON_PKGNAMEPREFIX}mutagen>=1.14:audio/py-mutagen@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}configobj>=4.5.0:devel/py-configobj@${PY_FLAVOR} \
Index: audio/qmpdclient/Makefile
===================================================================
--- audio/qmpdclient/Makefile
+++ audio/qmpdclient/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4 tar:bzip2
 USE_QT=		moc_build rcc_build uic_build \
 		corelib gui network xml xmlpatterns
Index: audio/qsampler/Makefile
===================================================================
--- audio/qsampler/Makefile
+++ audio/qsampler/Makefile
@@ -48,6 +48,13 @@
 		qt=buildtools_build,linguisttools_build,qmake_build
 QT5_CONFIGURE_ENABLE=	qt5
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-configure:
 	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -o ${PORTNAME}.mak \
 		${QMAKE_ARGS}
Index: audio/rosegarden/Makefile
===================================================================
--- audio/rosegarden/Makefile
+++ audio/rosegarden/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	rosegarden
 PORTVERSION=	17.04
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	audio
 MASTER_SITES=	SF
 
@@ -30,7 +30,7 @@
 OPTIONS_DEFINE=		LIRC
 OPTIONS_SINGLE=		TOOLKIT
 OPTIONS_SINGLE_TOOLKIT=	QT4 QT5
-OPTIONS_DEFAULT=	QT4
+OPTIONS_DEFAULT=	QT5
 
 LIRC_LIB_DEPENDS=	liblirc_client.so:comms/lirc
 LIRC_CMAKE_ON=		-DENABLE_LIRC:BOOL=ON
@@ -44,5 +44,12 @@
 			qt=buildtools_build,linguisttools_build,qmake_build
 QT5_CMAKE_ON=		-DUSE_QT5:BOOL=ON
 TOOLKIT_DESC=		Qt toolkit
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
 
 .include <bsd.port.mk>
Index: audio/simon/Makefile
===================================================================
--- audio/simon/Makefile
+++ audio/simon/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Speech recognition system using sphinx, ALSA and KDE
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 LIB_DEPENDS=	libasound.so:audio/alsa-lib \
 		libsamplerate.so:audio/libsamplerate \
 		libpocketsphinx.so:audio/pocketsphinx \
Index: audio/skype-call-recorder/Makefile
===================================================================
--- audio/skype-call-recorder/Makefile
+++ audio/skype-call-recorder/Makefile
@@ -11,6 +11,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libmp3lame.so:audio/lame \
 		libid3.so:audio/id3lib \
 		libvorbisenc.so:audio/libvorbis
Index: audio/synthpod-lv2/Makefile
===================================================================
--- audio/synthpod-lv2/Makefile
+++ audio/synthpod-lv2/Makefile
@@ -73,6 +73,11 @@
 
 .include <bsd.port.options.mk>
 
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 .if ${PORT_OPTIONS:MX11} || ${PORT_OPTIONS:MGTK2} || ${PORT_OPTIONS:MGTK3} || ${PORT_OPTIONS:MQT4} || ${PORT_OPTIONS:MQT5} || ${PORT_OPTIONS:MSHOW} || ${PORT_OPTIONS:MKX}
 PLIST_SUB+=	UI=""
 .else
Index: audio/virtual_oss_ctl/Makefile
===================================================================
--- audio/virtual_oss_ctl/Makefile
+++ audio/virtual_oss_ctl/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	BSD2CLAUSE
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 RUN_DEPENDS=	virtual_oss:audio/virtual_oss
 
 USES=		qmake qt:4 tar:bzip2
Index: biology/clustalx/Makefile
===================================================================
--- biology/clustalx/Makefile
+++ biology/clustalx/Makefile
@@ -12,6 +12,9 @@
 LICENSE=	LGPL3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4
 USE_QT=		corelib gui moc qmake_build xml
 
Index: cad/freecad/Makefile
===================================================================
--- cad/freecad/Makefile
+++ cad/freecad/Makefile
@@ -11,6 +11,9 @@
 LICENSE=	LGPL20+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	pyside-rcc:devel/pyside-tools \
 		swig3.0:devel/swig30
 LIB_DEPENDS=	libexpat.so:textproc/expat2 \
Index: cad/klayout/Makefile
===================================================================
--- cad/klayout/Makefile
+++ cad/klayout/Makefile
@@ -11,6 +11,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		compiler:c++0x gmake python qt:4
 USE_RUBY=	yes
 USE_QT=		corelib designer gui network moc_build sql uic_build \
Index: cad/layouteditor/Makefile
===================================================================
--- cad/layouteditor/Makefile
+++ cad/layouteditor/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	hrs@FreeBSD.org
 COMMENT=	IC/MEMS layout editor
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libttf.so:print/freetype
 
 BROKEN_armv6=		fails to compile: no matching member function for call to 'map'
Index: cad/leocad/Makefile
===================================================================
--- cad/leocad/Makefile
+++ cad/leocad/Makefile
@@ -15,6 +15,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libpng.so:graphics/png
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
Index: cad/meshlab/Makefile
===================================================================
--- cad/meshlab/Makefile
+++ cad/meshlab/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BROKEN_aarch64=		fails to compile: constant expression evaluates to -1 which cannot be narrowed to type char
 BROKEN_armv6=		fails to compile: constant expression evaluates to -1 which cannot be narrowed to type char
 BROKEN_armv7=		fails to compile: constant expression evaluates to -1 which cannot be narrowed to type char
Index: cad/openscad/Makefile
===================================================================
--- cad/openscad/Makefile
+++ cad/openscad/Makefile
@@ -14,6 +14,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	${LOCALBASE}/bin/flex:textproc/flex \
 		${LOCALBASE}/include/boost/tuple/tuple.hpp:devel/boost-libs
 LIB_DEPENDS=	libgmp.so:math/gmp \
Index: cad/qfsm/Makefile
===================================================================
--- cad/qfsm/Makefile
+++ cad/qfsm/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv3+
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 OPTIONS_DEFINE=	GRAPHVIZ DOCS EXAMPLES
 
 USES=		qt:4 tar:bzip2 cmake desktop-file-utils
Index: cad/qucs/Makefile
===================================================================
--- cad/qucs/Makefile
+++ cad/qucs/Makefile
@@ -12,6 +12,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/qucs/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	gperf:devel/gperf \
 		admsXml:cad/adms
 
Index: chinese/fcitx/Makefile
===================================================================
--- chinese/fcitx/Makefile
+++ chinese/fcitx/Makefile
@@ -48,7 +48,7 @@
 INSTALLS_ICONS=	yes
 
 OPTIONS_DEFINE=	GTK2 GTK3 QT4 OPENCC TPUNC DOCS
-OPTIONS_DEFAULT=GTK2 GTK3 QT4
+OPTIONS_DEFAULT=GTK2 GTK3
 OPTIONS_SUB=	yes
 
 GTK2_DESC=	Enable Gtk2 IM module
@@ -90,6 +90,8 @@
 .endif
 
 .if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
 USES+=		qt:4
 USE_QT+=		qmake_build moc_build rcc_build uic_build dbus gui inputmethods corelib
 USE_LDCONFIG+=	${PREFIX}/lib/fcitx/qt
Index: chinese/gcin-qt4/Makefile
===================================================================
--- chinese/gcin-qt4/Makefile
+++ chinese/gcin-qt4/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	LGPL21
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libgcin-im-client.so:chinese/gcin
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/qt4-im
Index: chinese/qt4-codecs-cn/Makefile
===================================================================
--- chinese/qt4-codecs-cn/Makefile
+++ chinese/qt4-codecs-cn/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt GB 18030 codec plugin
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		corelib
 
Index: chinese/qt4-codecs-tw/Makefile
===================================================================
--- chinese/qt4-codecs-tw/Makefile
+++ chinese/qt4-codecs-tw/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt Big-5 codec plugin
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		corelib
 
Index: chinese/qterm/Makefile
===================================================================
--- chinese/qterm/Makefile
+++ chinese/qterm/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kaiwang27@gmail.com
 COMMENT=	BBS client for BSD/Linux
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BROKEN=		fails to build
 
 USES=		qt:4 tar:bzip2 cmake perl5
Index: comms/dabstick-radio/Makefile
===================================================================
--- comms/dabstick-radio/Makefile
+++ comms/dabstick-radio/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS+=	librtlsdr.so:comms/rtl-sdr \
 		libqwt.so:x11-toolkits/qwt5 \
 		libportaudio.so:audio/portaudio \
Index: comms/gnuradio/Makefile
===================================================================
--- comms/gnuradio/Makefile
+++ comms/gnuradio/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv3
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BROKEN_aarch64=		fails to compile: /usr/lib/clang/5.0.0/include/mmintrin.h:47:5: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
 BROKEN_armv6=		fails to compile: /usr/lib/clang/5.0.0/include/mmintrin.h:47:5: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
 BROKEN_armv7=		fails to compile: /usr/lib/clang/5.0.0/include/mmintrin.h:47:5: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
Index: comms/hamfax/Makefile
===================================================================
--- comms/hamfax/Makefile
+++ comms/hamfax/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	carl@stagecraft.cx
 COMMENT=	QT application for sending and receiving facsimiles over radio
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libaudiofile.so:audio/libaudiofile
 
 USE_QT=		gui moc_build
Index: comms/linpsk/Makefile
===================================================================
--- comms/linpsk/Makefile
+++ comms/linpsk/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	hamradio@FreeBSD.org
 COMMENT=	Simple Qt PSK31, RTTY, and MSK31 client
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libfftw3.so:math/fftw3 \
 		libasound.so:audio/alsa-lib
 
Index: comms/qtel/Makefile
===================================================================
--- comms/qtel/Makefile
+++ comms/qtel/Makefile
@@ -10,6 +10,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYRIGHT
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libecholib.so:comms/svxlink \
 		libgsm.so:audio/gsm
 
Index: databases/py-qt4-sql/Makefile
===================================================================
--- databases/py-qt4-sql/Makefile
+++ databases/py-qt4-sql/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Python bindings for the Qt4 toolkit, QtSql module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 CONFIGURE_ARGS=	--enable QtSql
 PYQT_DIST=	yes
 
Index: databases/qt4-sql/Makefile
===================================================================
--- databases/qt4-sql/Makefile
+++ databases/qt4-sql/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt SQL database integration module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		moc_build corelib
 
Index: databases/sqliteman/Makefile
===================================================================
--- databases/sqliteman/Makefile
+++ databases/sqliteman/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	wen@FreeBSD.org
 COMMENT=	Admin's GUI tool for Sqlite3
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BROKEN_powerpc64=	fails to build: Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
 
 LIB_DEPENDS=	libqscintilla2_qt4.so:devel/qscintilla2
Index: databases/tora/Makefile
===================================================================
--- databases/tora/Makefile
+++ databases/tora/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	cppunit-config:devel/cppunit
 LIB_DEPENDS=	libqscintilla2_qt4.so:devel/qscintilla2 \
 		libpcre.so:devel/pcre
Index: deskutils/basket/Makefile
===================================================================
--- deskutils/basket/Makefile
+++ deskutils/basket/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 LIB_DEPENDS=	libgpgme.so:security/gpgme
 
 USES=		cmake gettext-tools kde:4 qt:4 tar:bzip2
Index: deskutils/cairo-dock-plugins/Makefile
===================================================================
--- deskutils/cairo-dock-plugins/Makefile
+++ deskutils/cairo-dock-plugins/Makefile
@@ -11,6 +11,7 @@
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+
 RUN_DEPENDS=	wget:ftp/wget
 LIB_DEPENDS=	libgldi.so:deskutils/cairo-dock
 
@@ -138,6 +139,13 @@
 
 ZEITGEIST_LIB_DEPENDS=	libzeitgeist-2.0.so:sysutils/zeitgeist
 ZEITGEIST_CMAKE_BOOL=	enable-recent-events
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MKDE_INTEGRATION}
+DEPRECATED=		KDE4 is EOL upstream
+EXPIRATION_DATE=	2018-12-31
+.endif
 
 post-patch:
 	@${FIND} ${WRKSRC} -type f \( -name "*.c" -o -name "*.conf" \
Index: deskutils/cdcat/Makefile
===================================================================
--- deskutils/cdcat/Makefile
+++ deskutils/cdcat/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libtar.so:devel/libtar \
 		libexif.so:graphics/libexif \
 		libmediainfo.so:multimedia/libmediainfo \
Index: deskutils/fbreader/Makefile
===================================================================
--- deskutils/fbreader/Makefile
+++ deskutils/fbreader/Makefile
@@ -4,7 +4,7 @@
 PORTNAME=	fbreader
 PORTVERSION=	0.99.6
 DISTVERSIONSUFFIX=	-freebsdport
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	deskutils
 
 MAINTAINER=	johannes@perceivon.net
@@ -39,7 +39,7 @@
 
 OPTIONS_SINGLE=		GUI
 OPTIONS_SINGLE_GUI=	GTK2 QT4
-OPTIONS_DEFAULT=	QT4
+OPTIONS_DEFAULT=	GTK2
 OPTIONS_SUB=		yes
 
 GTK2_USE=	gnome=gtk20
@@ -49,6 +49,13 @@
 QT4_USE=	qt=gui,corelib,imageformats,network,moc_build
 QT4_LIBS=	-L${QT_LIBDIR}
 QT4_MAKE_ENV=	UI_TYPE=qt4
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
 
 post-patch:
 	@${REINPLACE_CMD} -e '/^CC/d;/^LD/d;/QTINCLUDE/s,-I.*$$,-I${QT_INCDIR},' \
Index: deskutils/fet/Makefile
===================================================================
--- deskutils/fet/Makefile
+++ deskutils/fet/Makefile
@@ -3,6 +3,7 @@
 
 PORTNAME=	fet
 DISTVERSION=	5.37.1
+PORTREVISION=	1
 CATEGORIES=	deskutils kde
 MASTER_SITES=	http://lalescu.ro/liviu/fet/download/ \
 		http://lalescu.ro/liviu/fet/download/old/ \
@@ -30,7 +31,7 @@
 OPTIONS_DEFINE=	EXAMPLES NLS ONLYCL
 OPTIONS_SINGLE=	QTVER
 OPTIONS_SINGLE_QTVER=	QT4 QT5
-OPTIONS_DEFAULT=	QT4
+OPTIONS_DEFAULT=	QT5
 ONLYCL_DESC=	Build only command line version (without Qt GUI)
 
 OPTIONS_SUB=	yes
@@ -43,6 +44,13 @@
 INSTALL_TARGET=	${WRKSRC}/fet-cl
 ONLYCL_VARS=	QMAKE_SOURCE_PATH=${WRKSRC}/src/src-cl.pro
 ONLYCL_VARS_OFF=	INSTALL_TARGET+=${WRKSRC}/fet USE_QT+="gui network"
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/share/fet|${DATADIR}|g' \
Index: deskutils/homerun/Makefile
===================================================================
--- deskutils/homerun/Makefile
+++ deskutils/homerun/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	yurkis@gmail.com
 COMMENT=	Fullscreen launcher with content organized in tabs
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 USES=		cmake:outsource compiler:c++0x gettext kde:4 qt:4 tar:bzip2
 USE_KDE=	kdelibs automoc4 workspace
 USE_QT=		moc_build qmake_build rcc_build uic_build corelib gui
Index: deskutils/kdeconnect-kde-kde4/Makefile
===================================================================
--- deskutils/kdeconnect-kde-kde4/Makefile
+++ deskutils/kdeconnect-kde-kde4/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Support for KDE to interface between your phone and your computer
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 CONFLICTS_INSTALL=	${PORTNAME}
 
 USES=		cmake:noninja compiler:c++0x gettext kde:4 qt:4 tar:xz
Index: deskutils/ksshaskpass/Makefile
===================================================================
--- deskutils/ksshaskpass/Makefile
+++ deskutils/ksshaskpass/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	swills@FreeBSD.org
 COMMENT=	KDE 4 version of ssh-askpass with KWallet support
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 USES=		cmake kde:4 qt:4
 USE_KDE=	kdelibs automoc4
Index: deskutils/launchy/Makefile
===================================================================
--- deskutils/launchy/Makefile
+++ deskutils/launchy/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
 RUN_DEPENDS=	${LOCALBASE}/bin/xdg-open:devel/xdg-utils
 
Index: deskutils/plasma-applet-cwp/Makefile
===================================================================
--- deskutils/plasma-applet-cwp/Makefile
+++ deskutils/plasma-applet-cwp/Makefile
@@ -14,6 +14,9 @@
 
 LICENSE=	GPLv3
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 USES=		cmake gettext kde:4 qt:4 tar:bzip2
 USE_KDE=	automoc4 kdelibs
 USE_QT=		gui dbus network opengl svg phonon webkit xml \
Index: deskutils/plasma-applet-fancytasks/Makefile
===================================================================
--- deskutils/plasma-applet-fancytasks/Makefile
+++ deskutils/plasma-applet-fancytasks/Makefile
@@ -14,6 +14,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 USES=		cmake kde:4 qt:4 tar:bzip2
 USE_KDE=	automoc4 kdelibs workspace qimageblitz
 USE_QT=		qmake_build moc_build rcc_build uic_build
Index: deskutils/plasma-applet-qstardict/Makefile
===================================================================
--- deskutils/plasma-applet-qstardict/Makefile
+++ deskutils/plasma-applet-qstardict/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 RUN_DEPENDS=	${QSTARDICT_PLUGIN_PATH}/libstardict.so:textproc/qstardict
 
 USES=		cmake kde:4 qt:4 tar:bzip2
Index: deskutils/plasma-applet-simpleweatherforecast/Makefile
===================================================================
--- deskutils/plasma-applet-simpleweatherforecast/Makefile
+++ deskutils/plasma-applet-simpleweatherforecast/Makefile
@@ -12,6 +12,9 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Weather plasma applet for KDE4
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 RUN_DEPENDS=	wget:ftp/wget
 
 USES=		cmake kde:4 qt:4
Index: deskutils/qorganizer/Makefile
===================================================================
--- deskutils/qorganizer/Makefile
+++ deskutils/qorganizer/Makefile
@@ -14,6 +14,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/../COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4
 USE_QT=		corelib gui network moc_build rcc_build sql
 WRKSRC=		${WRKDIR}/qOrganizer/src
Index: deskutils/qrfcview/Makefile
===================================================================
--- deskutils/qrfcview/Makefile
+++ deskutils/qrfcview/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4 tar:tgz
 USE_QT=		gui network corelib uic_build moc_build rcc_build
 
Index: deskutils/qtm/Makefile
===================================================================
--- deskutils/qtm/Makefile
+++ deskutils/qtm/Makefile
@@ -12,6 +12,9 @@
 LICENSE=	GPLv2 # only
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		cmake qt:4 tar:bzip2 ssl
 USE_QT=		corelib dbus gui network xml \
 		moc_build qmake_build rcc_build uic_build
Index: deskutils/recoll/Makefile
===================================================================
--- deskutils/recoll/Makefile
+++ deskutils/recoll/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	recoll
 DISTVERSION=	1.23.7
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	deskutils
 MASTER_SITES=	http://www.lesbonscomptes.com/recoll/
 
@@ -40,7 +40,7 @@
 
 OPTIONS_DEFINE=		ASPELL CHM DJVU KONQUEROR LATEX IMAGE PDF PS \
 			SOUND QT4 X11MON
-OPTIONS_DEFAULT=	ASPELL IMAGE PDF PS SOUND QT4
+OPTIONS_DEFAULT=	ASPELL IMAGE PDF PS SOUND
 OPTIONS_SUB=		yes
 
 ASPELL_LIB_DEPENDS=	libaspell.so:textproc/aspell
@@ -70,6 +70,12 @@
 X11MON_CONFIGURE_ENABLE=x11mon
 X11MON_CONFIGURE_WITH=	fam
 X11MON_BROKEN=		does not build: index/rclmonrcv.cpp:(.text+0x1f13): undefined reference to `FAMOpen2'
+
+.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
 
 post-patch:
 	@${REINPLACE_CMD} -e \
Index: deskutils/semantik/Makefile
===================================================================
--- deskutils/semantik/Makefile
+++ deskutils/semantik/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv3
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 USES=		kde:4 pkgconfig python:2.7 qmake:no_env,no_configure qt:4 shebangfix tar:bzip2 waf \
 		gettext shared-mime-info
 USE_KDE=	kdelibs
Index: deskutils/silence/Makefile
===================================================================
--- deskutils/silence/Makefile
+++ deskutils/silence/Makefile
@@ -14,6 +14,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 RUN_DEPENDS=	${KDE_PREFIX}/lib/kde4/katepart.so:editors/kate-kde4
 
 USES=		cmake kde:4 qt:4
Index: deskutils/strigiclient/Makefile
===================================================================
--- deskutils/strigiclient/Makefile
+++ deskutils/strigiclient/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Strigi desktop search: Qt4 GUI
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libstreams.so:deskutils/libstreams \
 		libstreamanalyzer.so:deskutils/libstreamanalyzer \
 		libsearchclient.so:deskutils/strigidaemon
Index: deskutils/tuxcards/Makefile
===================================================================
--- deskutils/tuxcards/Makefile
+++ deskutils/tuxcards/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Tool for managing notes within a hierarchical tree
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 WRKSRC=		${WRKDIR}/${PORTNAME}
 USES=		qmake qt:4
 USE_QT=		gui xml moc_build uic_build rcc_build
Index: deskutils/vym/Makefile
===================================================================
--- deskutils/vym/Makefile
+++ deskutils/vym/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	lichray@gmail.com
 COMMENT=	VYM is a tool to generate and manipulate mind maps
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4 shebangfix tar:bzip2
 SHEBANG_FILES=	scripts/makedist-vym scripts/vivym
 USE_QT=		uic_build moc_build qt3support_build \
Index: deskutils/znotes/Makefile
===================================================================
--- deskutils/znotes/Makefile
+++ deskutils/znotes/Makefile
@@ -3,6 +3,7 @@
 
 PORTNAME=	znotes
 PORTVERSION=	0.4.5.20150825
+PORTREVISION=	1
 CATEGORIES=	deskutils
 PKGNAMESUFFIX=	-${FLAVOR}
 
@@ -13,7 +14,10 @@
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 FLAVORS=	qt4 qt5
-FLAVOR?=	${FLAVORS:[1]}
+FLAVOR?=	${FLAVORS:[2]}
+
+qt4_DEPRECATED=		Qt4 has been EOL since december 2015
+qt4_EXPIRATION_DATE=	2019-03-15
 
 USES=		qmake
 USE_GL=		gl
Index: devel/ace/Makefile
===================================================================
--- devel/ace/Makefile
+++ devel/ace/Makefile
@@ -59,6 +59,12 @@
 
 CPPFLAGS+=	-D_WANT_SEMUN
 
+.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|/$$libdir/pkgconfig|/libdata/pkgconfig|g' \
Index: devel/apiextractor/Makefile
===================================================================
--- devel/apiextractor/Makefile
+++ devel/apiextractor/Makefile
@@ -11,6 +11,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	sphinx-build:textproc/py-sphinx
 
 USE_GITHUB=	yes
Index: devel/automoc4/Makefile
===================================================================
--- devel/automoc4/Makefile
+++ devel/automoc4/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Automatic moc for Qt 4 packages
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USE_QT=		corelib moc qmake_build rcc_build uic_build
 USES=		cmake qt:4 tar:bzip2
 
Index: devel/codequery/Makefile
===================================================================
--- devel/codequery/Makefile
+++ devel/codequery/Makefile
@@ -11,6 +11,9 @@
 
 LICENSE=	MPL20 MIT
 LICENSE_COMB=	multi
+
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
 LICENSE_FILE_MPL20=	${WRKSRC}/LICENSE.md
 LICENSE_FILE_MIT=	${WRKSRC}/querylib/README.txt
 
Index: devel/doxygen/Makefile
===================================================================
--- devel/doxygen/Makefile
+++ devel/doxygen/Makefile
@@ -63,6 +63,13 @@
 SEARCH_PLIST_FILES=	bin/doxyindexer \
 			bin/doxysearch.cgi
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e '/PERL_PATH/ s|/usr/bin/perl|${perl_CMD}|' \
 		${WRKSRC}/src/config.xml
Index: devel/edb/Makefile
===================================================================
--- devel/edb/Makefile
+++ devel/edb/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libboost_thread.so:devel/boost-libs
 
 USES=		qmake qt:4 tar:tgz
Index: devel/fuel/Makefile
===================================================================
--- devel/fuel/Makefile
+++ devel/fuel/Makefile
@@ -28,6 +28,13 @@
 PLIST_FILES=	bin/fuel share/applications/fuel.desktop \
 		share/icons/hicolor/256x256/apps/fuel.png
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
 		-e 's|/usr$$|${PREFIX}|' ${WRKSRC}/fuel.pro
Index: devel/gecode/Makefile
===================================================================
--- devel/gecode/Makefile
+++ devel/gecode/Makefile
@@ -53,6 +53,11 @@
 
 .include <bsd.port.options.mk>
 
+.if ${PORT_OPTIONS:MGIST}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 .if ${ARCH} == "amd64"
 CFLAGS+=	-D__USE_ISOC99
 .endif
Index: devel/generatorrunner/Makefile
===================================================================
--- devel/generatorrunner/Makefile
+++ devel/generatorrunner/Makefile
@@ -11,6 +11,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	sphinx-build:textproc/py-sphinx
 LIB_DEPENDS=	libapiextractor.so:devel/apiextractor
 
Index: devel/grantlee/Makefile
===================================================================
--- devel/grantlee/Makefile
+++ devel/grantlee/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	LGPL21
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 PORTSCOUT=	limit:^0\.
 
 USE_QT=		corelib gui qtestlib_build script \
Index: devel/gwenhywfar/Makefile
===================================================================
--- devel/gwenhywfar/Makefile
+++ devel/gwenhywfar/Makefile
@@ -59,6 +59,9 @@
 .  elif ${SLAVEPORT}=="gtk3"
 USE_GNOME+=	cairo gdkpixbuf2 gtk30
 .  elif ${SLAVEPORT}=="qt4"
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES+=		qmake:no_env qt:4
 USE_QT=		corelib gui moc_build uic_build
 CONFIGURE_ARGS+=--with-qt4-includes=${QT_INCDIR} \
Index: devel/hgview/Makefile
===================================================================
--- devel/hgview/Makefile
+++ devel/hgview/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BROKEN=		fails to configure
 
 RUN_DEPENDS=	hg:devel/mercurial \
Index: devel/kaptain/Makefile
===================================================================
--- devel/kaptain/Makefile
+++ devel/kaptain/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4 tar:tgz
 USE_QT=		qt3support moc_build
 
Index: devel/kdbg/Makefile
===================================================================
--- devel/kdbg/Makefile
+++ devel/kdbg/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 USES=		cmake kde:4 qt:4
 USE_KDE=	kdelibs automoc4
 USE_QT=		moc_build qmake_build rcc_build uic_build network xml dbus corelib gui svg
Index: devel/libdbusmenu-qt/Makefile
===================================================================
--- devel/libdbusmenu-qt/Makefile
+++ devel/libdbusmenu-qt/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	libdbusmenu-qt
 PORTVERSION=	${MAJOR_VER}.${SNAPSHOT_VER:S/.//g}
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	devel
 MASTER_SITES=	http://archive.ubuntu.com/ubuntu/pool/main/libd/${PORTNAME}/ \
 		LOCAL/tcberner/${PORTNAME}/${PORTVERSION}
@@ -16,7 +16,10 @@
 LICENSE=	LGPL20
 
 FLAVORS=	qt4 qt5
-FLAVOR?=	${FLAVORS:[1]}
+FLAVOR?=	${FLAVORS:[2]}
+
+qt4_DEPRECATED=		Qt4 has been EOL since december 2015
+qt4_EXPIRATION_DATE=	2019-03-15
 
 USES=		compiler:c++11-lib cmake:outsource
 USE_LDCONFIG=	yes
Index: devel/libkolab/Makefile
===================================================================
--- devel/libkolab/Makefile
+++ devel/libkolab/Makefile
@@ -13,6 +13,9 @@
 # itself to be LGPL3-licensed (and so are all the installed headers).
 LICENSE=	LGPL3
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 PORTSCOUT=	limit:^0\.
 
 LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
Index: devel/liteide/Makefile
===================================================================
--- devel/liteide/Makefile
+++ devel/liteide/Makefile
@@ -22,6 +22,9 @@
 qt4_PKGNAMESUFFIX=	-qt4
 qt5_CONFLICTS_INSTALL=	${PORTNAME}-qt4
 
+qt4_DEPRECATED=		Qt4 has been EOL since december 2015
+qt4_EXPIRATION_DATE=	2019-03-15
+
 USES=		gl qmake
 USE_GL=		gl
 USE_LDCONFIG=	${PREFIX}/lib/${PORTNAME}
Index: devel/ninja-ide/Makefile
===================================================================
--- devel/ninja-ide/Makefile
+++ devel/ninja-ide/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	GPLv3
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		pyqt:4 python:2.7
 USE_PYQT=	declarative_run network  webkit
 USE_PYTHON=	distutils autoplist
Index: devel/piklab/Makefile
===================================================================
--- devel/piklab/Makefile
+++ devel/piklab/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	piklab
 PORTVERSION=	0.16.2
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	devel kde
 MASTER_SITES=	SF
 
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv2+
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 DOS2UNIX_FILES=	cmake/Piklab.cmake
 USE_QT=		corelib gui qt3support qtestlib xml \
 		moc_build qmake_build rcc_build uic_build
@@ -19,7 +22,6 @@
 USE_CXXSTD=	gnu++98
 
 OPTIONS_DEFINE=	KDE4
-OPTIONS_DEFAULT=	KDE4
 OPTIONS_SUB=	yes
 
 KDE4_USES=	kde:4 shared-mime-info
Index: devel/plasma/Makefile
===================================================================
--- devel/plasma/Makefile
+++ devel/plasma/Makefile
@@ -40,6 +40,13 @@
 MEMMAP_USES=	pyqt:4
 MEMMAP_USE=	PYQT=gui_run
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MMEMMAP}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/setup.py
 	@${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|g' ${WRKSRC}/Makefile
Index: devel/py-qt4-assistant/Makefile
===================================================================
--- devel/py-qt4-assistant/Makefile
+++ devel/py-qt4-assistant/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Python bindings for the Qt4 toolkit, QtAssistant module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 CONFIGURE_ARGS=	--enable QtAssistant
 PYQT_DIST=	yes
 
Index: devel/py-qt4-core/Makefile
===================================================================
--- devel/py-qt4-core/Makefile
+++ devel/py-qt4-core/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Python bindings for the Qt4 toolkit, QtCore module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 CONFIGURE_ARGS=		--enable QtCore
 PYQT_DIST=		yes
 
Index: devel/py-qt4-dbus/Makefile
===================================================================
--- devel/py-qt4-dbus/Makefile
+++ devel/py-qt4-dbus/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Python bindings for the Qt4 toolkit, QtDBus module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 CONFIGURE_ARGS=	--enable QtDBus
 PYQT_DIST=	yes
 
Index: devel/py-qt4-dbussupport/Makefile
===================================================================
--- devel/py-qt4-dbussupport/Makefile
+++ devel/py-qt4-dbussupport/Makefile
@@ -6,6 +6,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt event loop support for dbus-python
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dbus>=0.8:devel/py-dbus@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dbus>=0.8:devel/py-dbus@${PY_FLAVOR}
 
Index: devel/py-qt4-declarative/Makefile
===================================================================
--- devel/py-qt4-declarative/Makefile
+++ devel/py-qt4-declarative/Makefile
@@ -7,6 +7,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Python bindings for the Qt4 toolkit, QtDeclarative module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 CONFIGURE_ARGS=	--enable QtDeclarative
 PYQT_DIST=	yes
 
Index: devel/py-qt4-designer/Makefile
===================================================================
--- devel/py-qt4-designer/Makefile
+++ devel/py-qt4-designer/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Python bindings for the Qt4 toolkit, QtDesigner module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 CONFIGURE_ARGS=	--enable QtDesigner --no-designer-plugin
 PYQT_DIST=	yes
 
Index: devel/py-qt4-designerplugin/Makefile
===================================================================
--- devel/py-qt4-designerplugin/Makefile
+++ devel/py-qt4-designerplugin/Makefile
@@ -8,6 +8,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Python bindings for the Qt4 toolkit, QtDesigner plugin
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_WRKSRC=	${WRKSRC}/designer
 INSTALL_WRKSRC=	${WRKSRC}/designer
 DESTDIRNAME=	INSTALL_ROOT
Index: devel/py-qt4-help/Makefile
===================================================================
--- devel/py-qt4-help/Makefile
+++ devel/py-qt4-help/Makefile
@@ -7,6 +7,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Python bindings for the Qt4 toolkit, QtHelp module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 CONFIGURE_ARGS=	--enable QtHelp
 PYQT_DIST=	yes
 
Index: devel/py-qt4-qscintilla2/Makefile
===================================================================
--- devel/py-qt4-qscintilla2/Makefile
+++ devel/py-qt4-qscintilla2/Makefile
@@ -13,6 +13,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Python bindings for QScintilla2 (PyQt4), QSci module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libqscintilla2_qt4.so:devel/qscintilla2
 
 DISTINFO_FILE=	${.CURDIR:H}/qscintilla2/distinfo
Index: devel/py-qt4-script/Makefile
===================================================================
--- devel/py-qt4-script/Makefile
+++ devel/py-qt4-script/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Python bindings for the Qt4 toolkit, QtScript module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 CONFIGURE_ARGS=	--enable QtScript
 PYQT_DIST=	yes
 
Index: devel/py-qt4-scripttools/Makefile
===================================================================
--- devel/py-qt4-scripttools/Makefile
+++ devel/py-qt4-scripttools/Makefile
@@ -8,6 +8,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Python bindings for the Qt4 toolkit, QtScriptTools module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 CONFIGURE_ARGS=	--enable QtScriptTools
 PYQT_DIST=	yes
 
Index: devel/py-qt4-test/Makefile
===================================================================
--- devel/py-qt4-test/Makefile
+++ devel/py-qt4-test/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Python bindings for the Qt4 toolkit, QtTest module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 CONFIGURE_ARGS=	--enable QtTest
 PYQT_DIST=	yes
 
Index: devel/py-qt4/Makefile
===================================================================
--- devel/py-qt4/Makefile
+++ devel/py-qt4/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Python bindings for the Qt 4 toolkit (meta port)
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		metaport python pyqt:4
 USE_PYTHON=	concurrent flavors py3kplist
 
Index: devel/py-qtconsole/Makefile
===================================================================
--- devel/py-qtconsole/Makefile
+++ devel/py-qtconsole/Makefile
@@ -12,6 +12,9 @@
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYING.md
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}traitlets>=0:devel/py-traitlets@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}jupyter_core>=0:devel/py-jupyter_core@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}jupyter_client>=4.1:devel/py-jupyter_client@${PY_FLAVOR} \
Index: devel/pyside-tools/Makefile
===================================================================
--- devel/pyside-tools/Makefile
+++ devel/pyside-tools/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	BSD3CLAUSE GPLv2
 LICENSE_COMB=	multi
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	pyside${PYTHON_PKGNAMESUFFIX}>=1.0.9:devel/pyside
 LIB_DEPENDS=	libshiboken-${PYTHON_VERSION}.so:devel/shiboken
 RUN_DEPENDS=	pyside${PYTHON_PKGNAMESUFFIX}>=1.0.9:devel/pyside
Index: devel/pyside/Makefile
===================================================================
--- devel/pyside/Makefile
+++ devel/pyside/Makefile
@@ -14,6 +14,9 @@
 
 LICENSE=	LGPL21
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libapiextractor.so:devel/apiextractor \
 		libgenrunner.so:devel/generatorrunner \
 		libshiboken-${PYTHON_VERSION}.so:devel/shiboken
Index: devel/qbzr/Makefile
===================================================================
--- devel/qbzr/Makefile
+++ devel/qbzr/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	bzr:devel/bzr \
 		${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}enchant>=0:textproc/py-enchant@${PY_FLAVOR}
Index: devel/qca/Makefile
===================================================================
--- devel/qca/Makefile
+++ devel/qca/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	qca
 PORTVERSION=	2.1.3
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel
 MASTER_SITES=	KDE/stable/qca/${PORTVERSION}/src
 PKGNAMESUFFIX=	-${FLAVOR}
@@ -18,7 +18,10 @@
 RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
 
 FLAVORS=	qt4 qt5
-FLAVOR?=	${FLAVORS:[1]}
+FLAVOR?=	${FLAVORS:[2]}
+
+qt4_DEPRECATED=		Qt4 has been EOL since december 2015
+qt4_EXPIRATION_DATE=	2019-03-15
 
 USES=		cmake:outsource tar:xz
 CMAKE_ARGS=	-DBUILD_PLUGINS=none -DBUILD_TESTS=no \
Index: devel/qconf/Makefile
===================================================================
--- devel/qconf/Makefile
+++ devel/qconf/Makefile
@@ -12,6 +12,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt:4 tar:bzip2
 USE_QT=		corelib xml moc_build qmake_build rcc_build
 HAS_CONFIGURE=	yes
Index: devel/qct/Makefile
===================================================================
--- devel/qct/Makefile
+++ devel/qct/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		pyqt:4 python:2.7
 USE_PYQT=	gui
 USE_PYTHON=	distutils
Index: devel/qdevelop/Makefile
===================================================================
--- devel/qdevelop/Makefile
+++ devel/qdevelop/Makefile
@@ -14,6 +14,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/copying
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 RUN_DEPENDS=	exctags:devel/ctags
 
 USE_QT=		corelib gui sql network xml designer sql-sqlite3_run \
Index: devel/qjson/Makefile
===================================================================
--- devel/qjson/Makefile
+++ devel/qjson/Makefile
@@ -13,7 +13,7 @@
 LICENSE_FILE=	${WRKSRC}/COPYING.lib
 
 FLAVORS=	qt4 qt5
-FLAVOR?=	${FLAVORS:[1]}
+FLAVOR?=	${FLAVORS:[2]}
 
 USES=		cmake pathfix
 USE_GITHUB=	yes
@@ -21,6 +21,9 @@
 USE_LDCONFIG=	yes
 
 .  if ${FLAVOR} == qt4
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES+=		qt:4
 USE_QT=		corelib moc_build qmake_build rcc_build uic_build
 CMAKE_ON=	QT4_BUILD
Index: devel/qprog/Makefile
===================================================================
--- devel/qprog/Makefile
+++ devel/qprog/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	bfoz@bfoz.net
 COMMENT=	Cross-platform software for the DIY line of PIC programmers
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4 tar:tgz
 USE_QT=		moc_build gui network
 
Index: devel/qross/Makefile
===================================================================
--- devel/qross/Makefile
+++ devel/qross/Makefile
@@ -11,6 +11,9 @@
 
 LICENSE=	LGPL20+
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		cmake qt:4
 USE_LDCONFIG=	yes
 USE_QT=		corelib designer gui network xml qmake_build uic_build moc_build \
Index: devel/qscintilla2-designerplugin/Makefile
===================================================================
--- devel/qscintilla2-designerplugin/Makefile
+++ devel/qscintilla2-designerplugin/Makefile
@@ -13,6 +13,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt4 Designer plugin for QScintilla2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libqscintilla2_qt4.so:devel/qscintilla2
 
 DISTINFO_FILE=	${.CURDIR:H}/qscintilla2/distinfo
Index: devel/qscintilla2/Makefile
===================================================================
--- devel/qscintilla2/Makefile
+++ devel/qscintilla2/Makefile
@@ -12,6 +12,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt 4 port of the Scintilla C++ editor class
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		compiler:c++11-lib qmake pyqt:4 qt:4
 USE_PYQT=	#
 USE_QT=		moc_build corelib gui xml designer
Index: devel/qt4-assistant-adp/Makefile
===================================================================
--- devel/qt4-assistant-adp/Makefile
+++ devel/qt4-assistant-adp/Makefile
@@ -14,6 +14,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt *.adp-compatible documentation browser
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USE_QT=		moc_build rcc_build uic_build corelib \
 		gui network xml doc dbus
 USES=		qmake qt:4
Index: devel/qt4-assistant/Makefile
===================================================================
--- devel/qt4-assistant/Makefile
+++ devel/qt4-assistant/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt 4 documentation browser
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		moc_build rcc_build uic_build \
 		corelib gui help network sql webkit xml \
Index: devel/qt4-corelib/Makefile
===================================================================
--- devel/qt4-corelib/Makefile
+++ devel/qt4-corelib/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt core non-graphical module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libicui18n.so:devel/icu
 
 USE_GNOME=	glib20
Index: devel/qt4-dbus/Makefile
===================================================================
--- devel/qt4-dbus/Makefile
+++ devel/qt4-dbus/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt D-Bus inter-process communication module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libdbus-1.so:devel/dbus
 
 BROKEN_sparc64=	fails to compile: invalid conversion
Index: devel/qt4-designer/Makefile
===================================================================
--- devel/qt4-designer/Makefile
+++ devel/qt4-designer/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt 4 graphical user interface designer
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		moc_build rcc_build uic_build assistant_run \
 		qt3support corelib declarative gui network script sql xml \
Index: devel/qt4-help-tools/Makefile
===================================================================
--- devel/qt4-help-tools/Makefile
+++ devel/qt4-help-tools/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt utilities for generating documentation
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		moc_build rcc_build uic_build corelib \
 		gui sql xml doc help
Index: devel/qt4-help/Makefile
===================================================================
--- devel/qt4-help/Makefile
+++ devel/qt4-help/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt online help integration module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		moc_build rcc_build corelib clucene \
 		gui sql sql-sqlite3_run xml network
Index: devel/qt4-libqtassistantclient/Makefile
===================================================================
--- devel/qt4-libqtassistantclient/Makefile
+++ devel/qt4-libqtassistantclient/Makefile
@@ -13,6 +13,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt documentation browser integration module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USE_QT=		moc_build rcc_build corelib gui network
 USES=		qmake qt:4
 QMAKE_ARGS=	CONFIG+="create_prl link_prl" VERSION="${PORTVERSION}"
Index: devel/qt4-linguist/Makefile
===================================================================
--- devel/qt4-linguist/Makefile
+++ devel/qt4-linguist/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt 4 localization tools
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		designer_build moc_build rcc_build uic_build \
 		assistant_run gui linguisttools_run network xml
Index: devel/qt4-linguisttools/Makefile
===================================================================
--- devel/qt4-linguisttools/Makefile
+++ devel/qt4-linguisttools/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt 4 localization tools
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		xml
 
Index: devel/qt4-makeqpf/Makefile
===================================================================
--- devel/qt4-makeqpf/Makefile
+++ devel/qt4-makeqpf/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt QPF2 font generator
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BROKEN_sparc64=	does not compile
 
 USES=		qmake:no_env qt-dist:4
Index: devel/qt4-moc/Makefile
===================================================================
--- devel/qt4-moc/Makefile
+++ devel/qt4-moc/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt Meta-Object Compiler
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qt-dist:4 qmake:no_env
 
 HAS_CONFIGURE=	yes
Index: devel/qt4-porting/Makefile
===================================================================
--- devel/qt4-porting/Makefile
+++ devel/qt4-porting/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt utility to assist with porting from Qt 3 to Qt 4
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		moc_build rcc_build corelib xml
 
Index: devel/qt4-qdbusviewer/Makefile
===================================================================
--- devel/qt4-qdbusviewer/Makefile
+++ devel/qt4-qdbusviewer/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt 4 graphical interface to D-Bus
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libdbus-1.so:devel/dbus
 
 USES=		pkgconfig qmake:no_env qt-dist:4
Index: devel/qt4-qdoc3/Makefile
===================================================================
--- devel/qt4-qdoc3/Makefile
+++ devel/qt4-qdoc3/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt documentation generator
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		corelib gui xml
 
Index: devel/qt4-qmake/Makefile
===================================================================
--- devel/qt4-qmake/Makefile
+++ devel/qt4-qmake/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt Makefile generator
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=	qt-dist:4
 USE_QT=		# empty
 REINPLACE_ARGS=	-i ""
Index: devel/qt4-qmlviewer/Makefile
===================================================================
--- devel/qt4-qmlviewer/Makefile
+++ devel/qt4-qmlviewer/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt 4 utility for QML application testing
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		moc_build rcc_build uic_build declarative script \
 		svg xmlpatterns sql opengl network corelib
Index: devel/qt4-qt3support/Makefile
===================================================================
--- devel/qt4-qt3support/Makefile
+++ devel/qt4-qt3support/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt 3 compatibility module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USE_QT=		moc_build corelib gui network sql xml
 USES=		pkgconfig qmake:no_env qt-dist:4
 
Index: devel/qt4-qtsolutions-singleapplication/Makefile
===================================================================
--- devel/qt4-qtsolutions-singleapplication/Makefile
+++ devel/qt4-qtsolutions-singleapplication/Makefile
@@ -12,6 +12,9 @@
 MAINTAINER=	yurkis@gmail.com
 COMMENT=	Qt 4 Solutions Single Application Framework
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4
 USE_QT?=	moc_build rcc_build uic_build gui network
 USE_LDCONFIG=	yes
Index: devel/qt4-qtsolutions-soap/Makefile
===================================================================
--- devel/qt4-qtsolutions-soap/Makefile
+++ devel/qt4-qtsolutions-soap/Makefile
@@ -13,6 +13,9 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	QT4 Solutions SOAP Component
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 DESCR=		${.CURDIR}/pkg-descr
 
 PATCHDIR=	${.CURDIR}/files
Index: devel/qt4-qvfb/Makefile
===================================================================
--- devel/qt4-qvfb/Makefile
+++ devel/qt4-qvfb/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt 4 virtual framebuffer utility
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		moc_build rcc_build uic_build corelib gui opengl
 USE_XORG=	xtst
Index: devel/qt4-rcc/Makefile
===================================================================
--- devel/qt4-rcc/Makefile
+++ devel/qt4-rcc/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt Resource Compiler
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 
 HAS_CONFIGURE=	yes
Index: devel/qt4-script/Makefile
===================================================================
--- devel/qt4-script/Makefile
+++ devel/qt4-script/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt scripting module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		pkgconfig qmake:no_env qt-dist:4
 USE_QT=		moc_build corelib
 
Index: devel/qt4-scripttools/Makefile
===================================================================
--- devel/qt4-scripttools/Makefile
+++ devel/qt4-scripttools/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt Script additional components
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		moc_build rcc_build gui script
 
Index: devel/qt4-testlib/Makefile
===================================================================
--- devel/qt4-testlib/Makefile
+++ devel/qt4-testlib/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt unit testing module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		moc_build corelib
 
Index: devel/qt4-uic/Makefile
===================================================================
--- devel/qt4-uic/Makefile
+++ devel/qt4-uic/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt User Interface Compiler
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 
 HAS_CONFIGURE=	yes
Index: devel/qt4-uic3/Makefile
===================================================================
--- devel/qt4-uic3/Makefile
+++ devel/qt4-uic3/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt 3-compatible User Interface Compiler
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		qt3support corelib gui network sql xml porting
 
Index: devel/qt4/Makefile
===================================================================
--- devel/qt4/Makefile
+++ devel/qt4/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Cross-platform application and UI framework (metaport)
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USE_QT=		accessible clucene corelib dbus declarative designer \
 		graphicssystems-opengl gui help iconengines \
 		imageformats inputmethods multimedia network opengl \
Index: devel/qt4/Makefile.sqldrivers
===================================================================
--- devel/qt4/Makefile.sqldrivers
+++ devel/qt4/Makefile.sqldrivers
@@ -8,6 +8,9 @@
 
 MAINTAINER=	kde@FreeBSD.org
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 EXTRA_PATCHES=	# empty
 
 USE_QT=		corelib sql moc_build qmake_build
Index: devel/qtscriptgenerator/Makefile
===================================================================
--- devel/qtscriptgenerator/Makefile
+++ devel/qtscriptgenerator/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	syncer@gmail.com
 COMMENT=	Tool that generates Qt bindings for Qt Script
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BROKEN_armv6=		fails to build: qtscript_QEasingCurve.cpp:332:32: cannot initialize a parameter of type 'QEasingCurve::EasingFunction' with an lvalue of type 'float'
 BROKEN_armv7=		fails to build: qtscript_QEasingCurve.cpp:332:32: cannot initialize a parameter of type 'QEasingCurve::EasingFunction' with an lvalue of type 'float'
 
Index: devel/shiboken/Makefile
===================================================================
--- devel/shiboken/Makefile
+++ devel/shiboken/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2 LGPL21
 LICENSE_COMB=	multi
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libxml2.so:textproc/libxml2 \
 		libxslt.so:textproc/libxslt
 
Index: devel/subcommander2/Makefile
===================================================================
--- devel/subcommander2/Makefile
+++ devel/subcommander2/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libboost_thread.so:devel/boost-libs \
 		libsvn_client-1.so:devel/subversion
 
Index: devel/thrift-cpp/Makefile
===================================================================
--- devel/thrift-cpp/Makefile
+++ devel/thrift-cpp/Makefile
@@ -54,6 +54,13 @@
 LDFLAGS+=	-L${OPENSSLLIB}
 CFLAGS+=	-I${OPENSSLINC}
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 .include <bsd.port.pre.mk>
 
 .if ${COMPILER_TYPE} == clang
Index: devel/universalindentgui/Makefile
===================================================================
--- devel/universalindentgui/Makefile
+++ devel/universalindentgui/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE.GPL
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libqscintilla2_qt4.so:devel/qscintilla2
 
 USES=		compiler:c++11-lang dos2unix qmake python:run qt:4 shebangfix
Index: editors/klat4/Makefile
===================================================================
--- editors/klat4/Makefile
+++ editors/klat4/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv2+
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 USES=		cmake gettext-tools kde:4 qt:4 tar:bzip2
 USE_KDE=	automoc4 kate kdelibs
 USE_QT=		moc_build qmake_build rcc_build uic_build
Index: editors/leo/Makefile
===================================================================
--- editors/leo/Makefile
+++ editors/leo/Makefile
@@ -15,6 +15,9 @@
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.TXT
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}docutils>0:textproc/py-docutils@${PY_FLAVOR} \
 		silvercity>0:textproc/silvercity
Index: editors/lfhex/Makefile
===================================================================
--- editors/lfhex/Makefile
+++ editors/lfhex/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2 # only
 LICENSE_FILE=	${WRKSRC}/../COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		bison qmake qt:4
 USE_QT=		corelib gui moc_build rcc_build
 
Index: editors/libreoffice/Makefile
===================================================================
--- editors/libreoffice/Makefile
+++ editors/libreoffice/Makefile
@@ -277,6 +277,13 @@
 MAKE_ENV+=	DISPLAY=
 MAKE_ENV+=	verbose=1
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MKDE4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+.endif
+
 .include <bsd.port.pre.mk>
 
 .if ${COMPILER_TYPE} == "clang"
Index: editors/mp/Makefile
===================================================================
--- editors/mp/Makefile
+++ editors/mp/Makefile
@@ -85,6 +85,11 @@
 CONFIGURE_ENV+=	CCLINK="${CXX}"
 .endif
 
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-patch:
 .for i in mpdm/mpdm.h mpsl/mpsl_d.c
 	@${REINPLACE_CMD} -e \
Index: editors/plume-creator-devel/Makefile
===================================================================
--- editors/plume-creator-devel/Makefile
+++ editors/plume-creator-devel/Makefile
@@ -10,6 +10,9 @@
 
 LICENSE=	GPLv3+
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 DATE=		20150510
 
 USES=		desktop-file-utils qmake qt:4 shared-mime-info tar:xz
Index: editors/tea/Makefile
===================================================================
--- editors/tea/Makefile
+++ editors/tea/Makefile
@@ -18,7 +18,7 @@
 OPTIONS_DEFINE=		DOCS
 OPTIONS_GROUP=		SPELL
 OPTIONS_GROUP_SPELL=	ASPELL HUNSPELL
-OPTIONS_DEFAULT=	QT4 ASPELL HUNSPELL
+OPTIONS_DEFAULT=	QT5 ASPELL HUNSPELL
 
 USE_GL=		gl
 USE_LOCALE=	en_US.UTF-8
@@ -44,6 +44,13 @@
 
 HUNSPELL_LIB_DEPENDS=	libhunspell-1.6.so:textproc/hunspell
 HUNSPELL_QMAKE_OFF=	CONFIG+=nohunspell
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/tea ${STAGEDIR}${PREFIX}/bin
Index: editors/texmacs/Makefile
===================================================================
--- editors/texmacs/Makefile
+++ editors/texmacs/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	texmacs
 PORTVERSION=	1.99.4
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	editors print
 MASTER_SITES=	http://www.texmacs.org/Download/ftp/tmftp/source/
 DISTNAME=	TeXmacs-${PORTVERSION}-src
@@ -40,7 +40,7 @@
 DATADIR=	${PREFIX}/share/TeXmacs
 
 OPTIONS_DEFINE=	ASPELL FREETYPE GHOSTSCRIPT IMLIB2 PDF QT4 SQLITE
-OPTIONS_DEFAULT=ASPELL FREETYPE GHOSTSCRIPT IMLIB2 PDF QT4 SQLITE
+OPTIONS_DEFAULT=ASPELL FREETYPE GHOSTSCRIPT IMLIB2 PDF SQLITE
 OPTIONS_SUB=	yes
 
 ASPELL_RUN_DEPENDS=	aspell:textproc/aspell
@@ -66,6 +66,13 @@
 QT4_VARS_OFF=		QT_PLUGINS_LIST=""
 SQLITE_USES=		sqlite
 SQLITE_CONFIGURE_ON=	--with-sqlite3
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
 
 post-patch:
 	@${REINPLACE_CMD} -e \
Index: editors/texmaker/Makefile
===================================================================
--- editors/texmaker/Makefile
+++ editors/texmaker/Makefile
@@ -38,4 +38,11 @@
 QT5_USE=	${_USE_QT5:S/^/QT=/}
 QT5_LIB_DEPENDS=	libpoppler-qt5.so:graphics/poppler-qt5
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 .include <bsd.port.mk>
Index: editors/texstudio/Makefile
===================================================================
--- editors/texstudio/Makefile
+++ editors/texstudio/Makefile
@@ -19,6 +19,9 @@
 FLAVORS=	qt5 qt4
 FLAVOR?=	${FLAVORS:[1]}
 
+qt4_DEPRECATED=		Qt4 has been EOL since december 2015
+qt4_EXPIRATION_DATE=	2019-03-15
+
 qt4_LIB_DEPENDS=	libpoppler-qt4.so:graphics/poppler-qt4 \
 			libquazip.so:archivers/quazip@qt4
 qt5_LIB_DEPENDS=	libpoppler-qt5.so:graphics/poppler-qt5 \
Index: editors/textroom/Makefile
===================================================================
--- editors/textroom/Makefile
+++ editors/textroom/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv3
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libhunspell-1.6.so:textproc/hunspell \
 		libxml++-2.6.so:textproc/libxml++26
Index: editors/yzis/Makefile
===================================================================
--- editors/yzis/Makefile
+++ editors/yzis/Makefile
@@ -14,6 +14,9 @@
 
 LICENSE=	GPLv2 LGPL21
 LICENSE_COMB=	multi
+
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
 LICENSE_FILE_GPLv2=	${WRKSRC}/COPYING
 LICENSE_FILE_LGPL21=	${WRKSRC}/COPYING.LGPL
 
Index: emulators/dboxfe/Makefile
===================================================================
--- emulators/dboxfe/Makefile
+++ emulators/dboxfe/Makefile
@@ -12,6 +12,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/LICENSE.GPL
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 RUN_DEPENDS=	dosbox:emulators/dosbox
 
 USES=		qmake qt:4 tar:bzip2
Index: emulators/higan/Makefile
===================================================================
--- emulators/higan/Makefile
+++ emulators/higan/Makefile
@@ -76,6 +76,13 @@
 
 INPUT_X_VARS=	INPUT_DRIVER+=input.xlib
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-patch:
 	${REINPLACE_CMD} \
 		-e 's|%%VIDEO%%|${VIDEO_DRIVER}|' \
Index: emulators/q4wine/Makefile
===================================================================
--- emulators/q4wine/Makefile
+++ emulators/q4wine/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	icotool:graphics/icoutils
 RUN_DEPENDS=	sudo:security/sudo \
 		wget:ftp/wget \
Index: emulators/qtemu/Makefile
===================================================================
--- emulators/qtemu/Makefile
+++ emulators/qtemu/Makefile
@@ -12,6 +12,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4 tar:bzip2
 USE_QT=		gui xml uic_build moc_build rcc_build
 CONFIGURE_ENV=	LOCALBASE=${LOCALBASE}
Index: emulators/swine/Makefile
===================================================================
--- emulators/swine/Makefile
+++ emulators/swine/Makefile
@@ -12,6 +12,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 RUN_DEPENDS=	xterm:x11/xterm \
 		cabextract:archivers/cabextract \
 		icotool:graphics/icoutils
Index: emulators/yabause/Makefile
===================================================================
--- emulators/yabause/Makefile
+++ emulators/yabause/Makefile
@@ -3,6 +3,7 @@
 
 PORTNAME=	yabause
 PORTVERSION=	0.9.14
+PORTREVISION=	1	
 CATEGORIES=	emulators
 MASTER_SITES=	SF
 
@@ -25,7 +26,7 @@
 OPTIONS_DEFINE=		SDL2
 OPTIONS_SINGLE=		GUI
 OPTIONS_SINGLE_GUI=	GTK2 QT4 QT5
-OPTIONS_DEFAULT=	QT4
+OPTIONS_DEFAULT=	QT5
 
 GTK2_LIB_DEPENDS=	libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
 GTK2_USE=		gnome=gtk20
@@ -43,6 +44,11 @@
 SDL2_USE_OFF=		sdl=sdl
 
 .include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
 
 post-patch:
 .if empty(PORT_OPTIONS:MSDL2)
Index: finance/alkimia/Makefile
===================================================================
--- finance/alkimia/Makefile
+++ finance/alkimia/Makefile
@@ -20,6 +20,9 @@
 
 SLAVE?=		qt5
 .if ${SLAVE} ==	qt4
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES+=		qt:4
 USE_QT=		corelib dbus \
 		moc_build qmake_build rcc_build
Index: finance/bitcoin-armory/Makefile
===================================================================
--- finance/bitcoin-armory/Makefile
+++ finance/bitcoin-armory/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	AGPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BROKEN_aarch64=		fails to compile: c++: language not recognized: 'ar'
 BROKEN_armv6=		fails to compile: c++: language not recognized: 'ar'
 BROKEN_armv7=		fails to compile: c++: language not recognized: 'ar'
Index: finance/qhacc/Makefile
===================================================================
--- finance/qhacc/Makefile
+++ finance/qhacc/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libgpgme.so:security/gpgme \
 		libqwt6.so:x11-toolkits/qwt6@qt4
 
Index: french/aster/Makefile
===================================================================
--- french/aster/Makefile
+++ french/aster/Makefile
@@ -11,6 +11,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BROKEN_FreeBSD_12=	does not build (sed: ${STAGEDIR}${inst_dir}/${VE}/aster.conf: No such file or directory)
 BROKEN_FreeBSD_13=	does not build (sed: ${STAGEDIR}${inst_dir}/${VE}/aster.conf: No such file or directory)
 
Index: ftp/plasma-applet-ftpmonitor/Makefile
===================================================================
--- ftp/plasma-applet-ftpmonitor/Makefile
+++ ftp/plasma-applet-ftpmonitor/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 USES=		cmake kde:4 qt:4 tar:bzip2
 USE_KDE=	kdelibs automoc4
 USE_QT=		qmake_build moc_build uic_build rcc_build
Index: ftp/scythia/Makefile
===================================================================
--- ftp/scythia/Makefile
+++ ftp/scythia/Makefile
@@ -12,6 +12,9 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Small ftp client unpretentious based on Qt4
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4
 USE_QT=		gui network corelib uic_build moc_build rcc_build
 INSTALLS_ICONS=	yes
Index: games/allacrost/Makefile
===================================================================
--- games/allacrost/Makefile
+++ games/allacrost/Makefile
@@ -46,6 +46,13 @@
 EDITOR_CONFIGURE_ON=	--enable-editor=yes
 EDITOR_CONFIGURE_OFF=	--enable-editor=no
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MEDITOR}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|-I/usr/include/|-I${LOCALBASE}/include/|g' \
 		${WRKSRC}/Makefile.in
Index: games/anki/Makefile
===================================================================
--- games/anki/Makefile
+++ games/anki/Makefile
@@ -15,6 +15,9 @@
 LICENSE=	AGPLv3+
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 RUN_DEPENDS=	lame:audio/lame \
 		mplayer:multimedia/mplayer \
 		${PYTHON_PKGNAMEPREFIX}pyaudio>0:audio/py-pyaudio@${PY_FLAVOR} \
Index: games/arx-libertatis/Makefile
===================================================================
--- games/arx-libertatis/Makefile
+++ games/arx-libertatis/Makefile
@@ -39,6 +39,13 @@
 CRASHREPORTER_CMAKE_ON=	-DBUILD_CRASHREPORTER=ON -DUSE_QT5=OFF
 CRASHREPORTER_CMAKE_OFF=-DBUILD_CRASHREPORTER=OFF
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MCRASHREPORTER}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/CMakeLists.txt
 
Index: games/bubble-chains/Makefile
===================================================================
--- games/bubble-chains/Makefile
+++ games/bubble-chains/Makefile
@@ -11,6 +11,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	icotool:graphics/icoutils
 
 USE_GITHUB=	yes
Index: games/capicity/Makefile
===================================================================
--- games/capicity/Makefile
+++ games/capicity/Makefile
@@ -14,6 +14,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/copying.txt
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs
 LIB_DEPENDS=	libpcre.so:devel/pcre \
 		libpng.so:graphics/png \
Index: games/capitalism/Makefile
===================================================================
--- games/capitalism/Makefile
+++ games/capitalism/Makefile
@@ -14,6 +14,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/copying.txt
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs
 LIB_DEPENDS=	libpcre.so:devel/pcre \
 		libpng.so:graphics/png \
Index: games/flukz/Makefile
===================================================================
--- games/flukz/Makefile
+++ games/flukz/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Vertically scrolling shoot'em up
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4
 USE_QT=		corelib gui multimedia network moc_build rcc_build
 
Index: games/goldencheetah/Makefile
===================================================================
--- games/goldencheetah/Makefile
+++ games/goldencheetah/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	BSD3CLAUSE GPLv2 LGPL21
 LICENSE_COMB=	multi
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BROKEN=		fails to build
 
 LIB_DEPENDS=	libical.so:devel/libical \
Index: games/jag/Makefile
===================================================================
--- games/jag/Makefile
+++ games/jag/Makefile
@@ -14,6 +14,9 @@
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	2D arcade-puzzle game like KDiamonds
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		dos2unix qmake qt:4 zip
 USE_SDL=	sdl mixer
 DOS2UNIX_FILES=	Game.pro
Index: games/kardsgt/Makefile
===================================================================
--- games/kardsgt/Makefile
+++ games/kardsgt/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4
 USE_QT=		assistantclient corelib gui network \
 		moc_build rcc_build uic_build
Index: games/kcheckers/Makefile
===================================================================
--- games/kcheckers/Makefile
+++ games/kcheckers/Makefile
@@ -12,6 +12,9 @@
 
 BROKEN=		fails to build
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4
 USE_QT=		corelib gui moc_build rcc_build
 
Index: games/knights-kde4/Makefile
===================================================================
--- games/knights-kde4/Makefile
+++ games/knights-kde4/Makefile
@@ -14,6 +14,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 USES=		cmake:outsource kde:4 qt:4 tar:bzip2
 USE_KDE=	kdelibs automoc4 workspace libkdegames
 USE_QT=		qmake_build moc_build rcc_build uic_build
Index: games/openpref/Makefile
===================================================================
--- games/openpref/Makefile
+++ games/openpref/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4
 USE_QT=		corelib gui moc_build rcc_build uic_build
 MAKE_JOBS_UNSAFE=	yes
Index: games/pokerth/Makefile
===================================================================
--- games/pokerth/Makefile
+++ games/pokerth/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	AGPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libboost_thread.so:devel/boost-libs \
 		libmikmod.so:audio/libmikmod \
 		libgnutls.so:security/gnutls \
Index: games/qgo/Makefile
===================================================================
--- games/qgo/Makefile
+++ games/qgo/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Go board and SGF editor written with the Qt library
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BROKEN=		fails to build
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
Index: games/qnetwalk/Makefile
===================================================================
--- games/qnetwalk/Makefile
+++ games/qnetwalk/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4
 USE_QT=		corelib gui moc_build rcc_build
 USE_SDL=	mixer
Index: games/qtads/Makefile
===================================================================
--- games/qtads/Makefile
+++ games/qtads/Makefile
@@ -11,6 +11,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BROKEN=		fails to build
 
 USES=		gmake pkgconfig qmake qt:4 tar:bzip2
Index: games/quackle/Makefile
===================================================================
--- games/quackle/Makefile
+++ games/quackle/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv3
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USE_GITHUB=	yes
 
 USES=		compiler:c++11-lib gmake qmake qt:4
Index: games/spellathon/Makefile
===================================================================
--- games/spellathon/Makefile
+++ games/spellathon/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	BSD2CLAUSE
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs
 LIB_DEPENDS=	libpcre.so:devel/pcre \
 		libpng.so:graphics/png \
Index: games/sudoku-sensei/Makefile
===================================================================
--- games/sudoku-sensei/Makefile
+++ games/sudoku-sensei/Makefile
@@ -15,6 +15,9 @@
 
 LICENSE=	GPLv2+
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 WRKSRC=		${WRKDIR}/SudokuSenseiSources
 
 USES=		qmake qt:4
Index: games/tbe/Makefile
===================================================================
--- games/tbe/Makefile
+++ games/tbe/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	${LOCALBASE}/bin/unzip:archivers/unzip
 
 USE_GITHUB=	yes
Index: games/valyriatear/Makefile
===================================================================
--- games/valyriatear/Makefile
+++ games/valyriatear/Makefile
@@ -54,6 +54,13 @@
 NLS_CMAKE_OFF=	-DDISABLE_TRANSLATIONS:BOOL=OFF
 NLS_USES=	gettext
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MEDITOR}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
 		${WRKSRC}/CMake/Modules/*.cmake
Index: games/xptools/Makefile
===================================================================
--- games/xptools/Makefile
+++ games/xptools/Makefile
@@ -10,6 +10,9 @@
 
 LICENSE=	MIT
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 # Platform-specific defines in patch-src_XESCore_Airports.cpp.
 # Somewhere on FlightGear wiki it is said WED would only work for AMD64 anyway.
 ONLY_FOR_ARCHS=	amd64
Index: german/tipp10/Makefile
===================================================================
--- german/tipp10/Makefile
+++ german/tipp10/Makefile
@@ -14,6 +14,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/license_en.txt
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake dos2unix qt:4 zip
 DOS2UNIX_GLOB=	*.pro *.cpp
 USE_QT=		corelib gui network sql rcc_build uic_build moc_build \
Index: graphics/appleseed/Makefile
===================================================================
--- graphics/appleseed/Makefile
+++ graphics/appleseed/Makefile
@@ -62,6 +62,13 @@
 STUDIO_USE=	QT=moc_build,qmake_build,rcc_build,uic_build,opengl
 STUDIO_CMAKE_OFF=	-DWITH_STUDIO:BOOL=OFF
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MSTUDIO}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 .include <bsd.port.pre.mk>
 
 post-patch:
Index: graphics/aqsis/Makefile
===================================================================
--- graphics/aqsis/Makefile
+++ graphics/aqsis/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	BSD3CLAUSE GPLv2
 LICENSE_COMB=	multi
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	bison:devel/bison \
 		xsltproc:textproc/libxslt
 LIB_DEPENDS=	libIlmImf.so:graphics/openexr \
Index: graphics/autoq3d/Makefile
===================================================================
--- graphics/autoq3d/Makefile
+++ graphics/autoq3d/Makefile
@@ -14,6 +14,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/docs/license.txt
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		dos2unix qmake qt:4 zip
 DOS2UNIX_FILES=	*.pro src/cmds/*.cpp src/fgui/*.cpp docs/*.txt
 DOS2UNIX_REGEX=	.*.[^p][^n][^g]$
Index: graphics/burplex/Makefile
===================================================================
--- graphics/burplex/Makefile
+++ graphics/burplex/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	BSD2CLAUSE
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 RUN_DEPENDS=	${LOCALBASE}/bin/dcraw:graphics/dcraw
 
 USES=		qmake qt:4
Index: graphics/darknock/Makefile
===================================================================
--- graphics/darknock/Makefile
+++ graphics/darknock/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv2+
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
 USES=		qmake qt:4
Index: graphics/diffpdf/Makefile
===================================================================
--- graphics/diffpdf/Makefile
+++ graphics/diffpdf/Makefile
@@ -11,6 +11,9 @@
 
 LICENSE=	GPLv2+
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libpoppler-qt4.so:graphics/poppler-qt4
 
 USES=		compiler:c++11-lang qmake qt:4
Index: graphics/djview4/Makefile
===================================================================
--- graphics/djview4/Makefile
+++ graphics/djview4/Makefile
@@ -39,6 +39,13 @@
 QT5_USES=	qt:5
 QT5_USE=	QT=core,gui,network,opengl,printsupport,widgets,buildtools_build,linguisttools_build,qmake_build
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-patch:
 # Use prebuilt icons, without using conversion tool
 	@${REINPLACE_CMD} -e 's/conversion_tool=[[:alpha:]]*/conversion_tool=no/' \
Index: graphics/easypaint/Makefile
===================================================================
--- graphics/easypaint/Makefile
+++ graphics/easypaint/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	GPLv3
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4
 USE_QT=		gui xml uic_build moc_build rcc_build
 QPROFILE=	easyPaint
Index: graphics/eos-movrec/Makefile
===================================================================
--- graphics/eos-movrec/Makefile
+++ graphics/eos-movrec/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libgphoto2.so:graphics/libgphoto2
 
 USES=		cmake dos2unix pkgconfig qt:4 tar:bzip2
Index: graphics/fracplanet/Makefile
===================================================================
--- graphics/fracplanet/Makefile
+++ graphics/fracplanet/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	fracplanet
 PORTVERSION=	0.5.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	graphics
 MASTER_SITES=	SF \
 		SF/nemysisfreebsdp/:icons
@@ -19,8 +19,11 @@
 LIB_DEPENDS=	libboost_program_options.so:devel/boost-libs
 
 FLAVORS=	qt4 qt5
-FLAVOR?=	${FLAVORS:[1]}
+FLAVOR?=	${FLAVORS:[2]}
 qt5_PKGNAMESUFFIX=	-${FLAVOR}
+
+qt4_DEPRECATED=		Qt4 has been EOL since december 2015
+qt4_EXPIRATION_DATE=	2019-03-15
 
 USES=		compiler:c++11-lang gl qmake:outsource
 USE_GL=		gl glu
Index: graphics/gle-graphics/Makefile
===================================================================
--- graphics/gle-graphics/Makefile
+++ graphics/gle-graphics/Makefile
@@ -14,6 +14,9 @@
 LICENSE=	BSD3CLAUSE GPLv2
 LICENSE_COMB=	multi
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BITMAP_IMAGES_CONFIGURE_WITH=	jpeg=${LOCALBASE} tiff=${LOCALBASE} png=${LOCALBASE}
 BITMAP_IMAGES_DESC=	Support for including bitmap images
 BITMAP_IMAGES_LIB_DEPENDS=	libpng.so:graphics/png \
Index: graphics/graphviz/Makefile
===================================================================
--- graphics/graphviz/Makefile
+++ graphics/graphviz/Makefile
@@ -212,6 +212,11 @@
 CONFIGURE_ENV+=		SWIG="/nonexistent"
 .endif
 
+.if ${PORT_OPTIONS:MGVEDIT}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 .include <bsd.port.pre.mk>
 
 .if ${PORT_OPTIONS:MPHP}
Index: graphics/kcoloredit/Makefile
===================================================================
--- graphics/kcoloredit/Makefile
+++ graphics/kcoloredit/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Palette files editor for KDE
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 USES=		cmake gettext kde:4 qt:4 tar:bzip2
 USE_KDE=	kdelibs automoc4
 USE_QT=		corelib qmake_build moc_build rcc_build uic_build
Index: graphics/kiconedit/Makefile
===================================================================
--- graphics/kiconedit/Makefile
+++ graphics/kiconedit/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	KDE icon editor
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 USES=		cmake gettext kde:4 qt:4 tar:bzip2
 USE_KDE=	kdelibs automoc4
 USE_QT=		corelib qmake_build moc_build rcc_build uic_build
Index: graphics/klatexformula/Makefile
===================================================================
--- graphics/klatexformula/Makefile
+++ graphics/klatexformula/Makefile
@@ -10,6 +10,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	help2man:misc/help2man
 
 USES=		cmake:outsource desktop-file-utils ghostscript:run \
Index: graphics/kpovmodeler/Makefile
===================================================================
--- graphics/kpovmodeler/Makefile
+++ graphics/kpovmodeler/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	KDE editor/frontend for Povray
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 RUN_DEPENDS=	povray:graphics/povray-meta
 
 USES=		cmake gettext kde:4 qt:4 tar:bzip2
Index: graphics/libkipi-kde4/Makefile
===================================================================
--- graphics/libkipi-kde4/Makefile
+++ graphics/libkipi-kde4/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	KDE Image Plugin Interface
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 USES=		cmake:outsource kde:4 qt:4 tar:xz
 USE_KDE=	automoc4 kdelibs
 USE_QT=		gui moc_build qmake_build rcc_build uic_build
Index: graphics/libkscreen/Makefile
===================================================================
--- graphics/libkscreen/Makefile
+++ graphics/libkscreen/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	KDE screen management library
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 LIB_DEPENDS=	libqjson.so:devel/qjson@qt4 \
 		libxcb.so:x11/libxcb \
 		libxcb-image.so:x11/xcb-util-image \
Index: graphics/lprof-devel/Makefile
===================================================================
--- graphics/lprof-devel/Makefile
+++ graphics/lprof-devel/Makefile
@@ -12,6 +12,9 @@
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Open source color profiler
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	liblcms.so:graphics/lcms \
 		libtiff.so:graphics/tiff \
 		libvigraimpex.so:graphics/vigra
Index: graphics/luminance/Makefile
===================================================================
--- graphics/luminance/Makefile
+++ graphics/luminance/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	${LOCALBASE}/include/fftw3.h:math/fftw3
 LIB_DEPENDS=	libfftw3f.so:math/fftw3-float \
 		libexiv2.so:graphics/exiv2 \
Index: graphics/luxrender/Makefile
===================================================================
--- graphics/luxrender/Makefile
+++ graphics/luxrender/Makefile
@@ -57,6 +57,13 @@
 X11_USE=	QT=moc_build,qmake_build,rcc_build,uic_build,corelib,gui
 X11_PLIST_FILES=	bin/luxrender
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MX11}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-extract:
 	@${LN} -sf ${PORTNAME}-luxrays-${LUXRAYS_REV} ${WRKDIR}/luxrays
 
Index: graphics/meshviewer/Makefile
===================================================================
--- graphics/meshviewer/Makefile
+++ graphics/meshviewer/Makefile
@@ -14,6 +14,9 @@
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 WRKSRC=		${WRKDIR}/mview-${PORTVERSION}
 
 USES=		gmake pkgconfig qt:4
Index: graphics/natron/Makefile
===================================================================
--- graphics/natron/Makefile
+++ graphics/natron/Makefile
@@ -10,6 +10,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 ONLY_FOR_ARCHS=	amd64
 BUILD_DEPENDS=	pyside${PYTHON_PKGNAMESUFFIX}>0:devel/pyside
 RUN_DEPENDS=	${LOCALBASE}/OFX/Plugins/IO.ofx.bundle/Contents/Info.plist:graphics/openfx-io \
Index: graphics/nvidia-texture-tools/Makefile
===================================================================
--- graphics/nvidia-texture-tools/Makefile
+++ graphics/nvidia-texture-tools/Makefile
@@ -38,6 +38,13 @@
 COMPRESSUI_USES=	qt:4
 COMPRESSUI_USE=	QT=qmake_build,moc_build,uic_build,rcc_build,corelib,gui,opengl
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MCOMPRESSUI}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-patch-COMPRESSUI-on:
 	@${REINPLACE_CMD} -e '/FIND_PACKAGE.*Qt4/ s|)$$| REQUIRED&|' \
 		${WRKSRC}/src/CMakeLists.txt
Index: graphics/opencsg/Makefile
===================================================================
--- graphics/opencsg/Makefile
+++ graphics/opencsg/Makefile
@@ -14,6 +14,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/../license.txt
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		compiler:c++11-lang qmake qt:4
 USE_GL=		gl glew
 USE_QT=		qmake_build
Index: graphics/opencv/Makefile
===================================================================
--- graphics/opencv/Makefile
+++ graphics/opencv/Makefile
@@ -329,6 +329,13 @@
 CMAKE_ARGS+=	-DBUILD_JAVA:BOOL=OFF
 .endif
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-extract-EXTRA_MODULES-on:
 	@${MV} ${WRKSRC_extra_mod}/doc/tutorials/* ${WRKSRC}/doc/tutorials/
 	@${MV} ${WRKSRC_extra_mod}/modules/* ${WRKSRC}/modules/
Index: graphics/openimageio/Makefile
===================================================================
--- graphics/openimageio/Makefile
+++ graphics/openimageio/Makefile
@@ -103,6 +103,11 @@
 		-DOIIO_BUILD_TOOLS:BOOL=OFF -DUSE_FFMPEG:BOOL=OFF
 .endif
 
+.if ${PORT_OPTIONS:MIMAGEVIEWER}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|share/doc/OpenImageIO|${DOCSDIR}|g' \
 		${WRKSRC}/CMakeLists.txt
Index: graphics/osg-devel/Makefile
===================================================================
--- graphics/osg-devel/Makefile
+++ graphics/osg-devel/Makefile
@@ -142,6 +142,11 @@
 PLIST_SUB+=		QT="@comment "
 .endif
 
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-patch:
 	@${FIND} ${WRKSRC}/CMakeModules -type f -print0 | ${XARGS} -0 \
 		${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g'
Index: graphics/osg/Makefile
===================================================================
--- graphics/osg/Makefile
+++ graphics/osg/Makefile
@@ -149,6 +149,11 @@
 PLIST_SUB+=		QT="@comment "
 .endif
 
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-patch:
 	@${FIND} ${WRKSRC}/CMakeModules -type f -print0 | ${XARGS} -0 \
 		${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g'
Index: graphics/oyranos/Makefile
===================================================================
--- graphics/oyranos/Makefile
+++ graphics/oyranos/Makefile
@@ -10,6 +10,9 @@
 
 LICENSE=	BSD3CLAUSE
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 RUN_DEPENDS=	${LOCALBASE}/share/color/icc/OpenICC/sRGB.icc:graphics/icc-profiles-openicc \
 		${LOCALBASE}/share/color/icc/basICColor/ISOcoated_v2_300_bas.ICC:graphics/icc-profiles-basiccolor \
 		xcalib:x11/xcalib
Index: graphics/pencil/Makefile
===================================================================
--- graphics/pencil/Makefile
+++ graphics/pencil/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BROKEN_armv6=		fails to compile: no matching function for call to 'qMax'
 BROKEN_armv7=		fails to compile: no matching function for call to 'qMax'
 
Index: graphics/photivo/Makefile
===================================================================
--- graphics/photivo/Makefile
+++ graphics/photivo/Makefile
@@ -35,6 +35,9 @@
 qt4_PKGNAMESUFFIX=	-qt4
 qt5_CONFLICTS_INSTALL=	${PORTNAME}-qt4
 
+qt4_DEPRECATED=		Qt4 has been EOL since december 2015
+qt4_EXPIRATION_DATE=	2019-03-15
+
 .if ${FLAVOR:U} == qt4
 USES+=		qt:4
 USE_QT=		qmake_build moc_build rcc_build uic_build corelib gui network
Index: graphics/poppler/Makefile
===================================================================
--- graphics/poppler/Makefile
+++ graphics/poppler/Makefile
@@ -62,6 +62,9 @@
 .endif
 
 .if ${SLAVEPORT}==qt4
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 CONFIGURE_ARGS+=--enable-poppler-qt4
 CONFIGURE_ENV+=	MOCQT4=${MOC}
 USES+=		qt:4
Index: graphics/prison/Makefile
===================================================================
--- graphics/prison/Makefile
+++ graphics/prison/Makefile
@@ -14,6 +14,9 @@
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libdmtx.so:graphics/libdmtx \
 		libqrencode.so:graphics/libqrencode
 
Index: graphics/py-poppler-qt4/Makefile
===================================================================
--- graphics/py-poppler-qt4/Makefile
+++ graphics/py-poppler-qt4/Makefile
@@ -14,6 +14,9 @@
 LICENSE=	LGPL21 LGPL3
 LICENSE_COMB=	dual
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libpoppler-qt4.so:graphics/poppler-qt4
 
 USES=		compiler:c++11-lang pkgconfig pyqt:4 python
Index: graphics/py-qt4-svg/Makefile
===================================================================
--- graphics/py-qt4-svg/Makefile
+++ graphics/py-qt4-svg/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Python bindings for the Qt4 toolkit, QtSvg module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 CONFIGURE_ARGS=	--enable QtSvg
 PYQT_DIST=	yes
 
Index: graphics/qgis/Makefile
===================================================================
--- graphics/qgis/Makefile
+++ graphics/qgis/Makefile
@@ -11,6 +11,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	txt2tags:textproc/txt2tags
 LIB_DEPENDS=	libexpat.so:textproc/expat2 \
 		libgdal.so:graphics/gdal \
Index: graphics/qt4-iconengines/Makefile
===================================================================
--- graphics/qt4-iconengines/Makefile
+++ graphics/qt4-iconengines/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt SVG icon engine
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		pkgconfig qmake:no_env qt-dist:4
 USE_QT=		moc_build corelib gui svg xml
 
Index: graphics/qt4-imageformats/Makefile
===================================================================
--- graphics/qt4-imageformats/Makefile
+++ graphics/qt4-imageformats/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt plugins for several image formats
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libmng.so:graphics/libmng \
 		libpng.so:graphics/png \
 		libtiff.so:graphics/tiff
Index: graphics/qt4-opengl/Makefile
===================================================================
--- graphics/qt4-opengl/Makefile
+++ graphics/qt4-opengl/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt OpenGL support module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		moc_build corelib gui
 
Index: graphics/qt4-pixeltool/Makefile
===================================================================
--- graphics/qt4-pixeltool/Makefile
+++ graphics/qt4-pixeltool/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt 4 screen magnifier
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		moc_build corelib gui network
 
Index: graphics/qt4-svg/Makefile
===================================================================
--- graphics/qt4-svg/Makefile
+++ graphics/qt4-svg/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt SVG support module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		moc_build corelib gui
 
Index: graphics/qtawesome/Makefile
===================================================================
--- graphics/qtawesome/Makefile
+++ graphics/qtawesome/Makefile
@@ -3,6 +3,7 @@
 
 PORTNAME=	qtawesome
 PORTVERSION=	20150319
+PORTREVISION=	1
 CATEGORIES=	graphics devel
 
 MAINTAINER=	mi@aldan.algebra.com
@@ -19,7 +20,7 @@
 
 OPTIONS_SINGLE=		GUI
 OPTIONS_SINGLE_GUI=	QT4 QT5
-OPTIONS_DEFAULT=	QT4
+OPTIONS_DEFAULT=	QT5
 
 QT4_USES=	qt:4
 QT4_USE=	qt=corelib,gui,qmake_build,moc_build
@@ -35,6 +36,13 @@
 		lib/libQtAwesome.so.1 lib/libQtAwesome.so	\
 		include/QtAwesome.h
 USE_LDCONFIG=	yes
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
 
 post-patch:
 	${REINPLACE_CMD} -e 's,staticlib,sharedlib,'	\
Index: graphics/qxv/Makefile
===================================================================
--- graphics/qxv/Makefile
+++ graphics/qxv/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4 tar:bzip2
 USE_QT=		corelib gui moc_build uic_build rcc_build
 MAKE_JOBS_UNSAFE=	yes
Index: graphics/scantailor/Makefile
===================================================================
--- graphics/scantailor/Makefile
+++ graphics/scantailor/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv3
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BROKEN_powerpc64=	fails to compile: core.hpp:69: boost::lambda::<unnamed>::_1 causes a section type conflict
 
 BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
Index: graphics/seexpr/Makefile
===================================================================
--- graphics/seexpr/Makefile
+++ graphics/seexpr/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	APACHE20
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	wdas
 GH_PROJECT=	SeExpr
Index: graphics/smillaenlarger/Makefile
===================================================================
--- graphics/smillaenlarger/Makefile
+++ graphics/smillaenlarger/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv3
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4 zip
 USE_QT=		qmake_build moc_build rcc_build uic_build gui
 
Index: graphics/structuresynth/Makefile
===================================================================
--- graphics/structuresynth/Makefile
+++ graphics/structuresynth/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Rule-based 3D structure generator
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4 zip dos2unix
 USE_GL=		glu
 USE_QT=		corelib gui opengl moc_build rcc_build xml script
Index: graphics/tulip/Makefile
===================================================================
--- graphics/tulip/Makefile
+++ graphics/tulip/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	tulip
 PORTVERSION=	4.10.0
-PORTREVISION=	5
+PORTREVISION=	6
 DISTVERSIONSUFFIX=	_src
 CATEGORIES=	graphics
 MASTER_SITES=	SF/auber/${PORTNAME}/${PORTNAME}-${PORTVERSION}
@@ -45,7 +45,7 @@
 
 OPTIONS_SINGLE=		GUI
 OPTIONS_SINGLE_GUI=	QT4 QT5
-OPTIONS_DEFAULT=	QT4
+OPTIONS_DEFAULT=	QT5
 
 QT4_USES=		qt:4
 QT4_USE=		qt=corelib,gui,network,opengl,webkit \
@@ -56,6 +56,13 @@
 			qt=xml,xmlpatterns \
 			qt=buildtools_build,qmake_build
 QT5_CMAKE_BOOL=		USE_QT5_IF_INSTALLED
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
 
 post-build:
 	@${LN} -sf logo32x32.png \
Index: graphics/yafaray/Makefile
===================================================================
--- graphics/yafaray/Makefile
+++ graphics/yafaray/Makefile
@@ -5,6 +5,7 @@
 DISTVERSIONPREFIX=	v
 DISTVERSION=	3.3.0-11
 DISTVERSIONSUFFIX=	-g1c0b43a
+PORTREVISION=	1
 CATEGORIES=	graphics
 
 MAINTAINER=	ports@FreeBSD.org
@@ -37,13 +38,19 @@
 CMAKE_OFF=	WITH_YAF_PY_BINDINGS
 
 OPTIONS_DEFINE=	DOCS QT
-OPTIONS_DEFAULT=	QT
 OPTIONS_SUB=	yes
 
 QT_DESC=	Enable Qt Gui build
 QT_USES=	qt:4
 QT_CMAKE_BOOL=	WITH_QT
 QT_USE=		QT=corelib,gui,moc_build,qmake_build,rcc_build,uic_build
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
 
 post-install:
 	@${RM} ${STAGEDIR}${DOCSDIR}/LICENSES
Index: graphics/yagf/Makefile
===================================================================
--- graphics/yagf/Makefile
+++ graphics/yagf/Makefile
@@ -12,6 +12,9 @@
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 ONLY_FOR_ARCHS=	amd64 i386
 
 LIB_DEPENDS=	libaspell.so:textproc/aspell
Index: graphics/zbar/Makefile
===================================================================
--- graphics/zbar/Makefile
+++ graphics/zbar/Makefile
@@ -53,6 +53,12 @@
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
+.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-patch-DOCS-off:
 	@${REINPLACE_CMD} '/^install-data-am: /s/install-dist_docDATA//' \
 		${WRKSRC}/Makefile.in
Index: irc/dxirc/Makefile
===================================================================
--- irc/dxirc/Makefile
+++ irc/dxirc/Makefile
@@ -50,4 +50,11 @@
 			QT=buildtools_build,qmake_build
 QT5_CMAKE_ON=		-DQT5:BOOL=ON
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 .include <bsd.port.mk>
Index: irc/kvirc/Makefile
===================================================================
--- irc/kvirc/Makefile
+++ irc/kvirc/Makefile
@@ -18,6 +18,9 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT?=	IRC client for KDE 4
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USE_PERL5=	build
 USE_QT=		moc_build qmake_build rcc_build uic_build \
 		dbus gui network sql xml
Index: japanese/qt4-codecs-jp/Makefile
===================================================================
--- japanese/qt4-codecs-jp/Makefile
+++ japanese/qt4-codecs-jp/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt EUC-JP/JIS codec plugins
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		corelib
 
Index: korean/qt4-codecs-kr/Makefile
===================================================================
--- korean/qt4-codecs-kr/Makefile
+++ korean/qt4-codecs-kr/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt EUC-KR codec plugin
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		corelib
 
Index: mail/emailrelay/Makefile
===================================================================
--- mail/emailrelay/Makefile
+++ mail/emailrelay/Makefile
@@ -39,6 +39,13 @@
 
 IPV6_CONFIGURE_ENABLE=	ipv6
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MGUI}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-install:
 	${MV} ${STAGEDIR}${PREFIX}/etc/emailrelay.auth.template \
 		${STAGEDIR}${PREFIX}/etc/emailrelay.auth.sample
Index: mail/kbiff/Makefile
===================================================================
--- mail/kbiff/Makefile
+++ mail/kbiff/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 USES=		cmake gettext kde:4 perl5 qt:4 tar:bzip2
 USE_KDE=	automoc4 kdelibs
 USE_QT=		corelib dbus gui network svg xml \
Index: mail/kshowmail/Makefile
===================================================================
--- mail/kshowmail/Makefile
+++ mail/kshowmail/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 USES=		cmake gettext kde:4 perl5 qt:4
 USE_KDE=	automoc4 kdelibs pimlibs
 USE_QT=		corelib dbus gui network svg xml \
Index: mail/qgmailnotifier/Makefile
===================================================================
--- mail/qgmailnotifier/Makefile
+++ mail/qgmailnotifier/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	crees@FreeBSD.org
 COMMENT=	Portable Qt 4 based GMail notifier
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4 tar:tgz
 USE_QT=		moc_build uic_build gui network xml rcc_build
 USE_GITHUB=	yes
Index: math/abakus/Makefile
===================================================================
--- math/abakus/Makefile
+++ math/abakus/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 BUILD_DEPENDS=	${LOCALBASE}/bin/flex:textproc/flex
 LIB_DEPENDS=	libmpfr.so:math/mpfr
 
Index: math/acalc/Makefile
===================================================================
--- math/acalc/Makefile
+++ math/acalc/Makefile
@@ -10,6 +10,9 @@
 
 LICENSE=	BSD4CLAUSE
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BROKEN_powerpc64=	fails to compile: cc1plus: unrecognized command line option "-std=c++11"
 
 USE_GITHUB=	yes
Index: math/plplot/Makefile
===================================================================
--- math/plplot/Makefile
+++ math/plplot/Makefile
@@ -108,6 +108,13 @@
 X11_USE=		XORG=ice,sm,x11,xext
 X11_CMAKE_BOOL=		PLD_xcairo PLD_xwin
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-patch:
 	${REINPLACE_CMD} -e \
 		's|dl dlopen|c dlopen|' \
Index: math/py-matplotlib/Makefile
===================================================================
--- math/py-matplotlib/Makefile
+++ math/py-matplotlib/Makefile
@@ -84,6 +84,12 @@
 WXAGGBACKEND_BUILD_DEPENDS=	Xvfb:x11-servers/xorg-vfbserver
 .endif
 
+.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MQT4AGG_BACKEND}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-extract:
 	${FIND} ${WRKSRC} -name \*.py | ${XARGS} ${CHMOD} -x
 
Index: math/qtiplot/Makefile
===================================================================
--- math/qtiplot/Makefile
+++ math/qtiplot/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	makc@FreeBSD.org
 COMMENT=	Data analysis and scientific plotting
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libgsl.so:math/gsl \
 		libmuparser.so:math/muparser \
 		libpng.so:graphics/png
Index: math/qtoctave/Makefile
===================================================================
--- math/qtoctave/Makefile
+++ math/qtoctave/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Qt 4 frontend for Octave
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 RUN_DEPENDS=	octave:math/octave
 
 USE_QT=		designer gui network script svg xml \
Index: math/qwtplot3d-qt4/Makefile
===================================================================
--- math/qwtplot3d-qt4/Makefile
+++ math/qwtplot3d-qt4/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	3D plotting widgets for scientific data and math expressions
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		dos2unix qmake qt:4 tar:tgz
 USE_QT=		gui moc_build opengl
 USE_GL=		glu
Index: math/vtk6/Makefile
===================================================================
--- math/vtk6/Makefile
+++ math/vtk6/Makefile
@@ -126,6 +126,9 @@
 .endif
 
 .if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES+=		qt:4
 USE_QT=		gui_build gui_run network_build network_run sql_build sql_run \
 		moc_build uic_build qmake_build rcc_build opengl webkit_build \
Index: math/vtk8/Makefile
===================================================================
--- math/vtk8/Makefile
+++ math/vtk8/Makefile
@@ -107,6 +107,11 @@
 
 .include <bsd.port.options.mk>
 
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 .for g in ${VTK_GROUPS}
 .  if ${PORT_OPTIONS:M${g}}
 CMAKE_ARGS+=	-DVTK_Group_${g}:BOOL=ON
Index: misc/kde-thumbnailer-chm-kde4/Makefile
===================================================================
--- misc/kde-thumbnailer-chm-kde4/Makefile
+++ misc/kde-thumbnailer-chm-kde4/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	KDE thumbnail generator for CHM files
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 LIB_DEPENDS=	libchm.so:misc/chmlib
 
 USES=		cmake kde:4 qt:4
Index: misc/kde-thumbnailer-epub-kde4/Makefile
===================================================================
--- misc/kde-thumbnailer-epub-kde4/Makefile
+++ misc/kde-thumbnailer-epub-kde4/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	KDE thumbnail generator for ePub files
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 PORTSCOUT=	limit:^1\.0
 
 USES=		cmake:outsource kde:4 qt:4
Index: misc/kde-thumbnailer-fb2-kde4/Makefile
===================================================================
--- misc/kde-thumbnailer-fb2-kde4/Makefile
+++ misc/kde-thumbnailer-fb2-kde4/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	KDE thumbnail generator for fb2 files
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 USES=		cmake:outsource kde:4 qt:4
 USE_KDE=	kdelibs automoc4
 USE_QT=		moc_build qmake_build rcc_build uic_build
Index: misc/py-qt4-demo/Makefile
===================================================================
--- misc/py-qt4-demo/Makefile
+++ misc/py-qt4-demo/Makefile
@@ -13,6 +13,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Python bindings for the Qt4 toolkit, Qt demo and examples
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 DISTINFO_FILE=	${PYQT4_DISTINFO_FILE}
 
 NO_BUILD=	yes
Index: misc/py-qt4-doc/Makefile
===================================================================
--- misc/py-qt4-doc/Makefile
+++ misc/py-qt4-doc/Makefile
@@ -12,6 +12,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Python bindings for the Qt4 toolkit, documentation
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 DISTINFO_FILE=	${PYQT4_DISTINFO_FILE}
 NO_BUILD=	yes
 
Index: misc/qmetro/Makefile
===================================================================
--- misc/qmetro/Makefile
+++ misc/qmetro/Makefile
@@ -11,6 +11,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		dos2unix qmake qt:4 zip
 INSTALLS_ICONS=	yes
 USE_QT=		gui xml uic_build moc_build multimedia \
Index: misc/qt4-doc/Makefile
===================================================================
--- misc/qt4-doc/Makefile
+++ misc/qt4-doc/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt documentation
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_configure qt-dist:4
 NO_BUILD=	yes
 
Index: misc/qt4-l10n/Makefile
===================================================================
--- misc/qt4-l10n/Makefile
+++ misc/qt4-l10n/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt localized messages
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_configure qt-dist:4
 USE_QT=		linguisttools_build
 
Index: misc/qt4-qtconfig/Makefile
===================================================================
--- misc/qt4-qtconfig/Makefile
+++ misc/qt4-qtconfig/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt 4 graphical configuration utility
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		pkgconfig qmake:no_env qt-dist:4
 USE_QT=		moc_build rcc_build uic_build \
 		corelib dbus gui xml
Index: misc/qt4-qtdemo/Makefile
===================================================================
--- misc/qt4-qtdemo/Makefile
+++ misc/qt4-qtdemo/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt 4 demonstration and example applications
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		pkgconfig qmake:no_env qt-dist:4
 USE_GSTREAMER=	yes
 USE_QT=		moc_build rcc_build uic_build corelib designer \
Index: misc/saaghar/Makefile
===================================================================
--- misc/saaghar/Makefile
+++ misc/saaghar/Makefile
@@ -17,6 +17,9 @@
 
 BROKEN=		fails to build
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 EXTRACT_DEPENDS=	${LOCALBASE}/bin/unzip:archivers/unzip
 
 OPTIONS_DEFINE=	DEBUG
Index: multimedia/2mandvd/Makefile
===================================================================
--- multimedia/2mandvd/Makefile
+++ multimedia/2mandvd/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg
 RUN_DEPENDS=	sox:audio/sox \
 		notify-send:devel/libnotify \
Index: multimedia/abby/Makefile
===================================================================
--- multimedia/abby/Makefile
+++ multimedia/abby/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4 tar:bzip2
 USE_QT=		gui network xml moc_build rcc_build uic_build
 
Index: multimedia/avidemux/Makefile
===================================================================
--- multimedia/avidemux/Makefile
+++ multimedia/avidemux/Makefile
@@ -6,7 +6,7 @@
 
 PORTNAME=	avidemux
 PORTVERSION=	${AVIDEMUX_VERSION}
-PORTREVISION=	11
+PORTREVISION=	12
 CATEGORIES=	multimedia
 
 MAINTAINER=	multimedia@FreeBSD.org
@@ -22,6 +22,9 @@
 PLIST_FILES+=	${DESKTOPDIR}/${PORTNAME}.desktop
 .endif
 .if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 PLIST_FILES+=	${DESKTOPDIR}/${PORTNAME}_qt4.desktop
 .endif
 
Index: multimedia/avidemux/Makefile.common
===================================================================
--- multimedia/avidemux/Makefile.common
+++ multimedia/avidemux/Makefile.common
@@ -36,7 +36,7 @@
 OPTIONS_DEFINE=	QT4 CLI FREETYPE FONTCONFIG OSS ESOUND JACK \
 		PULSEAUDIO XVIDEO FAAC FRIBIDI OPUS TWOLAME \
 		FAAD X264 X265 VPX XVID SDL AMR VORBIS NLS LAME VAAPI VDPAU
-OPTIONS_DEFAULT=	QT4 FREETYPE FONTCONFIG OSS XVIDEO VPX XVID \
+OPTIONS_DEFAULT=	FREETYPE FONTCONFIG OSS XVIDEO VPX XVID \
 			SDL FAAD VDPAU VORBIS
 OPTIONS_SUB=	yes
 CLI_DESC=	Build CLI tool
Index: multimedia/clipgrab/Makefile
===================================================================
--- multimedia/clipgrab/Makefile
+++ multimedia/clipgrab/Makefile
@@ -11,6 +11,9 @@
 
 LICENSE=	GPLv3
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4 tar:bzip2
 USE_QT=		gui xml uic_build moc_build \
 		rcc_build network dbus webkit
Index: multimedia/dvbcut/Makefile
===================================================================
--- multimedia/dvbcut/Makefile
+++ multimedia/dvbcut/Makefile
@@ -44,6 +44,13 @@
 QT5_USES=	qt:5
 QT5_USE=	QT=core,gui,widgets,xml,buildtools_build,linguisttools_build GL=gl
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-build:
 		@${SED} -e 's;@prefix@;${PREFIX};' \
 			< ${WRKSRC}/dvbcut.desktop.in \
Index: multimedia/gstreamer-qt4/Makefile
===================================================================
--- multimedia/gstreamer-qt4/Makefile
+++ multimedia/gstreamer-qt4/Makefile
@@ -15,6 +15,9 @@
 LICENSE=	LGPL21+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libboost_thread.so:devel/boost-libs
 
 USES=		bison cmake:noninja gmake kde:4 pathfix pkgconfig qt:4 tar:bzip2
Index: multimedia/gstreamer1-qt/Makefile
===================================================================
--- multimedia/gstreamer1-qt/Makefile
+++ multimedia/gstreamer1-qt/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	gstreamer1
 PORTVERSION=	1.2.0
-PORTREVISION=	14
+PORTREVISION=	15
 CATEGORIES=	multimedia
 MASTER_SITES=	http://gstreamer.freedesktop.org/src/qt-gstreamer/
 PKGNAMESUFFIX=	-${FLAVOR}
@@ -15,7 +15,10 @@
 		libgstreamer-1.0.so:multimedia/gstreamer1
 
 FLAVORS=	qt4 qt5
-FLAVOR?=	${FLAVORS:[1]}
+FLAVOR?=	${FLAVORS:[2]}
+
+qt4_DEPRECATED=		Qt4 has been EOL since december 2015
+qt4_EXPIRATION_DATE=	2019-03-15
 
 CONFLICTS_INSTALL=	gstreamer${PKGNAMESUFFIX}-*
 
Index: multimedia/k9copy-kde4/Makefile
===================================================================
--- multimedia/k9copy-kde4/Makefile
+++ multimedia/k9copy-kde4/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 LIB_DEPENDS=	libxine.so:multimedia/libxine \
 		libmpeg2.so:multimedia/libmpeg2 \
 		libavcodec0.so:multimedia/ffmpeg0
Index: multimedia/kaffeine/Makefile
===================================================================
--- multimedia/kaffeine/Makefile
+++ multimedia/kaffeine/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 BUILD_DEPENDS=	v4l_compat>0:multimedia/v4l_compat
 LIB_DEPENDS=	libvlc.so:multimedia/vlc-qt4
 
Index: multimedia/mediadownloader/Makefile
===================================================================
--- multimedia/mediadownloader/Makefile
+++ multimedia/mediadownloader/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	GPLv3
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4
 USE_GL=		gl glu
 USE_XORG=	xtst
Index: multimedia/mlt-qt4/Makefile
===================================================================
--- multimedia/mlt-qt4/Makefile
+++ multimedia/mlt-qt4/Makefile
@@ -1,5 +1,8 @@
 # $FreeBSD$
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 PORTREVISION=	0
 
 CONFLICTS_INSTALL=	${PORTNAME}-qt5-*
Index: multimedia/phonon-designerplugin/Makefile
===================================================================
--- multimedia/phonon-designerplugin/Makefile
+++ multimedia/phonon-designerplugin/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	phonon
 DISTVERSION=	4.10.1
+PORTREVISION=	1
 CATEGORIES=	multimedia kde
 MASTER_SITES=	KDE/stable/${PORTNAME}/${DISTVERSION}
 DIST_SUBDIR=	KDE/phonon
@@ -12,10 +13,13 @@
 LICENSE=	LGPL21
 
 FLAVORS=	qt4 qt5
-FLAVOR?=	${FLAVORS:[1]}
+FLAVOR?=	${FLAVORS:[2]}
 
 qt4_PKGNAMESUFFIX=	-designerplugin-qt4
 qt5_PKGNAMESUFFIX=	-designerplugin-qt5
+
+qt4_DEPRECATED=		Qt4 has been EOL since december 2015
+qt4_EXPIRATION_DATE=	2019-03-15
 
 USES=		cmake tar:xz
 
Index: multimedia/phonon-gstreamer/Makefile
===================================================================
--- multimedia/phonon-gstreamer/Makefile
+++ multimedia/phonon-gstreamer/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	phonon
 PORTVERSION=	4.9.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	multimedia kde
 MASTER_SITES=	KDE/stable/${PORTNAME}/${PORTNAME}-backend-${PHONON_PLUGIN}/${DISTVERSION}
 DISTNAME=	${PORTNAME}-backend-${PHONON_PLUGIN}-${DISTVERSION}
@@ -15,12 +15,15 @@
 LICENSE=	LGPL21
 
 FLAVORS=	qt4 qt5
-FLAVOR?=	${FLAVORS:[1]}
+FLAVOR?=	${FLAVORS:[2]}
 
 qt4_PKGNAMESUFFIX=	-${PHONON_PLUGIN}-qt4
 qt5_PKGNAMESUFFIX=	-${PHONON_PLUGIN}-qt5
 qt4_PLIST=	${.CURDIR}/pkg-plist.qt4
 qt5_PLIST=	${.CURDIR}/pkg-plist.qt5
+
+qt4_DEPRECATED=		Qt4 has been EOL since december 2015
+qt4_EXPIRATION_DATE=	2019-03-15
 
 USES=		cmake pkgconfig tar:xz
 USE_GL=		gl
Index: multimedia/phonon-vlc/Makefile
===================================================================
--- multimedia/phonon-vlc/Makefile
+++ multimedia/phonon-vlc/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	phonon
 DISTVERSION=	0.10.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	multimedia kde
 MASTER_SITES=	KDE/stable/${PORTNAME}/${PORTNAME}-backend-${PHONON_PLUGIN}/${DISTVERSION}
 PKGNAMESUFFIX=	-${PHONON_PLUGIN}-${FLAVOR}
@@ -16,10 +16,13 @@
 LICENSE_FILE=	${WRKSRC}/COPYING.LIB
 
 FLAVORS=	qt4 qt5
-FLAVOR?=	${FLAVORS:[1]}
+FLAVOR?=	${FLAVORS:[2]}
 
 qt4_LIB_DEPENDS=	libvlc.so:multimedia/vlc-qt4
 qt5_LIB_DEPENDS=	libvlc.so:multimedia/vlc
+
+qt4_DEPRECATED=		Qt4 has been EOL since december 2015
+qt4_EXPIRATION_DATE=	2019-03-15
 
 USES=		cmake:outsource pkgconfig tar:xz
 
Index: multimedia/phonon-xine/Makefile
===================================================================
--- multimedia/phonon-xine/Makefile
+++ multimedia/phonon-xine/Makefile
@@ -13,6 +13,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	The xine backend for Phonon
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libxine.so:multimedia/libxine
 
 USES=		cmake kde:4 pkgconfig qt:4 tar:bzip2
Index: multimedia/phonon/Makefile
===================================================================
--- multimedia/phonon/Makefile
+++ multimedia/phonon/Makefile
@@ -3,6 +3,7 @@
 
 PORTNAME=	phonon
 DISTVERSION=	4.10.1
+PORTREVISION=	1
 CATEGORIES=	multimedia kde
 MASTER_SITES=	KDE/stable/${PORTNAME}/${DISTVERSION}
 DIST_SUBDIR=	KDE/phonon
@@ -14,13 +15,16 @@
 LICENSE_FILE=	${WRKSRC}/COPYING.LIB
 
 FLAVORS=	qt4 qt5
-FLAVOR?=	${FLAVORS:[1]}
+FLAVOR?=	${FLAVORS:[2]}
 
 qt4_LIB_DEPENDS=	libqzeitgeist.so:sysutils/qzeitgeist
 qt4_PKGNAMESUFFIX=	-qt4
 qt5_PKGNAMESUFFIX=	-qt5
 qt4_PLIST=	${.CURDIR}/pkg-plist.qt4
 qt5_PLIST=	${.CURDIR}/pkg-plist.qt5
+
+qt4_DEPRECATED=		Qt4 has been EOL since december 2015
+qt4_EXPIRATION_DATE=	2019-03-15
 
 USES=		cmake compiler:c++11-lang pathfix tar:xz
 CMAKE_ON=	PHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT \
Index: multimedia/py-qt4-multimedia/Makefile
===================================================================
--- multimedia/py-qt4-multimedia/Makefile
+++ multimedia/py-qt4-multimedia/Makefile
@@ -8,6 +8,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Python bindings for the Qt4 toolkit, Multimedia module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 CONFIGURE_ARGS=	--enable QtMultimedia
 PYQT_DIST=	yes
 
Index: multimedia/py-qt4-phonon/Makefile
===================================================================
--- multimedia/py-qt4-phonon/Makefile
+++ multimedia/py-qt4-phonon/Makefile
@@ -7,6 +7,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Python bindings for the Qt4 toolkit, Phonon module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 CONFIGURE_ARGS=	--enable phonon
 PYQT_DIST=	yes
 
Index: multimedia/qmmp-plugin-pack/Makefile
===================================================================
--- multimedia/qmmp-plugin-pack/Makefile
+++ multimedia/qmmp-plugin-pack/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libqmmpui.so:multimedia/qmmp
 BUILD_DEPENDS=	qmmp>=0.11.0:multimedia/qmmp
 
Index: multimedia/qmmp/Makefile
===================================================================
--- multimedia/qmmp/Makefile
+++ multimedia/qmmp/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	qmmp
 PORTVERSION=	0.11.0
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	multimedia
 MASTER_SITES=	http://qmmp.ylsoftware.com/files/ \
 	SF/qmmp-dev/${PORTNAME}/
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 CONFLICTS=	${PORTNAME}-qt5-1.*
 PORTSCOUT=	limit:^0.*
 
@@ -61,7 +64,7 @@
 		CROSSFADE CUE CURL DIR_ASSOC ENCA FAAD FFMPEG FILEOPS FILEWRITER FLAC \
 		GNOMEHOTKEY GME HAL HOTKEY JACK KDENOTIFY LADSPA LYRICS MAD \
 		MMS MODPLUG MPRIS MPLAYER MUSEPACK NOTIFIER NULLOUT \
-		OPUS OSS4 PROJECTM PULSEAUDIO QMMP_DIALOG QSUI QTMULTIMEDIA RGSCAN \
+		OPUS OSS4 PROJECTM PULSEAUDIO QMMP_DIALOG QSUI RGSCAN \
 		SHOUTCAST SB SCROBBLER SID SKINNEDUI SNDFILE SOXR STATICON STEREO \
 		TRACKCHANGE TWOPANELDIALOG UDISKS2 VORBIS WAVPACK WILDMIDI
 
Index: multimedia/qt4-mobility/Makefile
===================================================================
--- multimedia/qt4-mobility/Makefile
+++ multimedia/qt4-mobility/Makefile
@@ -15,6 +15,9 @@
 
 LICENSE=	LGPL21
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libblkid.so:misc/e2fsprogs-libblkid
 
 DATE=	20130703
Index: multimedia/qt4-multimedia/Makefile
===================================================================
--- multimedia/qt4-multimedia/Makefile
+++ multimedia/qt4-multimedia/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt low-level multimedia API
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		moc_build uic_build corelib gui
 
Index: multimedia/smplayer/Makefile
===================================================================
--- multimedia/smplayer/Makefile
+++ multimedia/smplayer/Makefile
@@ -63,6 +63,13 @@
 
 SUB_FILES=	pkg-message
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|&& $$(QMAKE) $$(QMAKE_OPTS)||; \
 		s|lrelease|${LRELEASE}|; \
Index: multimedia/smtube/Makefile
===================================================================
--- multimedia/smtube/Makefile
+++ multimedia/smtube/Makefile
@@ -48,6 +48,13 @@
 SMPLAYER_RUN_DEPENDS=		smplayer:multimedia/smplayer
 VLC_RUN_DEPENDS=		vlc:multimedia/vlc
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} 's|$$(QMAKE_OPTS)|${QMAKE_ARGS:S,\$,\$\$,g}|' \
 		${WRKSRC}/Makefile
Index: multimedia/umplayer/Makefile
===================================================================
--- multimedia/umplayer/Makefile
+++ multimedia/umplayer/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/Copying.txt
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 RUN_DEPENDS=	mplayer:multimedia/mplayer
 
 USES=		desktop-file-utils gmake qmake qt:4 tar:xz
Index: net-im/hotot/Makefile
===================================================================
--- net-im/hotot/Makefile
+++ net-im/hotot/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	hotot
 PORTVERSION=	0.9.8.14
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	net-im www
 
 MAINTAINER=	danfe@FreeBSD.org
@@ -15,7 +15,7 @@
 GH_ACCOUNT=	lyricat
 GH_PROJECT=	Hotot
 
-USES=		cmake gettext kde:4 python:2.7 qt:4
+USES=		cmake gettext python:2.7
 USE_GNOME=	intltool
 INSTALLS_ICONS=	yes
 
@@ -23,7 +23,7 @@
 LDFLAGS+=	-L${LOCALBASE}/lib -lintl
 
 OPTIONS_DEFINE=	GTK2 QT4 KDE4
-OPTIONS_DEFAULT=	GTK2 QT4
+OPTIONS_DEFAULT=	GTK2
 KDE4_DESC=	KDE 4 integration (implies Qt 4)
 
 .include <bsd.port.options.mk>
@@ -38,6 +38,9 @@
 .endif
 
 .if ${PORT_OPTIONS:MQT4} || ${PORT_OPTIONS:MKDE4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+USES+=		kde:4 qt:4
 USE_QT=		moc_build qmake_build rcc_build uic_build \
 		corelib gui sql webkit
 PLIST_SUB+=	QT4=""
Index: net-im/kmess-kde4/Makefile
===================================================================
--- net-im/kmess-kde4/Makefile
+++ net-im/kmess-kde4/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	syncer@gmail.com
 COMMENT=	MSN Messenger client for KDE
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 LIB_DEPENDS=	libqca.so:devel/qca@qt4 \
 		libgif.so:graphics/giflib
 
Index: net-im/libjreen/Makefile
===================================================================
--- net-im/libjreen/Makefile
+++ net-im/libjreen/Makefile
@@ -11,6 +11,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libqca.so:devel/qca@qt4 \
 		libspeex.so:audio/speex
 
Index: net-im/licq-qt-gui/Makefile
===================================================================
--- net-im/licq-qt-gui/Makefile
+++ net-im/licq-qt-gui/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libboost_regex.so:devel/boost-libs
 RUN_DEPENDS=	${LOCALBASE}/lib/licq/protocol_icq.so:${LICQ_PORT}-icq
 
Index: net-im/psimedia/Makefile
===================================================================
--- net-im/psimedia/Makefile
+++ net-im/psimedia/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Voice and video API for Psi-like IM clients
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	liboil-0.3.so:devel/liboil \
 		libspeexdsp.so:audio/speexdsp
 
Index: net-im/qxmpp/Makefile
===================================================================
--- net-im/qxmpp/Makefile
+++ net-im/qxmpp/Makefile
@@ -20,6 +20,9 @@
 USE_QT=		core gui network xml buildtools_build
 PLIST_SUB=	QDNS="@comment "
 .else
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES+=		qt:4
 USE_QT=		corelib gui network qtestlib xml uic_build moc_build \
 		rcc_build
Index: net-im/ramblercontacts/Makefile
===================================================================
--- net-im/ramblercontacts/Makefile
+++ net-im/ramblercontacts/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	GPLv3
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake dos2unix qt:4
 DOS2UNIX_GLOB=	*
 USE_XORG=	xscrnsaver
Index: net-im/telepathy-logger-qt4/Makefile
===================================================================
--- net-im/telepathy-logger-qt4/Makefile
+++ net-im/telepathy-logger-qt4/Makefile
@@ -11,6 +11,9 @@
 
 LICENSE=	LGPL21
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libdbus-1.so:devel/dbus \
 		libdbus-glib-1.so:devel/dbus-glib \
 		libtelepathy-glib.so:net-im/telepathy-glib \
Index: net-im/telepathy-qt/Makefile
===================================================================
--- net-im/telepathy-qt/Makefile
+++ net-im/telepathy-qt/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	telepathy-qt
 PORTVERSION=	0.9.7
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net-im
 MASTER_SITES=	https://telepathy.freedesktop.org/releases/${PORTNAME}/
 
@@ -18,10 +18,12 @@
 RUN_DEPENDS=	${PYTHON_SITELIBDIR}/_dbus_bindings.so:devel/py-dbus@${PY_FLAVOR}
 
 FLAVORS=	qt4 qt5
-FLAVOR?=	${FLAVORS:[1]}
+FLAVOR?=	${FLAVORS:[2]}
 qt4_PKGNAMESUFFIX=	4
 qt5_PKGNAMESUFFIX=	5
 
+qt4_DEPRECATED=		Qt4 has been EOL since december 2015
+qt4_EXPIRATION_DATE=	2019-03-15
 
 USES=		cmake:outsource gettext gnome localbase:ldflags pathfix pkgconfig python:2.7,build
 USE_GNOME=	glib20 libxslt:build
Index: net-im/turpial/Makefile
===================================================================
--- net-im/turpial/Makefile
+++ net-im/turpial/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv3
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Babel>=1.3:devel/py-babel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}notify>=0.1.1:devel/py-notify@${PY_FLAVOR} \
 	${PYTHON_PKGNAMEPREFIX}setproctitle>=1.1.7:devel/py-setproctitle@${PY_FLAVOR} \
Index: net-im/vacuum-im/Makefile
===================================================================
--- net-im/vacuum-im/Makefile
+++ net-im/vacuum-im/Makefile
@@ -12,6 +12,9 @@
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	Vacuum-IM
 GH_PROJECT=	${PORTNAME}${PKGNAMESUFFIX}
Index: net-mgmt/nagiosagent/Makefile
===================================================================
--- net-mgmt/nagiosagent/Makefile
+++ net-mgmt/nagiosagent/Makefile
@@ -12,6 +12,9 @@
 MAINTAINER=	myc@barev.net
 COMMENT=	Qt-based frontend to Nagios
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 PLIST_FILES=	bin/NagiosAgent \
 		share/pixmaps/NagiosAgent.png
 
Index: net-mgmt/qkismet/Makefile
===================================================================
--- net-mgmt/qkismet/Makefile
+++ net-mgmt/qkismet/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Qt 4 GUI client for Kismet
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 RUN_DEPENDS=	kismet:net-mgmt/kismet
 
 USES=		qmake qt:4 tar:bzip2
Index: net-p2p/amule-devel/Makefile
===================================================================
--- net-p2p/amule-devel/Makefile
+++ net-p2p/amule-devel/Makefile
@@ -111,6 +111,11 @@
 
 .include <bsd.port.options.mk>
 
+.if ${PORT_OPTIONS:MPLASMAMULE}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+.endif
+
 .if ${PORT_OPTIONS:MED2K}
 CONFLICTS+=		ed2k-hash*
 .endif
Index: net-p2p/amule/Makefile
===================================================================
--- net-p2p/amule/Makefile
+++ net-p2p/amule/Makefile
@@ -107,6 +107,11 @@
 
 .include <bsd.port.options.mk>
 
+.if ${PORT_OPTIONS:MPLASMA_MULE}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+.endif
+
 .if ${PORT_OPTIONS:MED2K}
 CONFLICTS+=		ed2k-hash*
 .endif
Index: net-p2p/bitmessage/Makefile
===================================================================
--- net-p2p/bitmessage/Makefile
+++ net-p2p/bitmessage/Makefile
@@ -12,6 +12,9 @@
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}qt4-core>=${PYQT4_VERSION}:devel/py-qt4-core@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}qt4-network>=${PYQT4_VERSION}:net/py-qt4-network@${PY_FLAVOR} \
Index: net-p2p/eiskaltdcpp-qt/Makefile
===================================================================
--- net-p2p/eiskaltdcpp-qt/Makefile
+++ net-p2p/eiskaltdcpp-qt/Makefile
@@ -11,6 +11,9 @@
 
 LICENSE=	GPLv3
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 RUN_DEPENDS=	eiskaltdcpp-data>=0:net-p2p/eiskaltdcpp-data
 LIB_DEPENDS=	libeiskaltdcpp.so:net-p2p/eiskaltdcpp-lib
 
Index: net-p2p/torrent-file-editor/Makefile
===================================================================
--- net-p2p/torrent-file-editor/Makefile
+++ net-p2p/torrent-file-editor/Makefile
@@ -33,4 +33,11 @@
 QT5_LIB_DEPENDS_OFF=	libqjson.so:devel/qjson@qt4
 QT5_CMAKE_BOOL=	QT5_BUILD
 
+.include <bsd.port.options.mk>
+
+.if ! ${PORT_OPTIONS:MQT5}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 .include <bsd.port.mk>
Index: net-p2p/transmission-qt/Makefile
===================================================================
--- net-p2p/transmission-qt/Makefile
+++ net-p2p/transmission-qt/Makefile
@@ -1,16 +1,19 @@
 # $FreeBSD$
 
-PORTREVISION=	1
+PORTREVISION=	2
 PKGNAMESUFFIX=	-${FLAVOR}
 
 LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
 		libfreetype.so:print/freetype2
 
 FLAVORS=	qt4 qt5
-FLAVOR?=	${FLAVORS:[1]}
+FLAVOR?=	${FLAVORS:[2]}
 
 qt4_CONFLICTS_INSTALL=	transmission-qt5
 qt5_CONFLICTS_INSTALL=	transmission-qt4
+
+qt4_DEPRECATED=		Qt4 has been EOL since december 2015
+qt4_EXPIRATION_DATE=	2019-03-15
 
 .if ${FLAVOR} == qt4
 USES=		qt:4
Index: net-p2p/valknut/Makefile
===================================================================
--- net-p2p/valknut/Makefile
+++ net-p2p/valknut/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libdc.so:net-p2p/dclib \
 		libxml2.so:textproc/libxml2
 
Index: net-p2p/zetacoin/Makefile
===================================================================
--- net-p2p/zetacoin/Makefile
+++ net-p2p/zetacoin/Makefile
@@ -4,7 +4,7 @@
 PORTNAME=	zetacoin
 PORTVERSION=	0.11.2.3
 DISTVERSIONPREFIX=	v
-PORTREVISION=	21
+PORTREVISION=	22
 CATEGORIES=	net-p2p finance
 
 MAINTAINER=	daniel@morante.net
@@ -30,7 +30,7 @@
 QRCODES_DESC=	Enable QR code display when building graphical interface
 CLI_DESC=		Build command line RPC client
 
-OPTIONS_DEFAULT=	X11 WALLET QRCODES
+OPTIONS_DEFAULT=	WALLET
 OPTIONS_GROUP=		X11
 OPTIONS_GROUP_X11=	QRCODES
 
@@ -89,6 +89,9 @@
 SUB_FILES=	pkg-message
 USERS=		${PORTNAME}
 GROUPS=		${PORTNAME}
+.else
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
 .endif
 
 .include <bsd.port.pre.mk>
Index: net/avahi-qt4/Makefile
===================================================================
--- net/avahi-qt4/Makefile
+++ net/avahi-qt4/Makefile
@@ -8,6 +8,9 @@
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Qt 4 bindings to the Avahi mDNS system
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libavahi-common.so:net/avahi-app
 
 MASTERDIR=	${.CURDIR}/../avahi-app
Index: net/cagibi/Makefile
===================================================================
--- net/cagibi/Makefile
+++ net/cagibi/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	KDE SSDP/uPNP proxy
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		cmake kde:4 qt:4 tar:bzip2
 USE_KDE=	automoc4
 USE_QT=		corelib network xml dbus \
Index: net/hupnp/Makefile
===================================================================
--- net/hupnp/Makefile
+++ net/hupnp/Makefile
@@ -14,6 +14,9 @@
 LICENSE=	LGPL3+
 LICENSE_FILE=	${WRKSRC}/hupnp/LICENSE_LGPLv3.txt
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		gmake qmake qt:4 zip
 USE_QT=		corelib network xml dbus gui \
 		moc_build rcc_build uic_build
Index: net/kio-upnp-ms/Makefile
===================================================================
--- net/kio-upnp-ms/Makefile
+++ net/kio-upnp-ms/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	KIO slave to access UPnP MediaServers
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 LIB_DEPENDS=	libHUpnp.so:net/hupnp
 
 USES=		cmake kde:4 qt:4 tar:bzip2
Index: net/kwooty/Makefile
===================================================================
--- net/kwooty/Makefile
+++ net/kwooty/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	syncer@gmail.com
 COMMENT=	Usenet binary downloader for KDE4
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 RUN_DEPENDS=	${LOCALBASE}/bin/unrar:archivers/unrar \
 		${LOCALBASE}/bin/par2:archivers/par2cmdline \
 		${LOCALBASE}/bin/7z:archivers/p7zip
Index: net/libkfbapi/Makefile
===================================================================
--- net/libkfbapi/Makefile
+++ net/libkfbapi/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	LGPL20
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 LIB_DEPENDS=	libqjson.so:devel/qjson@qt4
 
 USES=		cmake:outsource gettext kde:4 qt:4 tar:bzip2
Index: net/ostinato/Makefile
===================================================================
--- net/ostinato/Makefile
+++ net/ostinato/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	GPLv3
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libprotobuf.so:devel/protobuf
 
 USES=		compiler:c++11-lang qmake qt:4
Index: net/py-qt4-network/Makefile
===================================================================
--- net/py-qt4-network/Makefile
+++ net/py-qt4-network/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Python bindings for the Qt4 toolkit, QtNetwork module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 CONFIGURE_ARGS=	--enable QtNetwork
 PYQT_DIST=	yes
 
Index: net/qjsonrpc/Makefile
===================================================================
--- net/qjsonrpc/Makefile
+++ net/qjsonrpc/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	LGPL21
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4
 USE_QT=		moc_build network qtestlib_build rcc_build
 USE_LDCONFIG=	yes
Index: net/qoauth/Makefile
===================================================================
--- net/qoauth/Makefile
+++ net/qoauth/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	LGPL21+
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libqca.so:devel/qca@qt4
 
 USES=		qmake:outsource qt:4
Index: net/qt4-network/Makefile
===================================================================
--- net/qt4-network/Makefile
+++ net/qt4-network/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt network module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LICENSE=	GPLv3 LGPL21 LGPL3 GFDL
 LICENSE_COMB=	dual
 
Index: net/qtweetlib/Makefile
===================================================================
--- net/qtweetlib/Makefile
+++ net/qtweetlib/Makefile
@@ -11,6 +11,9 @@
 
 LICENSE=	LGPL21
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libqjson.so:devel/qjson@qt4
 
 GH_ACCOUNT=	minimoog
Index: net/quiterss/Makefile
===================================================================
--- net/quiterss/Makefile
+++ net/quiterss/Makefile
@@ -30,6 +30,13 @@
 QT5_USE=	QT=buildtools_build,linguisttools_build,core,xml,gui,widgets
 QT5_USE+=	QT=network,multimedia,printsupport,webkit,sql,sql-sqlite3_run
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-patch-DEBUG-on:
 	@${REINPLACE_CMD} 's|debug_and_release|debug|' \
 		${WRKSRC}/QuiteRSS.pro
Index: net/rsplib/Makefile
===================================================================
--- net/rsplib/Makefile
+++ net/rsplib/Makefile
@@ -14,6 +14,9 @@
 
 BROKEN=		fails to compile: fractalgeneratorservice.cc:353:12: expected unqualified-id
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-maintainer-mode \
 		--enable-qt --with-qt-lib=${QT_LIBDIR} \
Index: net/smb4k-kde4/Makefile
===================================================================
--- net/smb4k-kde4/Makefile
+++ net/smb4k-kde4/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	jpaetzel@FreeBSD.org
 COMMENT=	KDE 4.x SMB Network browser and SMB shares mounting center
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 RUN_DEPENDS=	sudo:security/sudo
 
 USES=		cmake gettext kde:4 qt:4 samba:run tar:bzip2
Index: net/x2goclient/Makefile
===================================================================
--- net/x2goclient/Makefile
+++ net/x2goclient/Makefile
@@ -12,6 +12,11 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+BROKEN=		fails to build
+
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 # Avoid clash with libssh from base
 BUILD_DEPENDS=	${LOCALBASE}/lib/libssh.so:security/libssh
 LIB_DEPENDS=	libcups.so:print/cups \
Index: polish/qfaktury/Makefile
===================================================================
--- polish/qfaktury/Makefile
+++ polish/qfaktury/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	meritus@innervision.pl
 COMMENT=	Polish invoicing desktop program
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4
 USE_QT=		uic_build moc_build rcc_build corelib gui xml qt3support
 
Index: ports-mgmt/packagekit/Makefile
===================================================================
--- ports-mgmt/packagekit/Makefile
+++ ports-mgmt/packagekit/Makefile
@@ -75,6 +75,9 @@
 CONFIGURE_ARGS+=--disable-qt
 
 .elif defined(${SLAVEPORT}) && ${SLAVEPORT}=="qt4"
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS+=	libpackagekit-glib2.so:ports-mgmt/packagekit
 
 CONFIGURE_ARGS+=--enable-qt
Index: print/hplip/Makefile
===================================================================
--- print/hplip/Makefile
+++ print/hplip/Makefile
@@ -71,6 +71,9 @@
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MQT4} && ${PORT_OPTIONS:MX11}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES+=			pyqt:4
 USE_PYQT=		core_run dbussupport_run gui_run sip
 CONFIGURE_ARGS+=	--enable-qt4
Index: print/kover/Makefile
===================================================================
--- print/kover/Makefile
+++ print/kover/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 LIB_DEPENDS=	libcddb.so:audio/libcddb \
 		libcdio.so:sysutils/libcdio
 
Index: print/kpdftool/Makefile
===================================================================
--- print/kpdftool/Makefile
+++ print/kpdftool/Makefile
@@ -11,7 +11,10 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Simple utility to manipulate PS and PDF files
 
-RUN_DEPENDS=	convert:graphics/ImageMagick6
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
+RUN_DEPENDS=	convert:graphics/ImageMagick
 
 USE_QT=		qt3support moc_build porting_build uic3_build
 USES=		ghostscript:run qmake qt:4 zip
Index: print/qpdfview/Makefile
===================================================================
--- print/qpdfview/Makefile
+++ print/qpdfview/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	qpdfview
 DISTVERSION=	0.4.17beta1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	print
 MASTER_SITES=	https://launchpadlibrarian.net/294276875/ \
 		https://launchpad.net/${PORTNAME}/trunk/${DISTVERSION}/+download/
@@ -26,7 +26,7 @@
 OPTIONS_MULTI=	BACKEND
 OPTIONS_MULTI_BACKEND=	DJVU PS
 BACKEND_DESC=	Additional documents support
-OPTIONS_DEFAULT=	QT4 CUPS PS
+OPTIONS_DEFAULT=	QT5 CUPS PS
 OPTIONS_SUB=	yes
 
 CUPS_QMAKE_OFF=	"CONFIG+=without_cups"
@@ -45,6 +45,13 @@
 
 PS_LIB_DEPENDS=	libspectre.so:print/libspectre
 PS_QMAKE_OFF=	"CONFIG+=without_ps"
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
 
 pre-configure:
 	${REINPLACE_CMD} -e 's#/usr#${PREFIX}#g;s#${PREFIX}/share/man#${PREFIX}/man#g' \
Index: print/scribus/Makefile
===================================================================
--- print/scribus/Makefile
+++ print/scribus/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	GPLv2+
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BROKEN_armv6=		fails to build: scribus.cpp:6711:36: assigning to 'double *' from incompatible type 'qreal *'
 BROKEN_armv7=		fails to build: scribus.cpp:6711:36: assigning to 'double *' from incompatible type 'qreal *'
 
Index: science/MOOSE-neural-simulator/Makefile
===================================================================
--- science/MOOSE-neural-simulator/Makefile
+++ science/MOOSE-neural-simulator/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENCE
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libgsl.so:math/gsl \
 		libhdf5.so:science/hdf5 \
 		libsbml.so:biology/libsbml \
Index: science/avogadro/Makefile
===================================================================
--- science/avogadro/Makefile
+++ science/avogadro/Makefile
@@ -12,6 +12,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 CONFLICTS_INSTALL=	libmsym
 
 BROKEN_armv6=		fails to compile: eigen2/Eigen/src/Core/Assign.h: you mixed different numeric types in 'Eigen::ei_static_assert<false>'
Index: science/kst2/Makefile
===================================================================
--- science/kst2/Makefile
+++ science/kst2/Makefile
@@ -66,4 +66,11 @@
 QT5_USE=	${_USE_QT5:S/^/QT=/}
 QT5_CMAKE_ON=	-Dkst_qt5=on
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 .include <bsd.port.mk>
Index: science/libgeodecomp/Makefile
===================================================================
--- science/libgeodecomp/Makefile
+++ science/libgeodecomp/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=		libgeodecomp
 PORTVERSION=		0.4.0
-PORTREVISION=		11
+PORTREVISION=		12
 CATEGORIES=		science devel
 MASTER_SITES=		http://www.libgeodecomp.org/archive/
 
@@ -25,7 +25,7 @@
 			-DWITH_OPENCV:BOOL=FALSE -DWITH_TYPEMAPS=FALSE
 
 OPTIONS_DEFINE=		MPI QT4 SILO SCOTCH
-OPTIONS_DEFAULT=	MPI QT4 SILO SCOTCH
+OPTIONS_DEFAULT=	MPI SILO SCOTCH
 
 MPI_LIB_DEPENDS=	libmpich.so:net/mpich2
 MPI_CMAKE_BOOL=		WITH_MPI
@@ -41,5 +41,12 @@
 SCOTCH_DESC=		Enable graph partitioning based on Scotch/Scotch-PT
 SCOTCH_BUILD_DEPENDS=	${LOCALBASE}/lib/libscotch.a:cad/scotch
 SCOTCH_CMAKE_BOOL=	WITH_SCOTCH
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
 
 .include <bsd.port.mk>
Index: science/massxpert/Makefile
===================================================================
--- science/massxpert/Makefile
+++ science/massxpert/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv3
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs
 LIB_DEPENDS=	libpcre.so:devel/pcre \
 		libpng.so:graphics/png \
Index: science/openstructure/Makefile
===================================================================
--- science/openstructure/Makefile
+++ science/openstructure/Makefile
@@ -12,6 +12,9 @@
 LICENSE=	LGPL3
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	fftw3>0:math/fftw3
 LIB_DEPENDS=	libboost_filesystem.so:devel/boost-libs \
 		libfftw3f.so:math/fftw3-float \
Index: science/py-veusz/Makefile
===================================================================
--- science/py-veusz/Makefile
+++ science/py-veusz/Makefile
@@ -14,6 +14,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	${RUN_DEPENDS}
 RUN_DEPENDS=	${PYNUMPY}
 
Index: science/qtresistors/Makefile
===================================================================
--- science/qtresistors/Makefile
+++ science/qtresistors/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Calculate resistance of resistor by the colors on the resistor
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4
 USE_QT=		gui uic_build moc_build
 
Index: science/silo/Makefile
===================================================================
--- science/silo/Makefile
+++ science/silo/Makefile
@@ -45,6 +45,13 @@
 QT4_DESKTOP_ENTRIES=		"Silex" "Silex browser for Silo files" \
 				"" "silex" "" true
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|\(_Qt_dir/include\)"|\1/qt4"| ; \
Index: security/fwbuilder/Makefile
===================================================================
--- security/fwbuilder/Makefile
+++ security/fwbuilder/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	cy@FreeBSD.org
 COMMENT=	Firewall Builder GUI and policy compilers
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BROKEN_powerpc64=	fails to configure: libz library not found
 
 LIB_DEPENDS=	libxslt.so:textproc/libxslt \
Index: security/ike/Makefile
===================================================================
--- security/ike/Makefile
+++ security/ike/Makefile
@@ -40,6 +40,13 @@
 QTGUI_USES=	qt:4
 QTGUI_USE=	QT=gui,moc_build,qmake_build,rcc_build,uic_build
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQTGUI}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-install:
 	@if ! ${SYSCTL} -a | ${GREP} -q ipsec; then \
 	${ECHO_MSG} "===> -------------------------------------------------------------------------"; \
Index: security/keepassx2/Makefile
===================================================================
--- security/keepassx2/Makefile
+++ security/keepassx2/Makefile
@@ -21,6 +21,9 @@
 LICENSE_PERMS_BOOST-1.0=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 LICENSE_PERMS_NOKIA-LGPL-EXCEPTION=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libgcrypt.so:security/libgcrypt
 
 CONFLICTS_INSTALL=	keepassx-0.* keepassx-devel-* keepassxc-*
Index: security/kqoauth/Makefile
===================================================================
--- security/kqoauth/Makefile
+++ security/kqoauth/Makefile
@@ -10,6 +10,9 @@
 
 LICENSE=	LGPL21
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		pkgconfig qmake qt:4
 USE_QT=		corelib network gui moc_build qtestlib_build
 USE_LDCONFIG=	yes
Index: security/ophcrack/Makefile
===================================================================
--- security/ophcrack/Makefile
+++ security/ophcrack/Makefile
@@ -34,6 +34,13 @@
 GRAPH_LIB_DEPENDS=	libqwt.so:x11-toolkits/qwt5
 GRAPH_CONFIGURE_OFF=	--disable-graph
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MX11}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -E '/#include <byteswap\.h>/d ; \
 		/#include/s,"bswap\.h",<machine/endian.h>, ; \
Index: security/pinentry/Makefile
===================================================================
--- security/pinentry/Makefile
+++ security/pinentry/Makefile
@@ -63,6 +63,11 @@
 . endif
 .endfor
 
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 do-install:
 	${LN} -sf ${PINENTRY_BIN} ${STAGEDIR}${PREFIX}/bin/pinentry
 	${INSTALL_DATA} ${WRKSRC}/doc/pinentry.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
Index: security/qtkeychain/Makefile
===================================================================
--- security/qtkeychain/Makefile
+++ security/qtkeychain/Makefile
@@ -3,7 +3,7 @@
 PORTNAME=	qtkeychain
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.9.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 PKGNAMESUFFIX=	-${FLAVOR}
 
@@ -14,7 +14,10 @@
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 FLAVORS=	qt4 qt5
-FLAVOR?=	${FLAVORS:[1]}
+FLAVOR?=	${FLAVORS:[2]}
+
+qt4_DEPRECATED=		Qt4 has been EOL since december 2015
+qt4_EXPIRATION_DATE=	2019-03-15
 
 USES=		cmake localbase:ldflags pkgconfig
 USE_GITHUB=	yes
Index: security/quantis/Makefile
===================================================================
--- security/quantis/Makefile
+++ security/quantis/Makefile
@@ -3,6 +3,7 @@
 
 PORTNAME=	quantis
 DISTVERSION=	v18.03.08
+PORTREVISION=	1
 CATEGORIES=	security devel java
 MASTER_SITES=	https://www.idquantique.com/wordpress/wp-content/uploads/
 DISTNAME=	Quantis-${DISTVERSION}
@@ -21,7 +22,7 @@
 USES=		cmake compiler:c++11-lang qt:4 zip:infozip
 
 OPTIONS_DEFINE=	PCI USB JAVA COMPAT TOOL GUI DOCS EXAMPLES
-OPTIONS_DEFAULT=PCI USB JAVA TOOL GUI
+OPTIONS_DEFAULT=PCI USB JAVA TOOL
 NO_OPTIONS_SORT=yes
 
 PCI_DESC=	Enable Quantis PCI support
@@ -76,6 +77,9 @@
 CXXFLAGS+=	-I${LOCALBASE}/include
 
 . if ${PORT_OPTIONS:MGUI}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USE_QT+=	corelib gui moc_build uic_build rcc_build qmake_build
 . else
 CMAKE_ARGS+=	-DDISABLE_EASYQUANTIS_GUI=1
Index: security/tpmmanager/Makefile
===================================================================
--- security/tpmmanager/Makefile
+++ security/tpmmanager/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libtspi.so:security/trousers
 
 USES=		qmake qt:4
Index: security/yubikey-personalization-gui/Makefile
===================================================================
--- security/yubikey-personalization-gui/Makefile
+++ security/yubikey-personalization-gui/Makefile
@@ -35,6 +35,13 @@
 		share/pixmaps/yubikey-personalization-gui.png \
 		share/pixmaps/yubikey-personalization-gui.xpm
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/build/release/${PORTNAME} \
 		${STAGEDIR}${PREFIX}/bin
Index: sysutils/android-file-transfer/Makefile
===================================================================
--- sysutils/android-file-transfer/Makefile
+++ sysutils/android-file-transfer/Makefile
@@ -55,6 +55,13 @@
 QT5_CMAKE_ON=	-DDESIRED_QT_VERSION:STRING=5
 QT5_IMPLIES=	QT
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} '/set.*AFT_VERSION/s/".*"/"${GH_TAGNAME}"/' \
 		${WRKSRC}/CMakeLists.txt
Index: sysutils/bacula9-bat/Makefile
===================================================================
--- sysutils/bacula9-bat/Makefile
+++ sysutils/bacula9-bat/Makefile
@@ -6,6 +6,9 @@
 
 COMMENT=	Network backup solution (GUI)
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS+=	libqwt.so:x11-toolkits/qwt5 \
 		libbac.so:sysutils/bacula9-client
 
Index: sysutils/bareos-traymonitor/Makefile
===================================================================
--- sysutils/bareos-traymonitor/Makefile
+++ sysutils/bareos-traymonitor/Makefile
@@ -6,6 +6,9 @@
 
 COMMENT=	Backup archiving recovery open sourced (traymonitor)
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS+=	libqwt.so:x11-toolkits/qwt5 \
 		libbareos.so:sysutils/bareos-client
 
Index: sysutils/bareos16-bat/Makefile
===================================================================
--- sysutils/bareos16-bat/Makefile
+++ sysutils/bareos16-bat/Makefile
@@ -5,6 +5,9 @@
 
 COMMENT=	Backup archiving recovery open sourced (GUI)
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS+=	libqwt.so:x11-toolkits/qwt5 \
 		libbareos.so:sysutils/bareos16-client
 
Index: sysutils/bareos16-traymonitor/Makefile
===================================================================
--- sysutils/bareos16-traymonitor/Makefile
+++ sysutils/bareos16-traymonitor/Makefile
@@ -6,6 +6,9 @@
 
 COMMENT=	Backup archiving recovery open sourced (traymonitor)
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS+=	libqwt.so:x11-toolkits/qwt5 \
 		libbareos.so:sysutils/bareos16-client
 
Index: sysutils/kcm-polkit-kde/Makefile
===================================================================
--- sysutils/kcm-polkit-kde/Makefile
+++ sysutils/kcm-polkit-kde/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Polkit-KDE configuration module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 LIB_DEPENDS=	libpolkit-qt-agent-1.so:sysutils/polkit-qt@qt4
 RUN_DEPENDS=	${KDE_PREFIX}/lib/kde4/libexec/polkit-kde-authentication-agent-1:sysutils/polkit-kde
 
Index: sysutils/kdirstat/Makefile
===================================================================
--- sysutils/kdirstat/Makefile
+++ sysutils/kdirstat/Makefile
@@ -14,6 +14,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 WRKSRC=		${WRKDIR}/jeromerobert-k4dirstat-3a4663ee20e7
 
 USES=		cmake cpe gettext-tools kde:4 qt:4 tar:bzip2
Index: sysutils/policykit-qt/Makefile
===================================================================
--- sysutils/policykit-qt/Makefile
+++ sysutils/policykit-qt/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	PolicyKit manager for Qt
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libpolkit.so:sysutils/policykit
 
 USE_LDCONFIG=	yes
Index: sysutils/polkit-kde/Makefile
===================================================================
--- sysutils/polkit-kde/Makefile
+++ sysutils/polkit-kde/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 LIB_DEPENDS=	libpolkit-qt-agent-1.so:sysutils/polkit-qt@qt4
 
 USES=		cmake kde:4 qt:4 tar:bzip2
Index: sysutils/polkit-qt/Makefile
===================================================================
--- sysutils/polkit-qt/Makefile
+++ sysutils/polkit-qt/Makefile
@@ -4,7 +4,7 @@
 PORTNAME=	polkit-qt
 DISTVERSIONPREFIX=	1-
 DISTVERSION=	0.112.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 MASTER_SITES=	KDE/stable/apps/KDE4.x/admin/
 PKGNAMESUFFIX=	${FLAVOR:C/qt//}
@@ -18,7 +18,10 @@
 LIB_DEPENDS=	libpolkit-agent-1.so:sysutils/polkit
 
 FLAVORS=	qt4 qt5
-FLAVOR?=	${FLAVORS:[1]}
+FLAVOR?=	${FLAVORS:[2]}
+
+qt4_DEPRECATED=		Qt4 has been EOL since december 2015
+qt4_EXPIRATION_DATE=	2019-03-15
 
 USES=		cmake:outsource gnome pkgconfig tar:bzip2
 USE_GNOME=	glib20
Index: sysutils/qpxtool/Makefile
===================================================================
--- sysutils/qpxtool/Makefile
+++ sysutils/qpxtool/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BROKEN_aarch64=		fails to compile: qpx_mmc_defs.h:608:4: constant expression evaluates to -1 which cannot be narrowed to type 'char'
 BROKEN_armv6=		fails to compile: qpx_mmc_defs.h:608:4: constant expression evaluates to -1 which cannot be narrowed to type 'char'
 BROKEN_armv7=		fails to compile: qpx_mmc_defs.h:608:4: constant expression evaluates to -1 which cannot be narrowed to type 'char'
Index: sysutils/qsynergy/Makefile
===================================================================
--- sysutils/qsynergy/Makefile
+++ sysutils/qsynergy/Makefile
@@ -12,6 +12,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4
 USE_QT=		moc_build rcc_build uic_build corelib gui network
 
Index: sysutils/qzeitgeist/Makefile
===================================================================
--- sysutils/qzeitgeist/Makefile
+++ sysutils/qzeitgeist/Makefile
@@ -17,6 +17,9 @@
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	rapper:textproc/raptor2 \
 		${PYTHON_PKGNAMEPREFIX}rdflib>=0:textproc/py-rdflib@${PY_FLAVOR}
 
Index: sysutils/searchmonkey/Makefile
===================================================================
--- sysutils/searchmonkey/Makefile
+++ sysutils/searchmonkey/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	GPLv3+
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake dos2unix qt:4 zip
 USE_CXXSTD=	c++98
 DOS2UNIX_GLOB=	*.cpp *.h
Index: sysutils/unetbootin/Makefile
===================================================================
--- sysutils/unetbootin/Makefile
+++ sysutils/unetbootin/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv2+
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 RUN_DEPENDS=	7z:archivers/p7zip \
 		syslinux:sysutils/syslinux \
 		mke2fs:sysutils/e2fsprogs
Index: textproc/ansifilter/Makefile
===================================================================
--- textproc/ansifilter/Makefile
+++ textproc/ansifilter/Makefile
@@ -31,6 +31,9 @@
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 CONFIGURE_WRKSRC=	${WRKSRC}/src/qt-gui
 QMAKE_SOURCE_PATH=	${CONFIGURE_WRKSRC}/${PORTNAME}-gui.pro
 .endif
Index: textproc/beediff/Makefile
===================================================================
--- textproc/beediff/Makefile
+++ textproc/beediff/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/licence.txt
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4
 USE_QT=		corelib gui moc_build rcc_build
 USE_XORG=	x11 xext
Index: textproc/dixit/Makefile
===================================================================
--- textproc/dixit/Makefile
+++ textproc/dixit/Makefile
@@ -19,6 +19,9 @@
 
 LICENSE=	GPLv3+
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4
 USE_QT=		corelib gui network moc_build rcc_build
 LDFLAGS+=	-lz
Index: textproc/goldendict/Makefile
===================================================================
--- textproc/goldendict/Makefile
+++ textproc/goldendict/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	GPLv3
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libhunspell-1.6.so:textproc/hunspell \
 		libvorbis.so:audio/libvorbis
 
Index: textproc/ibus-qt/Makefile
===================================================================
--- textproc/ibus-qt/Makefile
+++ textproc/ibus-qt/Makefile
@@ -14,6 +14,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	ibus>=1.3.7:textproc/ibus
 RUN_DEPENDS=	ibus>=1.3.7:textproc/ibus
 LIB_DEPENDS=	libdbus-1.so:devel/dbus \
Index: textproc/kdiff3/Makefile
===================================================================
--- textproc/kdiff3/Makefile
+++ textproc/kdiff3/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		cmake:outsource kde:4 qt:4
 USE_KDE=	kdelibs libkonq automoc4
 USE_QT=		moc_build qmake_build rcc_build uic_build
Index: textproc/py-qt4-xml/Makefile
===================================================================
--- textproc/py-qt4-xml/Makefile
+++ textproc/py-qt4-xml/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Python bindings for the Qt4 toolkit, QtXml module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 CONFIGURE_ARGS=	--enable QtXml
 PYQT_DIST=	yes
 
Index: textproc/py-qt4-xmlpatterns/Makefile
===================================================================
--- textproc/py-qt4-xmlpatterns/Makefile
+++ textproc/py-qt4-xmlpatterns/Makefile
@@ -8,6 +8,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Python bindings for the Qt4 toolkit, QtXmlPatterns module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 CONFIGURE_ARGS=	--enable QtXmlPatterns
 PYQT_DIST=	yes
 
Index: textproc/qstardict/Makefile
===================================================================
--- textproc/qstardict/Makefile
+++ textproc/qstardict/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		dos2unix pkgconfig qmake qt:4 tar:bzip2
 USE_QT=		corelib gui network xml uic_build moc_build rcc_build
 USE_GNOME=	glib20
Index: textproc/qt4-clucene/Makefile
===================================================================
--- textproc/qt4-clucene/Makefile
+++ textproc/qt4-clucene/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt bindings for the CLucene full-text search library
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		corelib
 
Index: textproc/qt4-xml/Makefile
===================================================================
--- textproc/qt4-xml/Makefile
+++ textproc/qt4-xml/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt SAX and DOM implementations
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		moc_build corelib
 
Index: textproc/qt4-xmlpatterns-tool/Makefile
===================================================================
--- textproc/qt4-xmlpatterns-tool/Makefile
+++ textproc/qt4-xmlpatterns-tool/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt command-line utility for running XQueries
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		xmlpatterns
 
Index: textproc/qt4-xmlpatterns/Makefile
===================================================================
--- textproc/qt4-xmlpatterns/Makefile
+++ textproc/qt4-xmlpatterns/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt support for XPath, XQuery, XSLT and XML Schema
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		moc_build rcc_build corelib network
 
Index: textproc/scim-bridge-qt4/Makefile
===================================================================
--- textproc/scim-bridge-qt4/Makefile
+++ textproc/scim-bridge-qt4/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	GPLv2 LGPL21
 LICENSE_COMB=	dual
+
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
 LICENSE_FILE_GPLv2=	${WRKSRC}/doc/LICENSE.GPL
 LICENSE_FILE_LGPL21=	${WRKSRC}/doc/LICENSE.LGPL
 
Index: textproc/soprano/Makefile
===================================================================
--- textproc/soprano/Makefile
+++ textproc/soprano/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt/C++ RDF framework
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libraptor2.so:textproc/raptor2 \
 		librdf.so:textproc/redland \
 		libiodbc.so:databases/libiodbc
Index: textproc/uim-kde4/Makefile
===================================================================
--- textproc/uim-kde4/Makefile
+++ textproc/uim-kde4/Makefile
@@ -6,6 +6,9 @@
 
 COMMENT=	KDE4 panel applet of uim input method
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BUILD_DEPENDS=	cmake:devel/cmake
 LIB_DEPENDS=	libuim.so:textproc/uim
 RUN_DEPENDS=	uim-pref-qt4:textproc/uim-qt4
Index: textproc/uim-qt4/Makefile
===================================================================
--- textproc/uim-qt4/Makefile
+++ textproc/uim-qt4/Makefile
@@ -5,6 +5,9 @@
 
 COMMENT=	Qt4 modules of uim input method
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libuim.so:textproc/uim
 
 USE_QT=		gui corelib qmake_build moc_build network qt3support \
Index: textproc/xxdiff/Makefile
===================================================================
--- textproc/xxdiff/Makefile
+++ textproc/xxdiff/Makefile
@@ -12,6 +12,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		bison gmake qt:4 tar:bz2
 USE_QT=		gui moc_build qmake_build uic_build
 
Index: www/aria2fe/Makefile
===================================================================
--- www/aria2fe/Makefile
+++ www/aria2fe/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv3+
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 RUN_DEPENDS=	aria2c:www/aria2 \
 		xterm:x11/xterm
 
Index: www/cutycapt/Makefile
===================================================================
--- www/cutycapt/Makefile
+++ www/cutycapt/Makefile
@@ -12,6 +12,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 WRKSRC=		${WRKDIR}/CutyCapt
 
 USES=		qmake qt:4
Index: www/kpartsplugin/Makefile
===================================================================
--- www/kpartsplugin/Makefile
+++ www/kpartsplugin/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Browser file viewer using KDE technology
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 USES=		cmake kde:4 qt:4 webplugin:native tar:bzip2
 USE_KDE=	kdelibs automoc4
 USE_QT=		corelib gui moc_build qmake_build rcc_build uic_build
Index: www/kwebkitpart/Makefile
===================================================================
--- www/kwebkitpart/Makefile
+++ www/kwebkitpart/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Web browser component for KDE SC based on QtWebKit
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 USES=		cmake kde:4 cpe qt:4 tar:xz
 USE_KDE=	kdelibs automoc4
 USE_QT=		designer gui webkit \
Index: www/linkchecker/Makefile
===================================================================
--- www/linkchecker/Makefile
+++ www/linkchecker/Makefile
@@ -47,6 +47,11 @@
 
 .include <bsd.port.options.mk>
 
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 		'/^Icon/s|=.*|=linkchecker|' ${WRKSRC}/doc/*.desktop
Index: www/py-qt4-webkit/Makefile
===================================================================
--- www/py-qt4-webkit/Makefile
+++ www/py-qt4-webkit/Makefile
@@ -8,6 +8,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Python bindings for the Qt4 toolkit, QtWebKit module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 CONFIGURE_ARGS=	--enable QtWebKit
 PYQT_DIST=	yes
 
Index: www/qt4-webkit/Makefile
===================================================================
--- www/qt4-webkit/Makefile
+++ www/qt4-webkit/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt WebKit implementation
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USE_QT=		corelib declarative gui network \
 		moc_build rcc_build
 USE_XORG=	xrender
Index: www/qupzilla-qt4/Makefile
===================================================================
--- www/qupzilla-qt4/Makefile
+++ www/qupzilla-qt4/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	GPLv3
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libhunspell-1.6.so:textproc/hunspell
 
 CONFLICTS_INSTALL=	${PORTNAME}-qt5*
Index: www/rekonq/Makefile
===================================================================
--- www/rekonq/Makefile
+++ www/rekonq/Makefile
@@ -11,6 +11,9 @@
 
 LICENSE=	GPLv3+ GFDL
 LICENSE_COMB=	multi
+
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
 LICENSE_FILE_GPLv3+ =	${WRKSRC}/COPYING
 LICENSE_FILE_GFDL=	${WRKSRC}/COPYING.DOC
 
Index: x11-fm/qtfm/Makefile
===================================================================
--- x11-fm/qtfm/Makefile
+++ x11-fm/qtfm/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libinotify.so:devel/libinotify
 
 USES=		dos2unix qmake qt:4
Index: x11-fonts/fontmatrix/Makefile
===================================================================
--- x11-fonts/fontmatrix/Makefile
+++ x11-fonts/fontmatrix/Makefile
@@ -11,6 +11,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 BROKEN_armv6=		fails to compile: src/fminfodisplay.cpp:155:17: no matching function for call to 'qMax'
 BROKEN_armv7=		fails to compile: src/fminfodisplay.cpp:155:17: no matching function for call to 'qMax'
 
Index: x11-themes/Kvantum/Makefile
===================================================================
--- x11-themes/Kvantum/Makefile
+++ x11-themes/Kvantum/Makefile
@@ -3,6 +3,7 @@
 PORTNAME=	Kvantum
 DISTVERSIONPREFIX=	V
 DISTVERSION=	0.10.7
+PORTREVISION=	1
 CATEGORIES=	x11-themes
 
 MAINTAINER=	rezny@FreeBSD.org
@@ -12,7 +13,10 @@
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 FLAVORS=	qt4 qt5
-FLAVOR?=	${FLAVORS:[1]}
+FLAVOR?=	${FLAVORS:[2]}
+
+qt4_DEPRECATED=		Qt4 has been EOL since december 2015
+qt4_EXPIRATION_DATE=	2019-03-15
 
 qt4_PKGNAMESUFFIX=	-qt4
 qt5_PKGNAMESUFFIX=	-qt5
Index: x11-themes/adwaita-qt/Makefile
===================================================================
--- x11-themes/adwaita-qt/Makefile
+++ x11-themes/adwaita-qt/Makefile
@@ -16,6 +16,9 @@
 FLAVOR?=	${FLAVORS:[1]}
 qt4_PKGNAMESUFFIX=	4
 qt5_PKGNAMESUFFIX=	5
+qt4_DEPRECATED=		Qt4 has been EOL since december 2015
+qt4_EXPIRATION_DATE=	2019-03-15
+
 
 USES=		cmake:outsource compiler:c++11-lib localbase pkgconfig
 .  if ${FLAVOR} == qt4
Index: x11-themes/gtk-qt4-engine/Makefile
===================================================================
--- x11-themes/gtk-qt4-engine/Makefile
+++ x11-themes/gtk-qt4-engine/Makefile
@@ -12,6 +12,9 @@
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
 		libfreetype.so:print/freetype2
 
Index: x11-themes/kde-gtk-config/Makefile
===================================================================
--- x11-themes/kde-gtk-config/Makefile
+++ x11-themes/kde-gtk-config/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	GTK2 and GTK3 Configurator for KDE
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 USES=		cmake:outsource gettext kde:4 pkgconfig qt:4 tar:xz
 USE_GNOME=	gtk20 gtk30
 USE_KDE=	automoc4 kdelibs
Index: x11-themes/kde4-style-bespin/Makefile
===================================================================
--- x11-themes/kde4-style-bespin/Makefile
+++ x11-themes/kde4-style-bespin/Makefile
@@ -14,6 +14,9 @@
 
 LICENSE=	LGPL21
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 WRKSRC=		${WRKDIR}/cloudcity
 
 USES=		cmake:noninja kde:4 qt:4
Index: x11-themes/kde4-style-nitrogen/Makefile
===================================================================
--- x11-themes/kde4-style-nitrogen/Makefile
+++ x11-themes/kde4-style-nitrogen/Makefile
@@ -14,6 +14,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 WRKSRC=		${WRKDIR}/kde4-kstyle-nitrogen-${PORTVERSION}-Source
 
 USES=		cmake kde:4 qt:4
Index: x11-themes/kde4-style-oxygen-transparent/Makefile
===================================================================
--- x11-themes/kde4-style-oxygen-transparent/Makefile
+++ x11-themes/kde4-style-oxygen-transparent/Makefile
@@ -13,6 +13,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 USES=		cmake kde:4 qt:4 tar:xz
 USE_KDE=	kdelibs workspace automoc4
 USE_QT=		corelib qmake_build moc_build rcc_build uic_build
Index: x11-themes/kde4-style-polyester/Makefile
===================================================================
--- x11-themes/kde4-style-polyester/Makefile
+++ x11-themes/kde4-style-polyester/Makefile
@@ -14,6 +14,9 @@
 LICENSE=	LGPL20+
 LICENSE_FILE=	${WRKSRC}/COPYING.LIB
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 USES=		cmake gettext kde:4 qt:4 tar:bzip2
 USE_KDE=	kdelibs automoc4
 USE_QT=		qmake_build moc_build rcc_build uic_build
Index: x11-themes/kde4-style-skulpture/Makefile
===================================================================
--- x11-themes/kde4-style-skulpture/Makefile
+++ x11-themes/kde4-style-skulpture/Makefile
@@ -14,6 +14,9 @@
 
 LICENSE=	GPLv3
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 USES=		cmake kde:4 qt:4
 USE_KDE=	kdelibs automoc4 workspace
 USE_QT=		corelib qmake_build moc_build rcc_build uic_build
Index: x11-themes/kde4-windeco-crystal/Makefile
===================================================================
--- x11-themes/kde4-windeco-crystal/Makefile
+++ x11-themes/kde4-windeco-crystal/Makefile
@@ -14,6 +14,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 USES=		cmake:outsource,noninja kde:4 qt:4 tar:bzip2
 USE_KDE=	kdelibs automoc4 workspace
 USE_QT=		qmake_build moc_build rcc_build uic_build \
Index: x11-themes/kde4-windeco-dekorator/Makefile
===================================================================
--- x11-themes/kde4-windeco-dekorator/Makefile
+++ x11-themes/kde4-windeco-dekorator/Makefile
@@ -14,6 +14,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 LIB_DEPENDS=	libqimageblitz.so:x11/qimageblitz
 
 USES=		cmake kde:4 qt:4 tar:bzip2
Index: x11-themes/qt4-style-float/Makefile
===================================================================
--- x11-themes/qt4-style-float/Makefile
+++ x11-themes/qt4-style-float/Makefile
@@ -15,6 +15,9 @@
 
 LICENSE=	GPLv2
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qt:4 tar:bzip2 qmake
 USE_QT=		corelib gui moc_build rcc_build
 
Index: x11-themes/qt4-style-phase/Makefile
===================================================================
--- x11-themes/qt4-style-phase/Makefile
+++ x11-themes/qt4-style-phase/Makefile
@@ -15,6 +15,9 @@
 
 LICENSE=	MIT
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qt:4 tar:bzip2 qmake
 USE_QT=		corelib gui moc_build
 
Index: x11-themes/qt4-style-quantumstyle/Makefile
===================================================================
--- x11-themes/qt4-style-quantumstyle/Makefile
+++ x11-themes/qt4-style-quantumstyle/Makefile
@@ -16,6 +16,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake qt:4
 USE_QT=		corelib gui svg rcc_build uic_build moc_build
 
Index: x11-themes/qtcurve/Makefile
===================================================================
--- x11-themes/qtcurve/Makefile
+++ x11-themes/qtcurve/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	qtcurve
 DISTVERSION=	1.9.0-rc1
-PORTREVISION?=	1
+PORTREVISION?=	2
 CATEGORIES=	x11-themes
 
 MAINTAINER=	jhale@FreeBSD.org
@@ -16,7 +16,7 @@
 OPTIONS_RADIO=		QT5
 OPTIONS_RADIO_QT5=	KF5 QT5
 OPTIONS_DEFINE=		GTK2 KDE4 QT4
-OPTIONS_DEFAULT=	GTK2 KDE4 QT4 QT5
+OPTIONS_DEFAULT=	GTK2 QT5
 
 GTK2_RUN_DEPENDS=	gtk2-qtcurve-theme>=${PORTVERSION}:x11-themes/qtcurve-gtk2
 KDE4_RUN_DEPENDS=	kde4-style-qtcurve>=${PORTVERSION}:x11-themes/qtcurve-kde4
@@ -73,6 +73,8 @@
 .endif
 
 .if ${QTCURVE_SLAVE} == "kde4"
+DEPRECATED=	KDE4 is EOL
+EXPIRATION_DATE=2018-12-31
 WITH_qt4=	On # required for KDE 4
 PKGNAMEPREFIX=	kde4-style-
 USE_KDE=	kdelibs workspace automoc4
@@ -95,6 +97,9 @@
 .endif
 
 .if ${QTCURVE_SLAVE} == "qt4"
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 PKGNAMEPREFIX=	qt4-style-
 USES+=		qt:4
 USE_QT=		corelib dbus gui svg moc_build qmake_build rcc_build uic_build
Index: x11-toolkits/attica/Makefile
===================================================================
--- x11-toolkits/attica/Makefile
+++ x11-toolkits/attica/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Open Collaboration Services API library
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USE_QT=		network qtestlib_build xml \
 		moc_build qmake_build rcc_build uic_build
 USE_LDCONFIG=	yes
Index: x11-toolkits/nucleo/Makefile
===================================================================
--- x11-toolkits/nucleo/Makefile
+++ x11-toolkits/nucleo/Makefile
@@ -62,6 +62,11 @@
 CONFIGURE_ARGS+=	--without-dns-sd
 .endif
 
+.if ${PORT_OPTIONS:MQT4}
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+.endif
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/nucleo
 
Index: x11-toolkits/py-qt4-gui/Makefile
===================================================================
--- x11-toolkits/py-qt4-gui/Makefile
+++ x11-toolkits/py-qt4-gui/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Python bindings for the Qt4 toolkit, QtGui module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 CONFIGURE_ARGS=	--enable QtGui
 PYQT_DIST=	yes
 
Index: x11-toolkits/qt4-declarative/Makefile
===================================================================
--- x11-toolkits/qt4-declarative/Makefile
+++ x11-toolkits/qt4-declarative/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt declarative framework for dynamic user interfaces
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		moc_build rcc_build uic_build corelib gui network \
 		opengl script sql svg xml xmlpatterns
Index: x11-toolkits/qt4-gui/Makefile
===================================================================
--- x11-toolkits/qt4-gui/Makefile
+++ x11-toolkits/qt4-gui/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt graphical user interface module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libpng.so:graphics/png \
 		libfontconfig.so:x11-fonts/fontconfig
 RUN_DEPENDS=	xdg-open:devel/xdg-utils
Index: x11-toolkits/qt4pas/Makefile
===================================================================
--- x11-toolkits/qt4pas/Makefile
+++ x11-toolkits/qt4pas/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	acm@FreeBSD.org
 COMMENT=	Qt4 binding for FreePascal
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USE_LDCONFIG=	yes
 USE_QT=		corelib gui network script webkit \
 		moc_build
Index: x11-toolkits/qwt5-designerplugin/Makefile
===================================================================
--- x11-toolkits/qwt5-designerplugin/Makefile
+++ x11-toolkits/qwt5-designerplugin/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Qt Designer plugin for Qwt
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libqwt.so:x11-toolkits/qwt5
 
 USES=		gmake qmake qt:4 tar:bzip2
Index: x11-toolkits/qwt5/Makefile
===================================================================
--- x11-toolkits/qwt5/Makefile
+++ x11-toolkits/qwt5/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Qt Widgets for Technical Applications
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		gmake qmake qt:4 tar:bzip2
 USE_QT=		gui svg moc_build
 USE_LDCONFIG=	yes
Index: x11-toolkits/qwt6/Makefile
===================================================================
--- x11-toolkits/qwt6/Makefile
+++ x11-toolkits/qwt6/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	qwt
 PORTVERSION=	6.1.3
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	x11-toolkits
 MASTER_SITES=	SF
 PKGNAMESUFFIX=	6-${FLAVOR}
@@ -11,7 +11,9 @@
 COMMENT=	Qt Widgets for Technical Applications
 
 FLAVORS=	qt4 qt5
-FLAVOR?=	${FLAVORS:[1]}
+FLAVOR?=	${FLAVORS:[2]}
+qt4_DEPRECATED=		Qt4 has been EOL since december 2015
+qt4_EXPIRATION_DATE=	2019-03-15
 
 USES=		gl gmake qmake tar:bzip2
 USE_GL=		gl
Index: x11-toolkits/soqt/Makefile
===================================================================
--- x11-toolkits/soqt/Makefile
+++ x11-toolkits/soqt/Makefile
@@ -14,6 +14,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE.GPL
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libCoin.so:graphics/Coin
 
 USES=		gmake libtool pathfix pkgconfig qmake:no_env qt:4
Index: x11-wm/qlwm/Makefile
===================================================================
--- x11-wm/qlwm/Makefile
+++ x11-wm/qlwm/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 MAKE_JOBS_UNSAFE= yes
 
 USES=	qt:4
Index: x11/kactivities/Makefile
===================================================================
--- x11/kactivities/Makefile
+++ x11/kactivities/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Kactivities library
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 USES=		cmake:outsource compiler:c++11-lib kde:4 qt:4 tar:xz
 USE_KDE=	automoc4 kdelibs soprano nepomuk-core
 USE_QT=		declarative moc_build qmake_build rcc_build uic_build
Index: x11/kactivitymanagerd/Makefile
===================================================================
--- x11/kactivitymanagerd/Makefile
+++ x11/kactivitymanagerd/Makefile
@@ -11,6 +11,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Activity Manager daemon
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2018-12-31
+
 USES=		cmake:outsource compiler:c++11-lib kde:4 qt:4 tar:xz
 USE_KDE=	automoc4 kdelibs soprano nepomuk-core \
 		kactivities
Index: x11/leechcraft/Makefile
===================================================================
--- x11/leechcraft/Makefile
+++ x11/leechcraft/Makefile
@@ -13,6 +13,9 @@
 LICENSE=	BSL
 LICENSE_FILE=	${WRKDIR}/${DISTNAME}/LICENSE
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libqwt6.so:x11-toolkits/qwt6@qt4 \
 		libpcre.so:devel/pcre \
 		libboost_program_options.so:devel/boost-libs
Index: x11/py-qt4-opengl/Makefile
===================================================================
--- x11/py-qt4-opengl/Makefile
+++ x11/py-qt4-opengl/Makefile
@@ -9,6 +9,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Python bindings for the Qt4 toolkit, QtOpenGL module
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 CONFIGURE_ARGS=	--enable QtOpenGL
 PYQT_DIST=	yes
 
Index: x11/qimageblitz/Makefile
===================================================================
--- x11/qimageblitz/Makefile
+++ x11/qimageblitz/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Graphical effects and filters library for KDE4
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USE_LDCONFIG=	yes
 USE_QT=		corelib gui qmake_build moc_build uic_build rcc_build
 USES=		cmake qt:4 tar:bzip2
Index: x11/qt4-graphicssystems-opengl/Makefile
===================================================================
--- x11/qt4-graphicssystems-opengl/Makefile
+++ x11/qt4-graphicssystems-opengl/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt OpenGL rendering engine (experimental)
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		opengl
 
Index: x11/qt4-inputmethods/Makefile
===================================================================
--- x11/qt4-inputmethods/Makefile
+++ x11/qt4-inputmethods/Makefile
@@ -10,6 +10,9 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt input methods
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 USES=		qmake:no_env qt-dist:4
 USE_QT=		moc_build corelib gui
 
Index: x11/qxkb/Makefile
===================================================================
--- x11/qxkb/Makefile
+++ x11/qxkb/Makefile
@@ -11,6 +11,9 @@
 
 LICENSE=	GPLv2+
 
+DEPRECATED=		Qt4 has been EOL since december 2015
+EXPIRATION_DATE=	2019-03-15
+
 LIB_DEPENDS=	libxkbfile.so:x11/libxkbfile
 
 USES=		cmake qt:4