1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

- Update to 1.0.4

This commit is contained in:
Dmitry Marakasov 2010-05-25 02:40:29 +00:00
parent 5cafa250a9
commit ac399ce991
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=255025
3 changed files with 15 additions and 9 deletions

View File

@ -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>

View File

@ -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

View File

@ -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