aboutsummaryrefslogtreecommitdiff
path: root/games/springlobby
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-09-03 03:38:20 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-09-03 03:38:20 +0000
commit7a6ad2f63115672dac26eea0b78de62413128cd5 (patch)
treee41c66b9a3e31da309163248e922463efda253de /games/springlobby
parentbe910a3d3dc85d0232e425de80a652fbd215ec74 (diff)
downloadports-7a6ad2f63115672dac26eea0b78de62413128cd5.tar.gz
ports-7a6ad2f63115672dac26eea0b78de62413128cd5.zip
SpringLobby is a free cross-platform lobby client for the
Spring RTS project. WWW: http://springlobby.info/
Notes
Notes: svn path=/head/; revision=240764
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