Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2017 19:21:37 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438749 - in head/games/xpired: . files
Message-ID:  <201704171921.v3HJLblG066691@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
  



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