aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-04-10 23:44:31 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-04-10 23:44:31 +0800
commit6debb43cad35ecc9c7baf39400fb4fb71fc9fddd (patch)
tree70e646ef4ddd80b0eb93cfa30622db9ee63304d0 /games
parentb03cd4f1c30376a15cf984a907cfa3c2d19e2192 (diff)
downloadfreebsd-ports-gnome-6debb43cad35ecc9c7baf39400fb4fb71fc9fddd.tar.gz
freebsd-ports-gnome-6debb43cad35ecc9c7baf39400fb4fb71fc9fddd.tar.zst
freebsd-ports-gnome-6debb43cad35ecc9c7baf39400fb4fb71fc9fddd.zip
- Update to 1.03
- Switch to options helpers - Regenerate patches
Diffstat (limited to 'games')
-rw-r--r--games/sdl-ball/Makefile16
-rw-r--r--games/sdl-ball/distinfo5
-rw-r--r--games/sdl-ball/files/patch-Makefile8
3 files changed, 17 insertions, 12 deletions
diff --git a/games/sdl-ball/Makefile b/games/sdl-ball/Makefile
index b714d2452c3d..877a6be05f90 100644
--- a/games/sdl-ball/Makefile
+++ b/games/sdl-ball/Makefile
@@ -2,10 +2,10 @@
# $FreeBSD$
PORTNAME= sdl-ball
-PORTVERSION= 1.02
-PORTREVISION= 1
+PORTVERSION= 1.03
CATEGORIES= games
MASTER_SITES= SF
+DISTNAME= SDL-Ball_${PORTVERSION}_build-6_src
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Arkanoid/Breakout clone with pretty graphics
@@ -13,7 +13,9 @@ COMMENT= Arkanoid/Breakout clone with pretty graphics
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= tar:bzip2 dos2unix gmake
+WRKSRC= ${WRKDIR}/SDL-Ball_source_build_0006_src
+
+USES= dos2unix gmake tar:xz
USE_SDL= sdl mixer image ttf
USE_GL= gl glu
MAKE_ENV= DATADIR=${DATADIR}/
@@ -29,11 +31,13 @@ OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
- ${MKDIR} ${STAGEDIR}${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC}/themes && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/themes/default/icon32.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
${INSTALL_DATA} ${WRKSRC}/sdl-ball.desktop ${STAGEDIR}${PREFIX}/share/applications/
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
+
.include <bsd.port.mk>
diff --git a/games/sdl-ball/distinfo b/games/sdl-ball/distinfo
index 95bc2163b3f9..95b0da356f7f 100644
--- a/games/sdl-ball/distinfo
+++ b/games/sdl-ball/distinfo
@@ -1,2 +1,3 @@
-SHA256 (sdl-ball-1.02.tar.bz2) = 03ae91c0ddbcf055a224b765da55dc5c8417e9b09971eb56280c8e602ba01423
-SIZE (sdl-ball-1.02.tar.bz2) = 3286131
+TIMESTAMP = 1491830927
+SHA256 (SDL-Ball_1.03_build-6_src.tar.xz) = 6910a7166d16e3bfe4a67b538d02e25eec0d06276aef399b9143fd246cd76442
+SIZE (SDL-Ball_1.03_build-6_src.tar.xz) = 4760328
diff --git a/games/sdl-ball/files/patch-Makefile b/games/sdl-ball/files/patch-Makefile
index 858b9fbb6d3d..2313baf90f69 100644
--- a/games/sdl-ball/files/patch-Makefile
+++ b/games/sdl-ball/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig 2008-12-31 03:42:35.000000000 +0300
-+++ Makefile 2014-12-01 00:26:16.000000000 +0300
-@@ -2,9 +2,9 @@
+--- Makefile.orig 2016-08-25 16:21:38 UTC
++++ Makefile
+@@ -2,9 +2,9 @@ DATADIR?=themes/
#append -DWITH_WIIUSE to compile with WIIUSE support!
#append -DNOSOUND to compile WITHOUT sound support
@@ -12,7 +12,7 @@
#append -lwiiuse to compile with WIIUSE support
#remove -lSDL_mixer if compiling with -DNOSOUND
-@@ -18,10 +18,10 @@
+@@ -18,10 +18,10 @@ EXECUTABLE=sdl-ball
all: $(SOURCES) $(EXECUTABLE)
$(EXECUTABLE): $(OBJECTS)