Date: Sat, 16 Mar 2013 11:32:30 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r314347 - head/sysutils/nvclock Message-ID: <201303161132.r2GBWUWY033345@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Sat Mar 16 11:32:30 2013 New Revision: 314347 URL: http://svnweb.freebsd.org/changeset/ports/314347 Log: - Finish conversion to OptionsNG (was missing DOCS option) - Provide better description what NV-CONTROL is needed for - Rename QT option to QT3 to make it more clear it's legacy - Improve descriptions for GUI programs while I am at here Modified: head/sysutils/nvclock/Makefile Modified: head/sysutils/nvclock/Makefile ============================================================================== --- head/sysutils/nvclock/Makefile Sat Mar 16 10:07:10 2013 (r314346) +++ head/sysutils/nvclock/Makefile Sat Mar 16 11:32:30 2013 (r314347) @@ -20,10 +20,12 @@ PLIST_FILES= bin/nvclock bin/smartdimmer MAN1= nvclock.1 PORTDOCS= ABOUT AUTHORS ChangeLog FAQ README -OPTIONS_DEFINE= NVCONTROL GTK2 QT +OPTIONS_DEFINE= NVCONTROL GTK2 QT3 DOCS OPTIONS_DEFAULT= NVCONTROL GTK2 -NVCONTROL_DESC= NV-CONTROL support -QT_DESC= Qt 3 toolkit + +NVCONTROL_DESC= NV-CONTROL support (for OpenGL settings) +GTK2_DESC= Build GTK+ 2 GUI program +QT3_DESC= Build Qt 3.x (legacy) GUI program .include <bsd.port.options.mk> @@ -41,7 +43,7 @@ PLIST_FILES+= bin/nvclock_gtk CONFIGURE_ARGS+= --disable-gtk .endif -.if ${PORT_OPTIONS:MQT} +.if ${PORT_OPTIONS:MQT3} USE_QT_VER= 3 CONFIGURE_ARGS+= --enable-qt --with-qtdir=${LOCALBASE} PLIST_FILES+= bin/nvclock_qt @@ -57,8 +59,7 @@ post-patch: do-install: ${GMAKE} -C ${WRKSRC}/src install ${GMAKE} -C ${WRKSRC} install-man -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} ${GMAKE} -C ${WRKSRC} install-docs .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303161132.r2GBWUWY033345>