aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2009-02-02 00:18:22 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2009-02-02 00:18:22 +0800
commite8d9327e5341652ef7ce65490b69a00d7458431e (patch)
tree030c77cd5dc2ec2b6f0483dd22cf22a1315bc120 /games
parent11bd9bf5319b20691545241ce699c0eb94888738 (diff)
downloadfreebsd-ports-gnome-e8d9327e5341652ef7ce65490b69a00d7458431e.tar.gz
freebsd-ports-gnome-e8d9327e5341652ef7ce65490b69a00d7458431e.tar.zst
freebsd-ports-gnome-e8d9327e5341652ef7ce65490b69a00d7458431e.zip
- Update to 1.01
- Install docs
Diffstat (limited to 'games')
-rw-r--r--games/sdl-ball/Makefile12
-rw-r--r--games/sdl-ball/distinfo6
-rw-r--r--games/sdl-ball/files/patch-Makefile15
3 files changed, 24 insertions, 9 deletions
diff --git a/games/sdl-ball/Makefile b/games/sdl-ball/Makefile
index 086850750883..e16242040578 100644
--- a/games/sdl-ball/Makefile
+++ b/games/sdl-ball/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= sdl-ball
-PORTVERSION= 1.0
+PORTVERSION= 1.01
CATEGORIES= games
MASTER_SITES= SF
@@ -20,9 +20,15 @@ MAKE_ENV= DATADIR=${DATADIR}/
WRKSRC= ${WRKDIR}/${PORTNAME}
+PORTDOCS= *
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/sdl-ball ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/sdl-ball ${PREFIX}/bin/
${MKDIR} ${DATADIR}
- cd ${WRKSRC}/themes && ${COPYTREE_SHARE} . ${DATADIR}
+ cd ${WRKSRC}/themes && ${COPYTREE_SHARE} . ${DATADIR}/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
+.endif
.include <bsd.port.mk>
diff --git a/games/sdl-ball/distinfo b/games/sdl-ball/distinfo
index d22a2913bcb0..f445c5880a9f 100644
--- a/games/sdl-ball/distinfo
+++ b/games/sdl-ball/distinfo
@@ -1,3 +1,3 @@
-MD5 (sdl-ball-1.0.tar.bz2) = f7b593103e64e66b7244dd800ac97c98
-SHA256 (sdl-ball-1.0.tar.bz2) = aac5bb41fc7e826e70a59544f954e2c132bc236d2279a194e1483d40da9aad4e
-SIZE (sdl-ball-1.0.tar.bz2) = 3389533
+MD5 (sdl-ball-1.01.tar.bz2) = adf6ff4f4e4ffcff63428281f27c96d7
+SHA256 (sdl-ball-1.01.tar.bz2) = 85e2a857c8c318e81732e3c1e843fc70d7199fa83e2f4efc42239ebbe8d7b9e6
+SIZE (sdl-ball-1.01.tar.bz2) = 3467329
diff --git a/games/sdl-ball/files/patch-Makefile b/games/sdl-ball/files/patch-Makefile
index 9b9ed021c2c6..46f5577ec4c8 100644
--- a/games/sdl-ball/files/patch-Makefile
+++ b/games/sdl-ball/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig 2008-12-31 03:42:35.000000000 +0300
-+++ Makefile 2009-01-11 18:51:37.000000000 +0300
+--- Makefile.orig 2008-12-31 00:42:35.000000000 +0000
++++ Makefile 2009-01-31 03:45:32.000000000 +0000
@@ -2,13 +2,12 @@
#append -DWITH_WIIUSE to compile with WIIUSE support!
@@ -7,7 +7,7 @@
-CC=g++ -DDATADIR="\"$(DATADIR)\""
-CFLAGS+=-c -Wall `sdl-config --cflags`
-+CFLAGS+=-c -Wall `${SDL_CONFIG} --cflags` -DDATADIR="\"$(DATADIR)\""
++CFLAGS+=-Wall `${SDL_CONFIG} --cflags` -DDATADIR="\"$(DATADIR)\""
#append -lwiiuse to compile with WIIUSE support
#remove -lSDL_mixer if compiling with -DNOSOUND
@@ -16,3 +16,12 @@
SOURCES=main.cpp
OBJECTS=$(SOURCES:.cpp=.o)
+@@ -18,7 +17,7 @@
+ all: $(SOURCES) $(EXECUTABLE)
+
+ $(EXECUTABLE): $(OBJECTS)
+- $(CC) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $@
++ $(CC) $(CFLAGS) $(SOURCES) $(LIBS) -o $@
+
+ .cpp.o:
+ $(CC) $(CFLAGS) $< -o $@