- Add LICENSE
- Add .desktop entry - Respect CFLAGS/LDFLAGS
This commit is contained in:
parent
a126aa4d82
commit
85653b409d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438749
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user