From 713db681e47b6bb67572ec6d1e11f402fa3e3f50 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Thu, 3 Sep 2009 03:38:20 +0000 Subject: SpringLobby is a free cross-platform lobby client for the Spring RTS project. WWW: http://springlobby.info/ --- games/Makefile | 1 + games/springlobby/Makefile | 61 +++++++++++++++++++++++++++++++++++++++++++++ games/springlobby/distinfo | 3 +++ games/springlobby/pkg-descr | 4 +++ games/springlobby/pkg-plist | 24 ++++++++++++++++++ 5 files changed, 93 insertions(+) create mode 100644 games/springlobby/Makefile create mode 100644 games/springlobby/distinfo create mode 100644 games/springlobby/pkg-descr create mode 100644 games/springlobby/pkg-plist diff --git a/games/Makefile b/games/Makefile index c438cd82e3fe..88cb75a8b3fe 100644 --- a/games/Makefile +++ b/games/Makefile @@ -795,6 +795,7 @@ SUBDIR += spicetrade SUBDIR += spider SUBDIR += spring + SUBDIR += springlobby SUBDIR += starlanes SUBDIR += stepbill SUBDIR += stepmania-devel diff --git a/games/springlobby/Makefile b/games/springlobby/Makefile new file mode 100644 index 000000000000..ecdc160a6667 --- /dev/null +++ b/games/springlobby/Makefile @@ -0,0 +1,61 @@ +# New ports collection makefile for: springlobby +# Date created: 02 Sep 2009 +# Whom: Dmitry Marakasov +# +# $FreeBSD$ +# + +PORTNAME= springlobby +PORTVERSION= 0.19 +CATEGORIES= games net +MASTER_SITES= http://www.springlobby.info/tarballs/ \ + http://mirror.amdmi3.ru/ + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= Cross-platform lobby client for the Spring RTS project + +RUN_DEPENDS= spring:${PORTSDIR}/games/spring + +USE_BZIP2= yes +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_WX= 2.8+ +MAKE_JOBS_SAFE= yes + +CONFIGURE_ARGS= --with-wx-config=${WX_CONFIG} +CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" + +PORTDOCS= * + +OPTIONS= TORRENT "Support automatic content downloads via torrent" on \ + SOUND "Enable sound" on + +.include + +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.endif + +.if !defined(WITHOUT_TORRENT) +LIB_DEPENDS+= torrent.1:${PORTSDIR}/net-p2p/rblibtorrent +.else +CONFIGURE_ARGS+=--disable-torrent-system +.endif + +.if !defined(WITHOUT_SOUND) +USE_SDL+= sdl mixer +.else +CONFIGURE_ARGS+=--disable-sound +.endif + +.if defined(NOPORTDOCS) +post-patch: + @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-dist_docDATA||' \ + ${WRKSRC}/Makefile.in +.endif + +.include diff --git a/games/springlobby/distinfo b/games/springlobby/distinfo new file mode 100644 index 000000000000..0ba66c5d4c1b --- /dev/null +++ b/games/springlobby/distinfo @@ -0,0 +1,3 @@ +MD5 (springlobby-0.19.tar.bz2) = ba0e60f5389f582fe57a7d98b1926604 +SHA256 (springlobby-0.19.tar.bz2) = f23efc669a19e31dea9e10c4210d9945530dc4605ba1b71c6f3ecc4a3fccfca5 +SIZE (springlobby-0.19.tar.bz2) = 1801340 diff --git a/games/springlobby/pkg-descr b/games/springlobby/pkg-descr new file mode 100644 index 000000000000..3346aec1a883 --- /dev/null +++ b/games/springlobby/pkg-descr @@ -0,0 +1,4 @@ +SpringLobby is a free cross-platform lobby client for the +Spring RTS project. + +WWW: http://springlobby.info/ diff --git a/games/springlobby/pkg-plist b/games/springlobby/pkg-plist new file mode 100644 index 000000000000..5c29d2da361c --- /dev/null +++ b/games/springlobby/pkg-plist @@ -0,0 +1,24 @@ +bin/springlobby +bin/springsettings +share/applications/springlobby.desktop +%%NLS%%share/locale/ar/LC_MESSAGES/springlobby.mo +%%NLS%%share/locale/cs/LC_MESSAGES/springlobby.mo +%%NLS%%share/locale/da/LC_MESSAGES/springlobby.mo +%%NLS%%share/locale/de/LC_MESSAGES/springlobby.mo +%%NLS%%share/locale/el/LC_MESSAGES/springlobby.mo +%%NLS%%share/locale/en_US/LC_MESSAGES/springlobby.mo +%%NLS%%share/locale/es/LC_MESSAGES/springlobby.mo +%%NLS%%share/locale/fi/LC_MESSAGES/springlobby.mo +%%NLS%%share/locale/fr/LC_MESSAGES/springlobby.mo +%%NLS%%share/locale/it/LC_MESSAGES/springlobby.mo +%%NLS%%share/locale/pl/LC_MESSAGES/springlobby.mo +%%NLS%%share/locale/pt/LC_MESSAGES/springlobby.mo +%%NLS%%share/locale/ro/LC_MESSAGES/springlobby.mo +%%NLS%%share/locale/ru/LC_MESSAGES/springlobby.mo +%%NLS%%share/locale/sv/LC_MESSAGES/springlobby.mo +%%NLS%%share/locale/uk/LC_MESSAGES/springlobby.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/springlobby.mo +%%NLS%%@dirrmtry share/locale/en_US/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/en_US +share/pixmaps/springlobby.svg +@dirrmtry share/applications -- cgit