From owner-svn-ports-all@freebsd.org Sun Feb 5 22:34:00 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 59609CD2177; Sun, 5 Feb 2017 22:34:00 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 029FC1976; Sun, 5 Feb 2017 22:33:59 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v15MXxKA014529; Sun, 5 Feb 2017 22:33:59 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v15MXx7f014528; Sun, 5 Feb 2017 22:33:59 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201702052233.v15MXx7f014528@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Sun, 5 Feb 2017 22:33:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433464 - head/x11-wm/compton X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Feb 2017 22:34:00 -0000 Author: danfe Date: Sun Feb 5 22:33:58 2017 New Revision: 433464 URL: https://svnweb.freebsd.org/changeset/ports/433464 Log: - Allow to build without `devel/libconfig' and Xinerama support - Provide better DRM and OpenGL option descriptions - Define LICENSE_FILE and remove banal comment in the Makefile Modified: head/x11-wm/compton/Makefile Modified: head/x11-wm/compton/Makefile ============================================================================== --- head/x11-wm/compton/Makefile Sun Feb 5 22:23:32 2017 (r433463) +++ head/x11-wm/compton/Makefile Sun Feb 5 22:33:58 2017 (r433464) @@ -2,14 +2,15 @@ PORTNAME= compton PORTVERSION= 20160907 +PORTREVISION= 1 CATEGORIES= x11-wm MAINTAINER= femc7488@gmail.com COMMENT= Feature-rich compositing window manager for X11 LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE -LIB_DEPENDS= libconfig.so:devel/libconfig RUN_DEPENDS= xprop:x11/xprop \ xwininfo:x11/xwininfo @@ -18,19 +19,24 @@ GH_ACCOUNT= chjj GH_TAGNAME= b7f43ee USES= gmake pkgconfig -USE_XORG= x11 xcomposite xdamage xext xfixes xrandr xrender xinerama +USE_XORG= x11 xcomposite xdamage xext xfixes xrandr xrender MAKE_ARGS= COMPTON_VERSION=git-${PORTVERSION}-${GH_TAGNAME} \ XDGDIR=${LOCALBASE}/etc/xdg ALL_TARGET= ${PORTNAME} -OPTIONS_DEFINE= PCRE DRM OPENGL DBUS DOCS -OPTIONS_DEFAULT= PCRE DRM OPENGL DBUS +OPTIONS_DEFINE= CONFIG PCRE DRM OPENGL DBUS XINERAMA DOCS +OPTIONS_DEFAULT= CONFIG PCRE DRM OPENGL DBUS XINERAMA +CONFIG_DESC= Configuration file parsing support PCRE_DESC= Blacklist support (via libpcre) -DRM_DESC= DRM support +DRM_DESC= DRM VSync method support +OPENGL_DESC= GLX backend, OpenGL VSync method, etc. DOCS_DESC= Build manpages (requires AsciiDoc/DocBook) +CONFIG_LIB_DEPENDS= libconfig.so:devel/libconfig +CONFIG_MAKE_ARGS_OFF= NO_LIBCONFIG=yes + PCRE_LIB_DEPENDS= libpcre.so:devel/pcre PCRE_MAKE_ARGS_OFF= NO_REGEX_PCRE=yes @@ -43,6 +49,9 @@ OPENGL_MAKE_ARGS_OFF= NO_VSYNC_OPENGL=ye DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_MAKE_ARGS_OFF= NO_DBUS=yes +XINERAMA_USE= XORG=xinerama +XINERAMA_MAKE_ARGS_OFF= NO_XINERAMA=yes + DOCS_BUILD_DEPENDS= a2x:textproc/asciidoc \ xsltproc:textproc/libxslt \ docbook-xml>0:textproc/docbook-xml \ @@ -53,7 +62,6 @@ DOCS_PLIST_FILES= man/man1/compton.1.gz DOCS_PORTDOCS= README.md cdbus-driver.sh post-patch: -# Adjust the location of configuration file @${REINPLACE_CMD} -e '/config_system_dir/s|/etc|${LOCALBASE}&|' \ ${WRKSRC}/src/compton.c