diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-04-17 19:21:37 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-04-17 19:21:37 +0000 |
commit | 85653b409d46cb9920d6a8c0439e2e0daebeedbe (patch) | |
tree | 03c4dbd45e87c2b76e006abfdafb677bd2b89f2e | |
parent | a126aa4d82da400623714fb72f0ee57f5bb9edae (diff) | |
download | ports-85653b409d46cb9920d6a8c0439e2e0daebeedbe.tar.gz ports-85653b409d46cb9920d6a8c0439e2e0daebeedbe.zip |
- Add LICENSE
- Add .desktop entry
- Respect CFLAGS/LDFLAGS
Notes
Notes:
svn path=/head/; revision=438749
-rw-r--r-- | games/xpired/Makefile | 13 | ||||
-rw-r--r-- | games/xpired/files/patch-Makefile | 16 |
2 files changed, 21 insertions, 8 deletions
diff --git a/games/xpired/Makefile b/games/xpired/Makefile index f6c9a748f8d6..25dba38b59ee 100644 --- a/games/xpired/Makefile +++ b/games/xpired/Makefile @@ -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 diff --git a/games/xpired/files/patch-Makefile b/games/xpired/files/patch-Makefile index a91bce489971..7e8ebfbdc057 100644 --- a/games/xpired/files/patch-Makefile +++ b/games/xpired/files/patch-Makefile @@ -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 |