From owner-svn-ports-head@freebsd.org Fri Mar 31 07:18:59 2017 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 4E938D26B83; Fri, 31 Mar 2017 07:18:59 +0000 (UTC) (envelope-from jbeich@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 11D429B9; Fri, 31 Mar 2017 07:18:59 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2V7IwbM016527; Fri, 31 Mar 2017 07:18:58 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2V7Iv1C016522; Fri, 31 Mar 2017 07:18:57 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201703310718.v2V7Iv1C016522@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Fri, 31 Mar 2017 07:18:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r437340 - in head/x11: . controllermap 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.23 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: Fri, 31 Mar 2017 07:18:59 -0000 Author: jbeich Date: Fri Mar 31 07:18:57 2017 New Revision: 437340 URL: https://svnweb.freebsd.org/changeset/ports/437340 Log: x11/controllermap: add new port controllermap helps to map buttons on Xbox 360 style gamepad for use with SDL_GameController API. The output can be appended into an existing gamecontrollerdb.txt file or to SDL_GAMECONTROLLERCONFIG. Based on: AUR package Added: head/x11/controllermap/ head/x11/controllermap/Makefile (contents, props changed) head/x11/controllermap/distinfo (contents, props changed) head/x11/controllermap/pkg-descr (contents, props changed) Modified: head/x11/Makefile (contents, props changed) Modified: head/x11/Makefile ============================================================================== --- head/x11/Makefile Fri Mar 31 06:20:45 2017 (r437339) +++ head/x11/Makefile Fri Mar 31 07:18:57 2017 (r437340) @@ -33,6 +33,7 @@ SUBDIR += cinnamon-session SUBDIR += cl-clx SUBDIR += compositeproto + SUBDIR += controllermap SUBDIR += cool-retro-term SUBDIR += damageproto SUBDIR += decurs Added: head/x11/controllermap/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/controllermap/Makefile Fri Mar 31 07:18:57 2017 (r437340) @@ -0,0 +1,35 @@ +# $FreeBSD$ + +PORTNAME= controllermap +PORTVERSION= 2.0.5 +CATEGORIES= x11 +MASTER_SITES= http://www.libsdl.org/release/ +DISTNAME= SDL2-${DISTVERSION} + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Game controller mapping generator + +LICENSE= PD +LICENSE_FILE= ${WRKSRC}/COPYING + +USE_SDL= sdl2 +WRKSRC_SUBDIR= test +CFLAGS+= `sdl2-config --cflags` +LIBS+= `sdl2-config --libs` +MAKEFILE= /dev/null +MAKE_ENV= LDLIBS="${LIBS}" +ALL_TARGET= ${PORTNAME} testgamecontroller testjoystick +PLIST_FILES= ${ALL_TARGET:S,^,bin/,} +PORTDATA= ${PORTNAME}.bmp axis.bmp button.bmp + +post-patch: + @${REINPLACE_CMD} '/bmp/s,","${DATADIR}/,' \ + ${ALL_TARGET:S,^,${WRKSRC}/,:S,$,.c,} + +do-install: + ${INSTALL_PROGRAM} ${ALL_TARGET:S,^,${WRKSRC}/,} \ + ${STAGEDIR}${PREFIX}/bin + (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" \ + ${STAGEDIR}${DATADIR}) + +.include Added: head/x11/controllermap/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/controllermap/distinfo Fri Mar 31 07:18:57 2017 (r437340) @@ -0,0 +1,3 @@ +TIMESTAMP = 1476935787 +SHA256 (SDL2-2.0.5.tar.gz) = 442038cf55965969f2ff06d976031813de643af9c9edc9e331bd761c242e8785 +SIZE (SDL2-2.0.5.tar.gz) = 4209352 Added: head/x11/controllermap/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/controllermap/pkg-descr Fri Mar 31 07:18:57 2017 (r437340) @@ -0,0 +1,3 @@ +controllermap helps to map buttons on Xbox 360 style gamepad for use +with SDL_GameController API. The output can be appended into an +existing gamecontrollerdb.txt file or to SDL_GAMECONTROLLERCONFIG.