aboutsummaryrefslogtreecommitdiffstats
path: root/games/springlobby
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2009-09-03 11:38:20 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2009-09-03 11:38:20 +0800
commit713db681e47b6bb67572ec6d1e11f402fa3e3f50 (patch)
tree377e08a2565d8463cfae5d321c2591fd1cf9b994 /games/springlobby
parent6816b301b805ae8126833ac9c7e56d0a8e53e202 (diff)
downloadfreebsd-ports-gnome-713db681e47b6bb67572ec6d1e11f402fa3e3f50.tar.gz
freebsd-ports-gnome-713db681e47b6bb67572ec6d1e11f402fa3e3f50.tar.zst
freebsd-ports-gnome-713db681e47b6bb67572ec6d1e11f402fa3e3f50.zip
SpringLobby is a free cross-platform lobby client for the
Spring RTS project. WWW: http://springlobby.info/
Diffstat (limited to 'games/springlobby')
-rw-r--r--games/springlobby/Makefile61
-rw-r--r--games/springlobby/distinfo3
-rw-r--r--games/springlobby/pkg-descr4
-rw-r--r--games/springlobby/pkg-plist24
4 files changed, 92 insertions, 0 deletions
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 <amdmi3@FreeBSD.org>
+#
+# $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 <bsd.port.options.mk>
+
+.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 <bsd.port.mk>
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