aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-07-05 15:08:16 +0800
committerdanfe <danfe@FreeBSD.org>2013-07-05 15:08:16 +0800
commitccf8e920b8b5f36d5e91e8d9db887c5748d472a7 (patch)
treebc5fa9b2caf197b7cf539ebc6bbe7ff038d078f8
parenta97c13d5c2b744a3f907151e2bd6a517af1b66ea (diff)
downloadfreebsd-ports-gnome-ccf8e920b8b5f36d5e91e8d9db887c5748d472a7.tar.gz
freebsd-ports-gnome-ccf8e920b8b5f36d5e91e8d9db887c5748d472a7.tar.zst
freebsd-ports-gnome-ccf8e920b8b5f36d5e91e8d9db887c5748d472a7.zip
- Sadly, remove support for the expired Qt 3.x port
- Rename GUI option to X11, to allow for umbrella X11-less builds PR: ports/180276 Submitted by: rene
-rw-r--r--sysutils/nvclock/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/sysutils/nvclock/Makefile b/sysutils/nvclock/Makefile
index 3acb9729f7ae..902371ebdc46 100644
--- a/sysutils/nvclock/Makefile
+++ b/sysutils/nvclock/Makefile
@@ -20,12 +20,11 @@ PLIST_FILES= bin/nvclock bin/smartdimmer
MAN1= nvclock.1
PORTDOCS= ABOUT AUTHORS ChangeLog FAQ README
-OPTIONS_DEFINE= NVCONTROL GTK2 QT3 DOCS
-OPTIONS_DEFAULT= NVCONTROL GTK2
+OPTIONS_DEFINE= NVCONTROL X11 DOCS
+OPTIONS_DEFAULT= NVCONTROL X11
NVCONTROL_DESC= NV-CONTROL support (for OpenGL settings)
-GTK2_DESC= Build GTK+ 2 GUI program
-QT3_DESC= Build Qt 3.x (legacy) GUI program
+X11_DESC= Build GUI program (requires GTK+ 2.x)
.include <bsd.port.options.mk>
@@ -36,19 +35,13 @@ USE_GNOME= pkgconfig
CONFIGURE_ARGS+= --disable-nvcontrol
.endif
-.if ${PORT_OPTIONS:MGTK2}
+.if ${PORT_OPTIONS:MX11}
USE_GNOME= gtk20
PLIST_FILES+= bin/nvclock_gtk
.else
CONFIGURE_ARGS+= --disable-gtk
.endif
-.if ${PORT_OPTIONS:MQT3}
-USE_QT_VER= 3
-CONFIGURE_ARGS+= --enable-qt --with-qtdir=${LOCALBASE}
-PLIST_FILES+= bin/nvclock_qt
-.endif
-
post-patch:
# Uphold our C[XX]FLAGS except for backend part, it must be compiled with -O0
@${REINPLACE_CMD} -E 's|^(C(XX)?FLAGS)=|\1+=|' \