From owner-svn-ports-head@FreeBSD.ORG Thu Jan 30 19:45:18 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CD0133C3; Thu, 30 Jan 2014 19:45:18 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B809A1EEE; Thu, 30 Jan 2014 19:45:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0UJjIwM002702; Thu, 30 Jan 2014 19:45:18 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0UJjI7S002696; Thu, 30 Jan 2014 19:45:18 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201401301945.s0UJjI7S002696@svn.freebsd.org> From: Pawel Pekala Date: Thu, 30 Jan 2014 19:45:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341879 - in head/sysutils: conky conky-awesome X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jan 2014 19:45:19 -0000 Author: pawel Date: Thu Jan 30 19:45:17 2014 New Revision: 341879 URL: http://svnweb.freebsd.org/changeset/ports/341879 QAT: https://qat.redports.org/buildarchive/r341879/ Log: - Add staging support and use option helpers [1] - Remove leading article from COMMENT - Convert USE_GMAKE to USES=gmake - Convert to new LIB_DEPENDS format - Remove tab character from WWW: line PR: ports/185302 [1] (based on) Submitted by: Zsolt Udvari Approved by: maintainer timeout Modified: head/sysutils/conky-awesome/Makefile head/sysutils/conky/Makefile head/sysutils/conky/pkg-descr Modified: head/sysutils/conky-awesome/Makefile ============================================================================== --- head/sysutils/conky-awesome/Makefile Thu Jan 30 19:40:44 2014 (r341878) +++ head/sysutils/conky-awesome/Makefile Thu Jan 30 19:45:17 2014 (r341879) @@ -4,7 +4,7 @@ PKGNAMESUFFIX= -awesome MAINTAINER= ntarmos@ceid.upatras.gr -COMMENT= An advanced, highly configurable system monitor (configured for x11-wm/awesome) +COMMENT= Advanced, highly configurable system monitor (configured for x11-wm/awesome) MASTERDIR= ${.CURDIR}/../conky DESCR= ${.CURDIR}/pkg-descr @@ -15,5 +15,4 @@ OPTIONS_EXCLUDE= X11 OPTIONS_GROUP= OPTIONS_DEFAULT= -NO_STAGE= yes .include "${MASTERDIR}/Makefile" Modified: head/sysutils/conky/Makefile ============================================================================== --- head/sysutils/conky/Makefile Thu Jan 30 19:40:44 2014 (r341878) +++ head/sysutils/conky/Makefile Thu Jan 30 19:45:17 2014 (r341879) @@ -8,15 +8,14 @@ CATEGORIES= sysutils MASTER_SITES= SF MAINTAINER= ntarmos@ceid.upatras.gr -COMMENT= An advanced, highly configurable system monitor for X +COMMENT= Advanced, highly configurable system monitor for X11 CONFLICTS?= conky-awesome-[0-9]* SLAVEDIRS= sysutils/conky-awesome -USES= pkgconfig iconv +USES= gmake iconv pkgconfig USE_BZIP2= yes GNU_CONFIGURE= yes -USE_GMAKE= yes CONFIGURE_ARGS+= --disable-portmon \ --disable-hddtemp \ --disable-alsa \ @@ -25,8 +24,7 @@ CONFIGURE_ARGS+= --disable-portmon \ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -MAN1= conky.1 -PLIST_FILES= bin/conky +PLIST_FILES= bin/conky man/man1/conky.1.gz PORTEXAMPLES= conkyrc.sample PORTDOCS= README AUTHORS ChangeLog TODO NEWS \ docs.html variables.html config_settings.html @@ -38,22 +36,61 @@ OPTIONS_GROUP?= X11 OPTIONS_GROUP_X11= ARGB DOUBLE_BUFFER IMLIB2 XFT LUA_CAIRO LUA_IMLIB2 OPTIONS_DEFAULT?= X11 ARGB DOUBLE_BUFFER -ARGB_DESC= Use an ARGB visual to draw on X11 APCUPSD_DESC= Monitor APCUPSD +APCUPSD_CONFIGURE_ENABLE=apcupsd + +ARGB_DESC= Use an ARGB visual to draw on X11 +ARGB_CONFIGURE_ENABLE= argb + AUDACIOUS_DESC= Control Audacious sound player +AUDACIOUS_CONFIGURE_ENABLE=audacious +AUDACIOUS_LIB_DEPENDS= libaudclient.so:${PORTSDIR}/multimedia/audacious + DOUBLE_BUFFER_DESC= Enable X11 double buffering +DOUBLE_BUFFER_CONFIGURE_ENABLE=double-buffer + INOTIFY_DESC= Monitor file changes via Inotify +INOTIFY_CONFIGURE_ENABLE=inotify +INOTIFY_LIB_DEPENDS= libinotify.so:${PORTSDIR}/devel/libinotify + LUA_CAIRO_DESC= Lua-Cairo binding +LUA_CAIRO_CONFIGURE_ENABLE=lua-cairo +LUA_CAIRO_LIB_DEPENDS= libcairo.so:${PORTSDIR}/graphics/cairo + LUA_IMLIB2_DESC= Lua-Imlib2 binding +LUA_IMLIB2_CONFIGURE_ENABLE=lua-imlib2 + METAR_DESC= Display METAR weather reports +METAR_CONFIGURE_ENABLE= weather-metar +METAR_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl + MOC_DESC= Control MOC (Music On Console) +MOC_CONFIGURE_ENABLE= moc + MPD_DESC= Control MPD (Music Player Daemon) +MPD_CONFIGURE_ENABLE= mpd + NCURSES_DESC= Use ncurses to draw on terminals +NCURSES_CONFIGURE_ENABLE=ncurses + RSS_DESC= Display RSS feeds +RSS_CONFIGURE_ENABLE= rss +RSS_USE= GNOME=glib20 +RSS_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ + libxml2.so:${PORTSDIR}/textproc/libxml2 + +XFT_CONFIGURE_ENABLE= xft +XFT_LIB_DEPENDS= libXft.so:${PORTSDIR}/x11-fonts/libXft + XMMS2_DESC= Control XMMS2 media player +XMMS2_CONFIGURE_ENABLE= xmms2 +XMMS2_LIB_DEPENDS= libxmmsclient.so:${PORTSDIR}/audio/xmms2 + XOAP_DESC= Display XOAP weather reports +XOAP_CONFIGURE_ENABLE= weather-xoap +XOAP_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ + libxml2.so:${PORTSDIR}/textproc/libxml2 -NO_STAGE= yes .include .if ${PORT_OPTIONS:MARGB} || ${PORT_OPTIONS:MDOUBLE_BUFFER} || ${PORT_OPTIONS:MIMLIB2} || ${PORT_OPTIONS:MLUA_CAIRO} || ${PORT_OPTIONS:MLUA_IMLIB2} || ${PORT_OPTIONS:MXFT} || ${PORT_OPTIONS:MX11} @@ -65,62 +102,13 @@ CONFIGURE_ARGS+= --disable-x11 --disable EXAMPLE_CONF_FILE= ${WRKSRC}/data/conky_no_x11.conf .endif -.if ${PORT_OPTIONS:MAPCUPSD} -CONFIGURE_ARGS+= --enable-apcupsd -.else -CONFIGURE_ARGS+= --disable-apcupsd -.endif - -.if ${PORT_OPTIONS:MARGB} -CONFIGURE_ARGS+= --enable-argb -.else -CONFIGURE_ARGS+= --disable-argb -.endif - -.if ${PORT_OPTIONS:MAUDACIOUS} -LIB_DEPENDS+= audclient:${PORTSDIR}/multimedia/audacious -CONFIGURE_ARGS+= --enable-audacious -.else -CONFIGURE_ARGS+= --disable-audacious -.endif - -.if ${PORT_OPTIONS:MDOUBLE_BUFFER} -CONFIGURE_ARGS+= --enable-double-buffer -.else -CONFIGURE_ARGS+= --disable-double-buffer -.endif - .if ${PORT_OPTIONS:MIMLIB2} || ${PORT_OPTIONS:MLUA_IMLIB2} -LIB_DEPENDS+= Imlib2:${PORTSDIR}/graphics/imlib2 +LIB_DEPENDS+= libImlib2.so:${PORTSDIR}/graphics/imlib2 CONFIGURE_ARGS+= --enable-imlib2 .else CONFIGURE_ARGS+= --disable-imlib2 .endif -.if ${PORT_OPTIONS:MINOTIFY} -LIB_DEPENDS+= inotify:${PORTSDIR}/devel/libinotify -CONFIGURE_ARGS+= --enable-inotify -.else -CONFIGURE_ARGS+= --disable-inotify -.endif - -.if ${PORT_OPTIONS:MLUA_CAIRO} -LIB_DEPENDS+= cairo:${PORTSDIR}/graphics/cairo -BUILD_DEPENDS+= tolua++-5.1:${PORTSDIR}/lang/tolua++ -RUN_DEPENDS+= tolua++-5.1:${PORTSDIR}/lang/tolua++ -CONFIGURE_ARGS+= --enable-lua-cairo -.else -CONFIGURE_ARGS+= --disable-lua-cairo -.endif - -.if ${PORT_OPTIONS:MLUA_IMLIB2} -BUILD_DEPENDS+= tolua++-5.1:${PORTSDIR}/lang/tolua++ -RUN_DEPENDS+= tolua++-5.1:${PORTSDIR}/lang/tolua++ -CONFIGURE_ARGS+= --enable-lua-imlib2 -.else -CONFIGURE_ARGS+= --disable-lua-imlib2 -.endif - .if ${PORT_OPTIONS:MLUA} || ${PORT_OPTIONS:MLUA_CAIRO} || ${PORT_OPTIONS:MLUA_IMLIB2} USE_LUA= 5.1+ CONFIGURE_ARGS+= --enable-lua @@ -128,60 +116,8 @@ CONFIGURE_ARGS+= --enable-lua CONFIGURE_ARGS+= --disable-lua .endif -.if ${PORT_OPTIONS:MMETAR} -LIB_DEPENDS+= curl:${PORTSDIR}/ftp/curl -CONFIGURE_ARGS+= --enable-weather-metar -.else -CONFIGURE_ARGS+= --disable-weather-metar -.endif - -.if ${PORT_OPTIONS:MMOC} -CONFIGURE_ARGS+= --enable-moc -.else -CONFIGURE_ARGS+= --disable-moc -.endif - -.if ${PORT_OPTIONS:MMPD} -CONFIGURE_ARGS+= --enable-mpd -.else -CONFIGURE_ARGS+= --disable-mpd -.endif - -.if ${PORT_OPTIONS:MNCURSES} -CONFIGURE_ARGS+= --enable-ncurses -.else -CONFIGURE_ARGS+= --disable-ncurses -.endif - -.if ${PORT_OPTIONS:MRSS} -LIB_DEPENDS+= curl:${PORTSDIR}/ftp/curl \ - xml2:${PORTSDIR}/textproc/libxml2 -CONFIGURE_ARGS+= --enable-rss -USE_GNOME+= glib20 -.else -CONFIGURE_ARGS+= --disable-rss -.endif - -.if ${PORT_OPTIONS:MXFT} -LIB_DEPENDS+= Xft:${PORTSDIR}/x11-fonts/libXft -CONFIGURE_ARGS+= --enable-xft -.else -CONFIGURE_ARGS+= --disable-xft -.endif - -.if ${PORT_OPTIONS:MXMMS2} -LIB_DEPENDS+= xmmsclient:${PORTSDIR}/audio/xmms2 -CONFIGURE_ARGS+= --enable-xmms2 -.else -CONFIGURE_ARGS+= --disable-xmms2 -.endif - -.if ${PORT_OPTIONS:MXOAP} -LIB_DEPENDS+= curl:${PORTSDIR}/ftp/curl \ - xml2:${PORTSDIR}/textproc/libxml2 -CONFIGURE_ARGS+= --enable-weather-xoap -.else -CONFIGURE_ARGS+= --disable-weather-xoap +.if ${PORT_OPTIONS:MLUA_CAIRO} || ${PORT_OPTIONS:MLUA_IMLIB2} +LUA_COMPS= toluaxx .endif post-patch: @@ -191,23 +127,18 @@ post-patch: ${WRKSRC}/src/imlib2.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/conky ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/doc/conky.1 ${PREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/src/conky ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/doc/conky.1 ${STAGEDIR}${MANPREFIX}/man/man1 post-install: -.if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} - @${INSTALL_DATA} ${EXAMPLE_CONF_FILE} ${EXAMPLESDIR}/conkyrc.sample -.endif - -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${EXAMPLE_CONF_FILE} ${STAGEDIR}${EXAMPLESDIR}/conkyrc.sample + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in README AUTHORS ChangeLog TODO NEWS - ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .for i in docs.html variables.html config_settings.html - ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include Modified: head/sysutils/conky/pkg-descr ============================================================================== --- head/sysutils/conky/pkg-descr Thu Jan 30 19:40:44 2014 (r341878) +++ head/sysutils/conky/pkg-descr Thu Jan 30 19:45:17 2014 (r341879) @@ -1,3 +1,3 @@ Conky is an advanced, highly configurable system monitor for X -WWW: http://conky.sourceforge.net/ +WWW: http://conky.sourceforge.net/