diff options
Diffstat (limited to 'net-p2p/museek+')
-rw-r--r-- | net-p2p/museek+/Makefile | 95 | ||||
-rw-r--r-- | net-p2p/museek+/distinfo | 3 | ||||
-rw-r--r-- | net-p2p/museek+/files/patch-museeq_SConscript | 10 | ||||
-rw-r--r-- | net-p2p/museek+/pkg-descr | 5 | ||||
-rw-r--r-- | net-p2p/museek+/pkg-message | 4 | ||||
-rw-r--r-- | net-p2p/museek+/pkg-plist | 88 |
6 files changed, 205 insertions, 0 deletions
diff --git a/net-p2p/museek+/Makefile b/net-p2p/museek+/Makefile new file mode 100644 index 000000000000..0791f9b2b4e2 --- /dev/null +++ b/net-p2p/museek+/Makefile @@ -0,0 +1,95 @@ +# New ports collection makefile for: museekplus +# Date created: 06 Aug 2006 +# Whom: Stefan Walter <stefan@FreeBSD.org> +# +# $FreeBSD$ +# +# This port's behaviour can be adjusted by defining the following variables: +# +# WITHOUT_MUSEEQ - build without museeq, the Qt frontend +# WITHOUT_QSA - build museeq without scripting support +# WITH_DEBUG - build with debugging messages +# WITH_OPTIMIZED_CFLAGS - build with optimizations and exclude debug symbols + +PORTNAME= museekplus +PORTVERSION= 0.1.11 +CATEGORIES= net-p2p +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} +MASTER_SITE_SUBDIR= museek-plus +DISTNAME= museek+-${PORTVERSION} + +MAINTAINER= stefan@FreeBSD.org +COMMENT= SoulSeek client with separate terminal and Qt based interface + +LIB_DEPENDS= xml\\+\\+:${PORTSDIR}/textproc/libxml++26 \ + vorbis:${PORTSDIR}/audio/libvorbis +BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 + +USE_BZIP2= yes +USE_PYTHON= yes +USE_SCONS= yes +USE_FAM= yes + +SCONS_PARAMS= QTDIR=${X11BASE} QT_LIB=qt-mt PREFIX=${PREFIX} VORBIS=yes +DATADIR= share/museek + +MAN1= muscan.1 muscand.1 museekd.1 musetup.1 musetup-gtk.1 mulog.1 \ + museekcontrol.1 mucous.1 + +.if defined(WITHOUT_MUSEEQ) +SCONS_PARAMS+= MUSEEQ=no +PLIST_SUB+= MUSEEQ="@comment " +.else +USE_QT_VER= 3 +SCONS_PARAMS+= MUSEEQ=yes +PLIST_SUB+= MUSEEQ="" +MAN1+= museeq.1 +.if defined(WITHOUT_QSA) +SCONS_PARAMS+= QSA=no +.else +SCONS_PARAMS+= QSA=yes +LIB_DEPENDS+= qsa:${PORTSDIR}/devel/qsa +.endif +.endif + +.if defined(WITH_DEBUG) +SCONS_PARAMS+= MULOG="cycle,debug" +.else +SCONS_PARAMS+= MULOG="" +.endif + +.if defined(WITH_OPTIMIZED_CFLAGS) +SCONS_PARAMS+= RELEASE=yes +.else +SCONS_PARAMS+= RELEASE=no +.endif + +pre-everything:: +.if !defined(WITHOUT_MUSEEQ) + @${ECHO_MSG} "Define WITHOUT_MUSEEQ to build without the Qt frontend" +.endif +.if !defined(WITH_DEBUG) + @${ECHO_MSG} "Define WITH_DEBUG to build with debugging messages" +.endif +.if !defined(WITH_OPTIMIZED_CFLAGS) + @${ECHO_MSG} "Define WITH_OPTIMIZED_CFALGS to build with optmizations" +.endif + +do-build: + @cd ${WRKSRC} && scons ${SCONS_PARAMS} + +do-install: + @cd ${WRKSRC} && scons install + +post-install: + @${REINPLACE_CMD} -i "" -e "s,/usr/bin/python,${PYTHON_CMD},g" \ + ${PREFIX}/bin/mucous + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.pre.mk> + +.if (${OSVERSION} < 500000) +IGNORE= does not compile on systems < 5.x (needs wstring support) +.endif + +.include <bsd.port.post.mk> diff --git a/net-p2p/museek+/distinfo b/net-p2p/museek+/distinfo new file mode 100644 index 000000000000..1168ae2db790 --- /dev/null +++ b/net-p2p/museek+/distinfo @@ -0,0 +1,3 @@ +MD5 (museek+-0.1.11.tar.bz2) = 935f1dedbe8a800cd4649b6867e98f01 +SHA256 (museek+-0.1.11.tar.bz2) = 6f4640855aae927028f8961e9a78454c0b4abd5244eb821c0b25f60150639ccf +SIZE (museek+-0.1.11.tar.bz2) = 787571 diff --git a/net-p2p/museek+/files/patch-museeq_SConscript b/net-p2p/museek+/files/patch-museeq_SConscript new file mode 100644 index 000000000000..ec795e4286cd --- /dev/null +++ b/net-p2p/museek+/files/patch-museeq_SConscript @@ -0,0 +1,10 @@ +--- museeq/SConscript.orig Mon Nov 22 16:01:35 2004 ++++ museeq/SConscript Mon Nov 22 17:29:36 2004 +@@ -123,6 +123,7 @@ + + sys.stdout.write("Checking Qt library...") + sys.stdout.flush() ++env_qt.Append(LINKFLAGS = ['-pthread']) + if not conf.TryLink('#include <qapplication.h>\nint main() {};\n', ".cpp"): + env_qt.Replace(QT_LIB = "qt-mt") + if not conf.TryLink('#include <qapplication.h>\nint main() {};\n', ".cpp"): diff --git a/net-p2p/museek+/pkg-descr b/net-p2p/museek+/pkg-descr new file mode 100644 index 000000000000..dc6660c7bc1b --- /dev/null +++ b/net-p2p/museek+/pkg-descr @@ -0,0 +1,5 @@ +Museek+ (or Museek-Plus) is an enhanced fork of Museek, a file-sharing +application for the Soulseek peer-to-peer network. The actual SoulSeek client +and the GUI are separate programs that communicate via Unix or network sockets. + +WWW: http://www.museek-plus.org/ diff --git a/net-p2p/museek+/pkg-message b/net-p2p/museek+/pkg-message new file mode 100644 index 000000000000..2447a74c731e --- /dev/null +++ b/net-p2p/museek+/pkg-message @@ -0,0 +1,4 @@ +** +** For initial configuration (login, password, etc.) of the Soulseek client, +** please run 'musetup'. +** diff --git a/net-p2p/museek+/pkg-plist b/net-p2p/museek+/pkg-plist new file mode 100644 index 000000000000..93eeebc73525 --- /dev/null +++ b/net-p2p/museek+/pkg-plist @@ -0,0 +1,88 @@ +bin/mucous +bin/mulog +bin/muscan +bin/muscand +bin/museekcontrol +bin/museekd +%%MUSEEQ%%bin/museeq +bin/musetup +bin/musetup-gtk +%%DATADIR%%/museekd/config.xml.tmpl +%%MUSEEQ%%%%DATADIR%%/museeq/bluebox/away-banned.png +%%MUSEEQ%%%%DATADIR%%/museeq/bluebox/away-buddied.png +%%MUSEEQ%%%%DATADIR%%/museeq/bluebox/away-ignored.png +%%MUSEEQ%%%%DATADIR%%/museeq/bluebox/away-trusted.png +%%MUSEEQ%%%%DATADIR%%/museeq/bluebox/away.png +%%MUSEEQ%%%%DATADIR%%/museeq/bluebox/browser.png +%%MUSEEQ%%%%DATADIR%%/museeq/bluebox/chatroom.png +%%MUSEEQ%%%%DATADIR%%/museeq/bluebox/offline-banned.png +%%MUSEEQ%%%%DATADIR%%/museeq/bluebox/offline-buddied.png +%%MUSEEQ%%%%DATADIR%%/museeq/bluebox/offline-ignored.png +%%MUSEEQ%%%%DATADIR%%/museeq/bluebox/offline-trusted.png +%%MUSEEQ%%%%DATADIR%%/museeq/bluebox/offline.png +%%MUSEEQ%%%%DATADIR%%/museeq/bluebox/online-banned.png +%%MUSEEQ%%%%DATADIR%%/museeq/bluebox/online-buddied.png +%%MUSEEQ%%%%DATADIR%%/museeq/bluebox/online-ignored.png +%%MUSEEQ%%%%DATADIR%%/museeq/bluebox/online-trusted.png +%%MUSEEQ%%%%DATADIR%%/museeq/bluebox/online.png +%%MUSEEQ%%%%DATADIR%%/museeq/bluebox/privatechat.png +%%MUSEEQ%%%%DATADIR%%/museeq/bluebox/search.png +%%MUSEEQ%%%%DATADIR%%/museeq/bluebox/tab_remove.png +%%MUSEEQ%%%%DATADIR%%/museeq/bluebox/transfer.png +%%MUSEEQ%%%%DATADIR%%/museeq/bluebox/userinfo.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/alert.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/away-banned.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/away-buddied.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/away-ignored.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/away-trusted.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/away.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/browser-small.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/browser.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/chatroom-small.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/chatroom.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/colors.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/comments.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/connect.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/disconnect.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/exit.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/help.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/icon.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/ip.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/logo.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/offline-banned.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/offline-buddied.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/offline-ignored.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/offline-trusted.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/offline.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/online-banned.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/online-buddied.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/online-ignored.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/online-trusted.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/online.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/privatechat-small.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/privatechat.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/privileges.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/protocol.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/refresh.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/search-small.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/search.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/settings.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/tab_remove.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/transfer-small.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/transfer.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/userinfo-small.png +%%MUSEEQ%%%%DATADIR%%/museeq/default/userinfo.png +%%MUSEEQ%%%%DATADIR%%/museeq/translations/museeq_de.qm +%%MUSEEQ%%%%DATADIR%%/museeq/translations/museeq_es.qm +%%MUSEEQ%%%%DATADIR%%/museeq/translations/museeq_fr.qm +%%MUSEEQ%%%%DATADIR%%/museeq/translations/museeq_it.qm +%%MUSEEQ%%%%DATADIR%%/museeq/translations/museeq_pl.qm +%%MUSEEQ%%%%DATADIR%%/museeq/translations/museeq_pt_BR.qm +%%MUSEEQ%%%%DATADIR%%/museeq/nowplaying.qs +%%MUSEEQ%%%%DATADIR%%/museeq/uptime.qs +@dirrm %%DATADIR%%/museekd +%%MUSEEQ%%@dirrm %%DATADIR%%/museeq/bluebox +%%MUSEEQ%%@dirrm %%DATADIR%%/museeq/default +%%MUSEEQ%%@dirrm %%DATADIR%%/museeq/translations +%%MUSEEQ%%@dirrm %%DATADIR%%/museeq +@dirrm %%DATADIR%% |