From owner-svn-ports-head@freebsd.org Mon Apr 18 14:07:37 2016 Return-Path: Delivered-To: svn-ports-head@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 B3553B12796; Mon, 18 Apr 2016 14:07:37 +0000 (UTC) (envelope-from mat@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 8EB961895; Mon, 18 Apr 2016 14:07:37 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3IE7a0n081738; Mon, 18 Apr 2016 14:07:36 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3IE7aJZ081735; Mon, 18 Apr 2016 14:07:36 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201604181407.u3IE7aJZ081735@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Mon, 18 Apr 2016 14:07:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r413581 - in head/x11/sxhkd: . files 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.21 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: Mon, 18 Apr 2016 14:07:37 -0000 Author: mat Date: Mon Apr 18 14:07:36 2016 New Revision: 413581 URL: https://svnweb.freebsd.org/changeset/ports/413581 Log: Update to 0.5.6. PR: 208871 Submitted by: tkato432 yahoo com Sponsored by: Absolight Modified: head/x11/sxhkd/Makefile (contents, props changed) head/x11/sxhkd/distinfo (contents, props changed) head/x11/sxhkd/files/patch-Makefile (contents, props changed) Modified: head/x11/sxhkd/Makefile ============================================================================== --- head/x11/sxhkd/Makefile Mon Apr 18 14:07:30 2016 (r413580) +++ head/x11/sxhkd/Makefile Mon Apr 18 14:07:36 2016 (r413581) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= sxhkd -PORTVERSION= 0.5.5 -PORTREVISION= 1 +PORTVERSION= 0.5.6 CATEGORIES= x11 MAINTAINER= ports@FreeBSD.org @@ -17,9 +16,12 @@ LIB_DEPENDS= libxcb-keysyms.so:x11/xcb-u USE_GITHUB= yes GH_ACCOUNT= baskerville -USES= gmake +USES= gmake pkgconfig +PORTEXAMPLES= * PLIST_FILES= bin/sxhkd \ man/man1/sxhkd.1.gz +OPTIONS_DEFINE= EXAMPLES + .include Modified: head/x11/sxhkd/distinfo ============================================================================== --- head/x11/sxhkd/distinfo Mon Apr 18 14:07:30 2016 (r413580) +++ head/x11/sxhkd/distinfo Mon Apr 18 14:07:36 2016 (r413581) @@ -1,2 +1,2 @@ -SHA256 (baskerville-sxhkd-0.5.5_GH0.tar.gz) = e6699f77564e34a890d27f6c251e1ed29b04f5177e48290e7f02948497f04313 -SIZE (baskerville-sxhkd-0.5.5_GH0.tar.gz) = 34634 +SHA256 (baskerville-sxhkd-0.5.6_GH0.tar.gz) = 72366eea4d7ed17a3a9eab5257e59edf9a7cd63b926af1dca2d895dfefaff995 +SIZE (baskerville-sxhkd-0.5.6_GH0.tar.gz) = 35301 Modified: head/x11/sxhkd/files/patch-Makefile ============================================================================== --- head/x11/sxhkd/files/patch-Makefile Mon Apr 18 14:07:30 2016 (r413580) +++ head/x11/sxhkd/files/patch-Makefile Mon Apr 18 14:07:36 2016 (r413581) @@ -1,31 +1,42 @@ ---- Makefile.orig 2015-03-20 21:31:37 UTC +--- Makefile.orig 2016-03-15 16:20:41 UTC +++ Makefile -@@ -3,13 +3,13 @@ VERSION = 0.5.5 +@@ -1,14 +1,14 @@ + NAME = sxhkd + VERSION := $(shell git describe 2> /dev/null || cat VERSION) - CC ?= gcc - LIBS = -lm -lxcb -lxcb-keysyms --CFLAGS += -std=c99 -pedantic -Wall -Wextra -I$(PREFIX)/include -+CFLAGS += -std=c99 -pedantic -Wall -Wextra -I$(LOCALBASE)/include - CFLAGS += -D_POSIX_C_SOURCE=200112L -DVERSION=\"$(VERSION)\" --LDFLAGS += -L$(PREFIX)/lib -+LDFLAGS += -L$(LOCALBASE)/lib +-CPPFLAGS += -D_POSIX_C_SOURCE=200112L -DVERSION=\"$(VERSION)\" ++CPPFLAGS += $(shell pkg-config --cflags xcb-keysyms) -DVERSION=\"$(VERSION)\" + CFLAGS += -std=c99 -pedantic -Wall -Wextra +-LDLIBS = -lxcb -lxcb-keysyms ++LDLIBS = $(shell pkg-config --libs xcb-keysyms) PREFIX ?= /usr/local - BINPREFIX = $(PREFIX)/bin --MANPREFIX = $(PREFIX)/share/man +-BINPREFIX ?= $(PREFIX)/bin +-MANPREFIX ?= $(PREFIX)/share/man +-DOCPREFIX ?= $(PREFIX)/share/doc/$(NAME) ++BINPREFIX = $(PREFIX)/bin +MANPREFIX = $(PREFIX)/man ++EXPREFIX = $(PREFIX)/share/examples/$(NAME) SRC = $(wildcard *.c) OBJ = $(SRC:.c=.o) -@@ -33,9 +33,9 @@ $(NAME): $(OBJ) +@@ -27,11 +27,15 @@ $(NAME): $(OBJ) install: mkdir -p "$(DESTDIR)$(BINPREFIX)" -- cp -p $(NAME) "$(DESTDIR)$(BINPREFIX)" +- cp -pf $(NAME) "$(DESTDIR)$(BINPREFIX)" + ${BSD_INSTALL_PROGRAM} $(NAME) "$(DESTDIR)$(BINPREFIX)" mkdir -p "$(DESTDIR)$(MANPREFIX)"/man1 - cp -p doc/$(NAME).1 "$(DESTDIR)$(MANPREFIX)"/man1 +- mkdir -p "$(DESTDIR)$(DOCPREFIX)" +- cp -pr examples "$(DESTDIR)$(DOCPREFIX)"/examples + ${BSD_INSTALL_MAN} doc/$(NAME).1 "$(DESTDIR)$(MANPREFIX)"/man1 ++ mkdir -p "$(DESTDIR)$(EXPREFIX)/background_shell" ++ ${BSD_INSTALL_DATA} examples/background_shell/* \ ++ "$(DESTDIR)$(EXPREFIX)/background_shell" ++ mkdir -p "$(DESTDIR)$(EXPREFIX)/notification" ++ ${BSD_INSTALL_DATA} examples/notification/* \ ++ "$(DESTDIR)$(EXPREFIX)/notification" uninstall: rm -f "$(DESTDIR)$(BINPREFIX)"/$(NAME)