aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2010-05-25 10:40:29 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2010-05-25 10:40:29 +0800
commit9553df2f0abbb1ac05fbf663578c595722691fcd (patch)
tree6790660e96a3f0e4d5a51d16679f927c58d603a5 /games
parentbaa55c3fbc9292729b07638e37b77e7c55f182bf (diff)
downloadfreebsd-ports-gnome-9553df2f0abbb1ac05fbf663578c595722691fcd.tar.gz
freebsd-ports-gnome-9553df2f0abbb1ac05fbf663578c595722691fcd.tar.zst
freebsd-ports-gnome-9553df2f0abbb1ac05fbf663578c595722691fcd.zip
- Update to 1.0.4
Diffstat (limited to 'games')
-rw-r--r--games/spacejunk/Makefile17
-rw-r--r--games/spacejunk/distinfo6
-rw-r--r--games/spacejunk/pkg-plist1
3 files changed, 15 insertions, 9 deletions
diff --git a/games/spacejunk/Makefile b/games/spacejunk/Makefile
index 6ab4bf1339cb..4414ec875681 100644
--- a/games/spacejunk/Makefile
+++ b/games/spacejunk/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= spacejunk
-PORTVERSION= 1.0.3
-PORTREVISION= 1
+PORTVERSION= 1.0.4
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
@@ -15,12 +14,11 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= A video game about traveling in 2D planetary systems
USE_SDL= sdl mixer image
+USE_AUTOTOOLS= automake:110
+AUTOMAKE_ARGS= -i --add-missing
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
-ONLY_FOR_ARCHS= i386 amd64
-ONLY_FOR_ARCHS_REASON= fails to compile on sparc64; not yet tested elsewhere
-
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="${PTHREAD_LIBS}"
@@ -28,10 +26,17 @@ SUB_FILES= spacejunk
PORTDOCS= *
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "sparc64"
+BROKEN= Doesn't compile on sparc64"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/gem-uta.c \
${WRKSRC}/libinfo/gem-uta.c
@${REINPLACE_CMD} -e 's|data/|${DATADIR}/&|' ${WRKSRC}/src/*.c*
+ @${RM} -f ${WRKSRC}/config.guess
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/spacejunk ${PREFIX}/libexec/
@@ -43,4 +48,4 @@ do-install:
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} '*' ${DOCSDIR}/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/spacejunk/distinfo b/games/spacejunk/distinfo
index d085ed129540..cc82c494dc05 100644
--- a/games/spacejunk/distinfo
+++ b/games/spacejunk/distinfo
@@ -1,3 +1,3 @@
-MD5 (spacejunk-1.0.3.tar.gz) = 91d84c7d8b320e1a52e586ce84e95875
-SHA256 (spacejunk-1.0.3.tar.gz) = 53f1deec2a4afb8e1a16cb2261b0af5a768ba53185a4feae3c011a17f93421b1
-SIZE (spacejunk-1.0.3.tar.gz) = 5945291
+MD5 (spacejunk-1.0.4.tar.gz) = 18fa7fc460014453d5b7c20130f6e99c
+SHA256 (spacejunk-1.0.4.tar.gz) = 715c6df9159c2537b3a084b5002b44f47d7f6e4991619224287069c76c070b3f
+SIZE (spacejunk-1.0.4.tar.gz) = 7655961
diff --git a/games/spacejunk/pkg-plist b/games/spacejunk/pkg-plist
index efe375e0e7cb..f88fa3cd404c 100644
--- a/games/spacejunk/pkg-plist
+++ b/games/spacejunk/pkg-plist
@@ -137,6 +137,7 @@ libexec/spacejunk
%%DATADIR%%/data/art/viewpointbutton.png
%%DATADIR%%/data/art/zoomminusbutton.png
%%DATADIR%%/data/art/zoomplusbutton.png
+%%DATADIR%%/data/config.txt
%%DATADIR%%/data/en/levels/level1
%%DATADIR%%/data/en/levels/level10
%%DATADIR%%/data/en/levels/level11