Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2013 23:57:28 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332333 - head/x11-wm/awesome
Message-ID:  <201310312357.r9VNvSSt020311@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: garga
Date: Thu Oct 31 23:57:27 2013
New Revision: 332333
URL: http://svnweb.freebsd.org/changeset/ports/332333

Log:
  . Simplify Makefile
  . Add missing dependency: gdkpixbuf2
  . Bump PORTREVISION

Modified:
  head/x11-wm/awesome/Makefile

Modified: head/x11-wm/awesome/Makefile
==============================================================================
--- head/x11-wm/awesome/Makefile	Thu Oct 31 23:56:00 2013	(r332332)
+++ head/x11-wm/awesome/Makefile	Thu Oct 31 23:57:27 2013	(r332333)
@@ -3,6 +3,7 @@
 
 PORTNAME=	awesome
 PORTVERSION=	3.5.2
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	x11-wm
 MASTER_SITES=	http://awesome.naquadah.org/download/
@@ -36,7 +37,7 @@ USE_XZ=		yes
 USES=		cmake iconv pkgconfig
 CMAKE_ARGS+=	-DSYSCONFDIR=${PREFIX}/etc
 USE_EFL=	imlib2
-USE_GNOME=	glib20 pango
+USE_GNOME=	glib20 pango gdkpixbuf2
 USE_LUA=	5.1+
 USE_XORG=	pixman x11 xau xcb xdmcp xext xft xinerama xrandr xrender \
 		xproto
@@ -47,6 +48,10 @@ PORTDOCS=	AUTHORS BUGS LICENSE README
 OPTIONS_DEFINE=	DBUS DOCS
 OPTIONS_DEFAULT=DBUS DOCS
 
+DBUS_LIB_DEPENDS=	libdbus-1.so:${PORTSDIR}/devel/dbus
+DBUS_CMAKE_ON=		-DWITH_DBUS=YES
+DBUS_CMAKE_OFF=		-DWITH_DBUS=NO
+
 .include <bsd.port.pre.mk>
 
 .if	(exists(${LOCALBASE}/libdata/pkgconfig/cairo.pc) && \
@@ -54,19 +59,6 @@ OPTIONS_DEFAULT=DBUS DOCS
 IGNORE=	cannot find dependency: The cairo exists but not with XCB support. Please reinstall graphics/cairo with XCB support
 .endif
 
-.if ${PORT_OPTIONS:MDBUS}
-LIB_DEPENDS += libdbus-1.so:${PORTSDIR}/devel/dbus
-CMAKE_ARGS += -DWITH_DBUS=YES
-.else
-CMAKE_ARGS += -DWITH_DBUS=NO
-.endif
-
-.if ${PORT_OPTIONS:MDOCS}
-CMAKE_ARGS += -DINSTALL_PORTDOCS=YES -DGENERATE_DOC=YES
-.else
-CMAKE_ARGS += -DINSTALL_PORTDOCS=NO -DGENERATE_DOC=NO
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e "/LUA_EXECUTABLE lua/ s,lua,lua-${LUA_VER}," \
 		${WRKSRC}/awesomeConfig.cmake



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