ports/160728: [update]games/alephone
green dog
fiziologus at gmail.com
Wed Sep 14 10:10:07 UTC 2011
>Number: 160728
>Category: ports
>Synopsis: [update]games/alephone
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Sep 14 10:10:06 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: green dog
>Release: FreeBSD-8.2
>Organization:
>Environment:
FreeBSD localhost.my.domain 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
update to 20110731 (bugfix release)
add build options, fix depends.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN alephone/Makefile alephone-new/Makefile
--- alephone/Makefile 2010-08-11 10:57:24.000000000 +0400
+++ alephone-new/Makefile 2011-09-14 10:06:47.000000000 +0400
@@ -6,31 +6,71 @@
#
PORTNAME= alephone
-PORTVERSION= 20100424
-PORTREVISION= 1
+PORTVERSION= 20110731
CATEGORIES= games
-MASTER_SITES= SF/marathon/Aleph%20One/2010-04-24
+MASTER_SITES= SF/marathon/Aleph%20One/2011-07-31
DISTNAME= AlephOne-${PORTVERSION}
MAINTAINER= fiziologus at gmail.com
COMMENT= The open source version of Bungie's Marathon game
-LIB_DEPENDS= speex.1:${PORTSDIR}/audio/speex
-BUILD_DEPENDS= ${LOCALBASE}/include/boost/function.hpp:${PORTSDIR}/devel/boost-libs \
- ${LOCALBASE}/include/zzip/lib.h:${PORTSDIR}/devel/zziplib
-
+BUILD_DEPENDS+= ${LOCALBASE}/include/boost/function.hpp:${PORTSDIR}/devel/boost-libs
USE_BZIP2= yes
+USE_SDL+= image net sdl sound
USE_GL= yes
USE_LUA= 5.1
-USE_SDL= image ttf net sdl sound
+PKG_CONFIG?= ${LOCALBASE}/bin/pkg-config
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LUA_INCDIR}" \
- LDFLAGS="-L${LOCALBASE}/lib -L${LUA_LIBDIR}"
+CONFIGURE_ARGS+=--disable-alsa --disable-sndfile
+CONFIGURE_ENV= PKG_CONFIG="${PKG_CONFIG}"
DATADIR= ${PREFIX}/share/AlephOne
MAN6= alephone.6
+OPTIONS= MAD "use libmad for mp3 playback" on \
+ OGG "enable ogg/vorbis music playback" on \
+ SPEEX "enable speex net mic playback" on \
+ SMPEG "use SMPEG for movie playback" on \
+ TTF "enable SDL_ttf font rendering" on \
+ ZZIP "enable zziplib support" on
+
+.if !defined(WITHOUT_MAD)
+CONFIGURE_ARGS+=--disable-mad
+.else
+LIB_DEPEND+= mad.2:${PORTSDIR}/audio/libmad
+.endif
+
+.if !defined(WITHOUT_OGG)
+CONFIGURE_ARGS+=--disable-vorbis
+.else
+LIB_DEPEND+= vorbisfile.6:${PORTSDIR}/audio/libvorbis
+.endif
+
+.if !defined(WITHOUT_SPEEX)
+CONFIGURE_ARGS+=--disable-speex
+.else
+LIB_DEPENDS+= speex.1:${PORTSDIR}/audio/speex
+.endif
+
+.if !defined(WITHOUT_SMPEG)
+CONFIGURE_ARGS+=--disable-smpeg
+.else
+LIB_DEPENDS+= smpeg.1:${PORTSDIR}/multimedia/smpeg
+.endif
+
+.if !defined(WITHOUT_TTF)
+CONFIGURE_ARGS+=--disable-ttf
+.else
+USE_SDL+= ttf
+.endif
+
+.if !defined(WITHOUT_ZZIP)
+CONFIGURE_ARGS+=--disable-zzip
+.else
+LIB_DEPENDS+= zzip.13:${PORTSDIR}/devel/zziplib
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
diff -ruN alephone/distinfo alephone-new/distinfo
--- alephone/distinfo 2011-07-03 18:23:25.000000000 +0400
+++ alephone-new/distinfo 2011-09-14 10:06:47.000000000 +0400
@@ -1,2 +1,2 @@
-SHA256 (AlephOne-20100424.tar.bz2) = d97089890ce99952027eaf6185baa6cb01b26c2882dfca9e68816dfe7076a5e6
-SIZE (AlephOne-20100424.tar.bz2) = 3180896
+SHA256 (AlephOne-20110731.tar.bz2) = c18ec39350e22ac58436bdb13db46a9db94e9ea68cfaf845588f3da1b21edf2b
+SIZE (AlephOne-20110731.tar.bz2) = 3046086
diff -ruN alephone/files/patch-Source_Files_Network_Metaserver_network_metaserver.h alephone-new/files/patch-Source_Files_Network_Metaserver_network_metaserver.h
--- alephone/files/patch-Source_Files_Network_Metaserver_network_metaserver.h 2010-12-27 23:55:07.000000000 +0300
+++ alephone-new/files/patch-Source_Files_Network_Metaserver_network_metaserver.h 1970-01-01 03:00:00.000000000 +0300
@@ -1,10 +0,0 @@
---- Source_Files/Network/Metaserver/network_metaserver.h.orig 2010-12-10 15:54:11.000000000 +0300
-+++ Source_Files/Network/Metaserver/network_metaserver.h 2010-12-10 15:54:23.000000000 +0300
-@@ -32,6 +32,7 @@
- #include <map>
- #include <memory> // auto_ptr
- #include <set>
-+#include <stdexcept>
-
- #include "Logging.h"
-
diff -ruN alephone/pkg-plist alephone-new/pkg-plist
--- alephone/pkg-plist 2010-08-02 22:33:29.000000000 +0400
+++ alephone-new/pkg-plist 2011-09-14 10:06:47.000000000 +0400
@@ -5,7 +5,7 @@
%%DATADIR%%/MML/Transparent_Sprites.mml
%%DATADIR%%/Themes/Default/DejaVuLGCSansCondensed-Bold.ttf
%%DATADIR%%/Themes/Default/DejaVuLGCSansCondensed-BoldOblique.ttf
-%%DATADIR%%/Themes/Default/bankgthd.ttf
+%%DATADIR%%/Themes/Default/Squarish_Sans_CT_Medium.ttf
%%DATADIR%%/Themes/Default/button_c.bmp
%%DATADIR%%/Themes/Default/button_c_p.bmp
%%DATADIR%%/Themes/Default/button_l.bmp
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list