From owner-svn-ports-head@freebsd.org Mon Apr 17 19:21:38 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 AA6ABD41C21; Mon, 17 Apr 2017 19:21:38 +0000 (UTC) (envelope-from amdmi3@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 5D657E43; Mon, 17 Apr 2017 19:21:38 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3HJLbnR066693; Mon, 17 Apr 2017 19:21:37 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3HJLblG066691; Mon, 17 Apr 2017 19:21:37 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201704171921.v3HJLblG066691@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 17 Apr 2017 19:21:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r438749 - in head/games/xpired: . 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.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: Mon, 17 Apr 2017 19:21:38 -0000 Author: amdmi3 Date: Mon Apr 17 19:21:37 2017 New Revision: 438749 URL: https://svnweb.freebsd.org/changeset/ports/438749 Log: - Add LICENSE - Add .desktop entry - Respect CFLAGS/LDFLAGS Modified: head/games/xpired/Makefile head/games/xpired/files/patch-Makefile Modified: head/games/xpired/Makefile ============================================================================== --- head/games/xpired/Makefile Mon Apr 17 19:00:17 2017 (r438748) +++ head/games/xpired/Makefile Mon Apr 17 19:21:37 2017 (r438749) @@ -3,17 +3,26 @@ PORTNAME= xpired PORTVERSION= 1.22 -PORTREVISION= 22 +PORTREVISION= 23 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-linux/${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION}-linux_source MAINTAINER= ports@FreeBSD.org -COMMENT= Action-puzzle maze escape game (SDL) +COMMENT= Action-puzzle maze escape game + +LICENSE= GPLv2+ USE_SDL= gfx image mixer sdl WRKSRC= ${WRKDIR}/src +DESKTOP_ENTRIES="Xpired" \ + "" \ + "${DATADIR}/img/icon.bmp" \ + "${PORTNAME}" \ + "Game;LogicGame;ActionGame;" \ + "" + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xpired ${WRKSRC}/xpiredit \ ${STAGEDIR}${PREFIX}/bin Modified: head/games/xpired/files/patch-Makefile ============================================================================== --- head/games/xpired/files/patch-Makefile Mon Apr 17 19:00:17 2017 (r438748) +++ head/games/xpired/files/patch-Makefile Mon Apr 17 19:21:37 2017 (r438749) @@ -1,11 +1,15 @@ ---- Makefile.orig 2013-10-18 04:17:46.000000000 +1100 -+++ Makefile 2013-10-18 04:17:55.000000000 +1100 -@@ -2,7 +2,7 @@ +--- Makefile.orig 2002-08-01 18:42:51 UTC ++++ Makefile +@@ -1,8 +1,8 @@ +-PREFIX=/usr/local ++PREFIX?=/usr/local SHARE_PREFIX=$(PREFIX)/share/xpired - CFLAGS=`sdl-config --cflags` -DUNIX -DPREFIX=\"$(PREFIX)\" -DSHARE_PREFIX=\"$(SHARE_PREFIX)\" - LDFLAGS=`sdl-config --libs` -lSDL -lSDL_mixer -lSDL_image -lSDL_gfx +-CFLAGS=`sdl-config --cflags` -DUNIX -DPREFIX=\"$(PREFIX)\" -DSHARE_PREFIX=\"$(SHARE_PREFIX)\" +-LDFLAGS=`sdl-config --libs` -lSDL -lSDL_mixer -lSDL_image -lSDL_gfx -CC=gcc -+CC=cc ++CFLAGS+=`sdl-config --cflags` -DUNIX -DPREFIX=\"$(PREFIX)\" -DSHARE_PREFIX=\"$(SHARE_PREFIX)\" ++LDFLAGS+=`sdl-config --libs` -lSDL -lSDL_mixer -lSDL_image -lSDL_gfx ++CC?=cc BINARIES = xpired xpiredit