diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2010-05-25 10:40:29 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2010-05-25 10:40:29 +0800 |
commit | 9553df2f0abbb1ac05fbf663578c595722691fcd (patch) | |
tree | 6790660e96a3f0e4d5a51d16679f927c58d603a5 /games/spacejunk/Makefile | |
parent | baa55c3fbc9292729b07638e37b77e7c55f182bf (diff) | |
download | freebsd-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/spacejunk/Makefile')
-rw-r--r-- | games/spacejunk/Makefile | 17 |
1 files changed, 11 insertions, 6 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> |