diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-08-07 01:23:57 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-08-07 01:23:57 +0800 |
commit | 71b8934e32a67a5b445b0bcb08ca55f70d696841 (patch) | |
tree | b1cf6d34c2185d1fc1874ef24048cf55776c80f3 /net-p2p | |
parent | 2084883ea11d55197ceac371510c1422e667d5a1 (diff) | |
download | marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.tar marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.tar.gz marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.tar.bz2 marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.tar.lz marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.tar.xz marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.tar.zst marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.zip |
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9356 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net-p2p')
30 files changed, 1160 insertions, 0 deletions
diff --git a/net-p2p/amule2/Makefile b/net-p2p/amule2/Makefile new file mode 100644 index 000000000..4c03a526e --- /dev/null +++ b/net-p2p/amule2/Makefile @@ -0,0 +1,142 @@ +# New ports collection makefile for: amule2 +# Date created: Wed Nov 05 09:30:00 UTC 2003 +# Whom: Ganael LAPLANCHE <ganael.laplanche@martymac.com> +# +# $FreeBSD$ +# + +PORTNAME= aMule +PORTVERSION= 2.1.3 +PORTREVISION= 5 +CATEGORIES= net-p2p +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= amule + +PATCH_SITES= http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/ +PATCHFILES= aMule-wx.patch?rev=1.2 +PATCH_DIST_STRIP= -p1 + +MAINTAINER= boris@tagnet.ru +COMMENT= The all-platform eMule p2p client + +LATEST_LINK= aMule2 +CONFLICTS= aMule-1.* aMule-devel-[0-9]* + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_GNOME= gnomehier gnomehack gnomeprefix +USE_GMAKE= yes +USE_WX= 2.8 +WX_CONF_ARGS= absolute +GNU_CONFIGURE= yes +CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ARGS= --disable-debug \ + --without-included-gettext \ + --with-libintl-prefix=${LOCALBASE} \ + --with-libiconv-prefix=${LOCALBASE} \ + --enable-embedded_crypto + +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ + LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" + +OPTIONS= OPTIMIZE "Build with optimization" on \ + ED2K "Compile aMule ed2k links handler" on \ + AMULECMD "Compile aMule command line client" on \ + AMULEWEBSRV "Compile aMule WebServer" on \ + CAS "Compile C aMule Statistics (+GUI)" on \ + ALC "Compile aMule Link Creator (+GUI)" on \ + AMULEDAEMON "Compile aMule daemon version - EXPERIMENTAL" off \ + WXUNICODE "Enable Unicode support" on + +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +.else +CONFIGURE_ARGS+= --disable-nls +.endif + +# Configure options +.if !defined(WITHOUT_OPTIMIZE) +CONFIGURE_ARGS+= --enable-optimize +.else +CONFIGURE_ARGS+= --disable-optimize +.endif + +.if !defined(WITHOUT_ED2K) +CONFIGURE_ARGS+= --enable-ed2k +PLIST_SUB+= PL_ED2K="" +.else +CONFIGURE_ARGS+= --disable-ed2k +PLIST_SUB+= PL_ED2K="@comment " +.endif + +.if !defined(WITHOUT_AMULECMD) +CONFIGURE_ARGS+= --enable-amulecmd +PLIST_SUB+= PL_AMULECMD="" +.else +CONFIGURE_ARGS+= --disable-amulecmd +PLIST_SUB+= PL_AMULECMD="@comment " +.endif + +.if !defined(WITHOUT_AMULEWEBSRV) +CONFIGURE_ARGS+= --enable-webserver +PLIST_SUB+= PL_AMULEWEBSRV="" +.else +CONFIGURE_ARGS+= --disable-webserver +PLIST_SUB+= PL_AMULEWEBSRV="@comment " +.endif + +.if !defined(WITHOUT_CAS) +CONFIGURE_ARGS+= --enable-cas --enable-wxcas +PLIST_SUB+= PL_CAS="" +.else +CONFIGURE_ARGS+= --disable-cas --disable-wxcas +PLIST_SUB+= PL_CAS="@comment " +.endif + +.if !defined(WITHOUT_ALC) +CONFIGURE_ARGS+= --enable-alc --enable-alcc +PLIST_SUB+= PL_ALC="" +.else +CONFIGURE_ARGS+= --disable-alc --disable-alcc +PLIST_SUB+= PL_ALC="@comment " +.endif + +.if defined(WITH_AMULEDAEMON) +CONFIGURE_ARGS+= --enable-amule-daemon --enable-amule-gui +PLIST_SUB+= PL_AMULEDAEMON="" +USE_RC_SUBR= amuled.sh +.else +CONFIGURE_ARGS+= --disable-amule-daemon --disable-amule-gui +PLIST_SUB+= PL_AMULEDAEMON="@comment " +.endif + +.if !defined(WITHOUT_WXUNICODE) +WX_UNICODE=yes +.endif + +# Man pages management +.include "Makefile.man" + +post-install: +# fr manpages are still incomplete and can't be managed +# by MANLANG. Will be done when pages are complete. +.if defined(WITH_AMULECMD) + ${GZIP_CMD} ${PREFIX}/man/fr/man1/amulecmd.1 +.endif +.if defined(WITH_AMULEWEBSRV) + ${GZIP_CMD} ${PREFIX}/man/fr/man1/amuleweb.1 +.endif + ${GZIP_CMD} ${PREFIX}/man/fr/man1/amule.1 +.if defined(WITH_AMULEDAEMON) + ${GZIP_CMD} ${PREFIX}/man/fr/man1/amuled.1 +.endif +.if defined(WITH_ED2K) + ${GZIP_CMD} ${PREFIX}/man/fr/man1/ed2k.1 +.endif +.if defined(WITH_ALC) + ${GZIP_CMD} ${PREFIX}/man/fr/man1/alcc.1 +.endif + +.include <bsd.port.post.mk> diff --git a/net-p2p/amule2/Makefile.man b/net-p2p/amule2/Makefile.man new file mode 100644 index 000000000..586cf50ea --- /dev/null +++ b/net-p2p/amule2/Makefile.man @@ -0,0 +1,25 @@ +# TODO : Add fr here when pages are complete +MANLANG= "" de es hu +MANCOMPRESSED= no +.if defined(WITH_CAS) +MAN1+= cas.1 +MAN1+= wxcas.1 +.endif +.if defined(WITH_ALC) +MAN1+= alc.1 +MAN1+= alcc.1 +.endif +.if defined(WITH_AMULEWEBSRV) +MAN1+= amuleweb.1 +.endif +.if defined(WITH_AMULECMD) +MAN1+= amulecmd.1 +.endif +.if defined(WITH_ED2K) +MAN1+= ed2k.1 +.endif +.if defined(WITH_AMULEDAEMON) +MAN1+= amuled.1 +.endif +MAN1+= amule.1 +MAN1+= xas.1 diff --git a/net-p2p/amule2/distinfo b/net-p2p/amule2/distinfo new file mode 100644 index 000000000..f4d9ebe17 --- /dev/null +++ b/net-p2p/amule2/distinfo @@ -0,0 +1,6 @@ +MD5 (aMule-2.1.3.tar.bz2) = 0aafdd159edb8ad5f0064da87998b47d +SHA256 (aMule-2.1.3.tar.bz2) = 6e97e947bb7ac231b75e3b21a509a2ec0239bcd7e9dbfc6062c520a6d13b0244 +SIZE (aMule-2.1.3.tar.bz2) = 3248530 +MD5 (aMule-wx.patch?rev=1.2) = 7b61651b0abdee7dc577a03dad8025c1 +SHA256 (aMule-wx.patch?rev=1.2) = c0c0a55fb437fdf618137f2cb0c5ff59a1595aeddf5455a1bad2b2ab11b0a244 +SIZE (aMule-wx.patch?rev=1.2) = 4943 diff --git a/net-p2p/amule2/files/amuled.sh.in b/net-p2p/amule2/files/amuled.sh.in new file mode 100644 index 000000000..99e6723cb --- /dev/null +++ b/net-p2p/amule2/files/amuled.sh.in @@ -0,0 +1,69 @@ +#!/bin/sh +# +# aMule RCng startup script +# Ogirinal work from Gabriele Cecchetti (amule.org forum) +# + +# PROVIDE: amuled +# REQUIRE: NETWORKING SERVERS +# BEFORE: DAEMON +# KEYWORD: shutdown + +# +# Add the following lines to /etc/rc.conf to enable amuled at startup +# amuled (bool): Set to "NO" by default. +# Set it to "YES" to enable amuled +# amuled_user (str): Set to user running amuled +# (default 'aMule') +# amuled_home (str): Set to home directory of user running amuled +# (default /home/${amuled_user}) +# +. %%RC_SUBR%% + +name="amuled" +rcvar=`set_rcvar` + +load_rc_config $name + +[ -z "$amuled_enable" ] && amuled_enable="NO" +[ -z "$amuled_user" ] && amuled_user="aMule" +[ -z "$amuled_home" ] && amuled_home="/home/${amuled_user}" + +required_dirs=${amuled_home} +required_files="${amuled_home}/.aMule/amule.conf" + +start_cmd="${name}_start" +stop_cmd="${name}_stop" + +amuled_start() +{ + if [ ! -f /var/run/${name}.run ] + then + su -l ${amuled_user} -c "amuled &" 2>>/var/log/${name}.log >>/var/log/${name}.log && touch /var/run/${name}.run + echo "Started ${name}." + echo `date` : "Started ${name}." >> /var/log/${name}.log + else + echo "${name} seems to be already running -- remove /var/run/${name}.run manually if needed." + fi +} + +amuled_stop() +{ + if [ -f /var/run/${name}.run ] + then + # The following line is much better, but doesn't stop totally amuled + # su -l ${amuled_user} -c "amulecmd -c Shutdown" 2>>/var/log/${name}.log >>/var/log/${name}.log + # Since amuled catches SIGTERM, this way is preferred for now + killall -TERM amuled 2>>/var/log/${name}.log >>/var/log/${name}.log ; sleep 3 + killall -KILL amuled 2>>/var/log/${name}.log >>/var/log/${name}.log + # Also kill amuleweb if needed + killall -KILL amuleweb 2>/dev/null >/dev/null + rm -f /var/run/${name}.run + echo "Stopped ${name}." + echo `date` : "Stopped ${name}." >> /var/log/${name}.log + else + echo "${name} doesn't seem to be running -- create /var/run/${name}.run if needed." + fi +} + +run_rc_command "$1" diff --git a/net-p2p/amule2/files/patch-amuleDlg.cpp b/net-p2p/amule2/files/patch-amuleDlg.cpp new file mode 100644 index 000000000..5ef977954 --- /dev/null +++ b/net-p2p/amule2/files/patch-amuleDlg.cpp @@ -0,0 +1,24 @@ +--- src/amuleDlg.cpp.orig Sun Jan 1 06:17:25 2006 ++++ src/amuleDlg.cpp Tue Jan 3 19:12:04 2006 +@@ -413,9 +413,9 @@ + { + wxString msg = wxT(" "); + #ifdef CLIENT_GUI +- msg << _("aMule remote control ") << wxT(VERSION); ++ msg << _("aMule remote control ") << wxT(VERSION) << wxT(" for FreeBSD"); + #else +- msg << wxT("aMule ") << wxT(VERSION); ++ msg << wxT("aMule ") << wxT(VERSION) << wxT(" for FreeBSD"); + #endif + msg << wxT(" "); + #ifdef CVSDATE +@@ -425,7 +425,8 @@ + " 'All-Platform' p2p client based on eMule \n\n" + " Website: http://www.amule.org \n" + " Forum: http://forum.amule.org \n" +- " FAQ: http://wiki.amule.org \n\n" ++ " FAQ: http://wiki.amule.org \n" ++ " FreeBSD port: http://contribs.martymac.com \n\n" + " Contact: admin@amule.org (administrative issues) \n" + " Copyright (C) 2003-2006 aMule Team \n\n" + " Part of aMule is based on \n" diff --git a/net-p2p/amule2/pkg-descr b/net-p2p/amule2/pkg-descr new file mode 100644 index 000000000..afd986a28 --- /dev/null +++ b/net-p2p/amule2/pkg-descr @@ -0,0 +1,6 @@ +aMule, the all-platform eMule p2p client + +aMule is a multiplatform fork of xMule +client using wxWindows class library. + +WWW: http://www.amule.org diff --git a/net-p2p/amule2/pkg-plist b/net-p2p/amule2/pkg-plist new file mode 100644 index 000000000..556721617 --- /dev/null +++ b/net-p2p/amule2/pkg-plist @@ -0,0 +1,242 @@ +%%PL_ALC%%man/fr/man1/alcc.1.gz +%%PL_AMULEWEBSRV%%man/fr/man1/amuleweb.1.gz +%%PL_AMULECMD%%man/fr/man1/amulecmd.1.gz +%%PL_ED2K%%man/fr/man1/ed2k.1.gz +%%PL_AMULEDAEMON%%man/fr/man1/amuled.1.gz +man/fr/man1/amule.1.gz +share/locale/en_GB/LC_MESSAGES/amule.mo +share/locale/en_US/LC_MESSAGES/amule.mo +share/locale/es/LC_MESSAGES/amule.mo +share/locale/de/LC_MESSAGES/amule.mo +share/locale/fr/LC_MESSAGES/amule.mo +share/locale/it/LC_MESSAGES/amule.mo +share/locale/ko_KR/LC_MESSAGES/amule.mo +share/locale/pl/LC_MESSAGES/amule.mo +share/locale/et_EE/LC_MESSAGES/amule.mo +share/locale/ru/LC_MESSAGES/amule.mo +share/locale/bg/LC_MESSAGES/amule.mo +share/locale/es_MX/LC_MESSAGES/amule.mo +share/locale/pt_BR/LC_MESSAGES/amule.mo +share/locale/gl/LC_MESSAGES/amule.mo +share/locale/eu/LC_MESSAGES/amule.mo +share/locale/nl/LC_MESSAGES/amule.mo +share/locale/ar/LC_MESSAGES/amule.mo +share/locale/fi/LC_MESSAGES/amule.mo +share/locale/zh_CN/LC_MESSAGES/amule.mo +share/locale/zh_TW/LC_MESSAGES/amule.mo +share/locale/da/LC_MESSAGES/amule.mo +share/locale/hu/LC_MESSAGES/amule.mo +share/locale/ca/LC_MESSAGES/amule.mo +share/locale/it_CH/LC_MESSAGES/amule.mo +share/locale/pt_PT/LC_MESSAGES/amule.mo +share/locale/hr/LC_MESSAGES/amule.mo +share/locale/sl/LC_MESSAGES/amule.mo +@dirrmtry share/locale/en_US/LC_MESSAGES +@dirrmtry share/locale/en_US +@dirrmtry share/locale/et_EE/LC_MESSAGES +@dirrmtry share/locale/et_EE +@dirrmtry share/locale/it_CH/LC_MESSAGES +@dirrmtry share/locale/it_CH +@dirrmtry share/locale/ko_KR/LC_MESSAGES +@dirrmtry share/locale/ko_KR +share/doc/aMule-2.1.3/ABOUT-NLS +share/doc/aMule-2.1.3/amulesig.txt +share/doc/aMule-2.1.3/amule-win32.HOWTO.txt +share/doc/aMule-2.1.3/Changelog +share/doc/aMule-2.1.3/Doxyfile +share/doc/aMule-2.1.3/ED2K-Links.HOWTO +share/doc/aMule-2.1.3/INSTALL +share/doc/aMule-2.1.3/license.txt +share/doc/aMule-2.1.3/README +share/doc/aMule-2.1.3/TODO +share/doc/aMule-2.1.3/EC_Protocol.txt +share/doc/aMule-2.1.3/socks4.protocol +@dirrmtry share/doc/aMule-2.1.3 +@dirrmtry share/doc +%%PL_CAS%%share/cas/tmp.html +%%PL_CAS%%share/cas/stat.png +%%PL_CAS%%@dirrmtry share/cas +%%PL_CAS%%share/pixmaps/wxcas.xpm +%%PL_ALC%%share/pixmaps/alc.xpm +share/pixmaps/amule.xpm +%%PL_CAS%%share/applications/wxcas.desktop +%%PL_ALC%%share/applications/alc.desktop +share/applications/amule.desktop +%%PL_AMULEWEBSRV%%share/amule/webserver/default/aMule.tmpl +%%PL_AMULEWEBSRV%%share/amule/webserver/default/add_server.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/arrow_down.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/arrow_right.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/arrow_up.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/back.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/black.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/blue1.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/blue2.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/blue3.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/blue4.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/blue5.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/blue6.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_download.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_kad.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_search.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_servers.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_settings.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_shared.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_stats.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/emule.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/green.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/greenpercent.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_cancel.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_connect.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_down.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_ed2klink.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_info.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_pause.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_resume.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_up.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/log.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/logo.jpg +%%PL_AMULEWEBSRV%%share/amule/webserver/default/red.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/transparent.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/yellow.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/phpamule.png +%%PL_AMULEWEBSRV%%share/amule/webserver/default/tree-leaf.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/tree-open.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/tree-closed.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/default/favicon.ico +%%PL_AMULEWEBSRV%%share/amule/webserver/default/downloads.php +%%PL_AMULEWEBSRV%%share/amule/webserver/default/preferences.php +%%PL_AMULEWEBSRV%%share/amule/webserver/default/search.php +%%PL_AMULEWEBSRV%%share/amule/webserver/default/servers.php +%%PL_AMULEWEBSRV%%share/amule/webserver/default/shared.php +%%PL_AMULEWEBSRV%%share/amule/webserver/default/stat_graphs.php +%%PL_AMULEWEBSRV%%share/amule/webserver/default/stat_tree.php +%%PL_AMULEWEBSRV%%share/amule/webserver/default/login.php +%%PL_AMULEWEBSRV%%share/amule/webserver/default/index.php +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-dload.php +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-search.php +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-servers.php +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-shared.php +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-stats.php +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-prefs.php +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-kad.php +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/stats.php +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/stats_tree.php +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/top.html +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/footer.php +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/login.php +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/tree-open.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/tree-closed.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/tree-leaf.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-reload.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-search.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-search-pressed.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-servers.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-servers-pressed.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-settings.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-settings-pressed.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-shared.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-shared-pressed.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-download.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-download-pressed.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-kad.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-kad-pressed.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-stats.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-stats-pressed.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-connect.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-logout.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-logout-pressed.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-filter.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/connect.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/cancel.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/arrow-r.png +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/up.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/down.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/pause.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/resume.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/apply.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/delete.jpeg +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/phpamule.png +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/favicon.ico +%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/index.html +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/aMule.tmpl +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/add_server.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/arrow_down.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/arrow_down_logout.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/arrow_right.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/arrow_up.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/back.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/black.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blank1x1.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blue1.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blue2.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blue3.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blue4.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blue5.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blue6.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_download.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_kad.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_search.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_servers.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_settings.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_shared.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/log.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_stats.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/emule.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/green.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/greenpercent.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_cancel.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_connect.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_down.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_ed2klink.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_info.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_pause.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_resume.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_up.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_bottom.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_downmain.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_lefttop.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_righttop.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_top.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_topdown.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_topseperator.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/logo.jpg +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/main_bg.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/main_top_bg.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/main_topbar.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/main_topbardarker.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/main_topbarseperator.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/red.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/transparent.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/yellow.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/phpamule.png +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/tree-leaf.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/tree-open.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/tree-closed.gif +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/favicon.ico +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/downloads.php +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/preferences.php +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/search.php +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/servers.php +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/shared.php +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/stat_graphs.php +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/stat_tree.php +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login.php +%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/index.php +%%PL_AMULEWEBSRV%%@dirrmtry share/amule/webserver/default +%%PL_AMULEWEBSRV%%@dirrmtry share/amule/webserver/php-default +%%PL_AMULEWEBSRV%%@dirrmtry share/amule/webserver/chicane +%%PL_AMULEWEBSRV%%@dirrmtry share/amule/webserver +%%PL_AMULEWEBSRV%%@dirrmtry share/amule +lib/xchat/plugins/xas.pl +@dirrmtry lib/xchat/plugins +@dirrmtry lib/xchat +%%PL_CAS%%bin/cas +%%PL_CAS%%bin/wxcas +%%PL_ALC%%bin/alc +%%PL_ALC%%bin/alcc +%%PL_AMULEWEBSRV%%bin/amuleweb +%%PL_AMULECMD%%bin/amulecmd +%%PL_ED2K%%bin/ed2k +%%PL_AMULEDAEMON%%bin/amulegui +%%PL_AMULEDAEMON%%bin/amuled +bin/amule diff --git a/net-p2p/giftoxic/Makefile b/net-p2p/giftoxic/Makefile new file mode 100644 index 000000000..871b526ff --- /dev/null +++ b/net-p2p/giftoxic/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: giFToxic +# Date Created: 23 December 2003 +# Whom: Joel Diaz <joeldiaz@bellsouth.net> +# +# $FreeBSD$ +# + +PORTNAME= giFToxic +PORTVERSION= 0.0.9 +PORTREVISION= 7 +CATEGORIES= net-p2p +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= giftoxic + +MAINTAINER= joeldiaz@bellsouth.net +COMMENT= GTK2 client for giFT + +LIB_DEPENDS= gift.0:${PORTSDIR}/net-p2p/gift + +USE_X_PREFIX= yes +USE_GETOPT_LONG= yes +USE_GNOME= gtk20 gnomeprefix gnomehack +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --without-included-gettext + +.include <bsd.port.mk> diff --git a/net-p2p/giftoxic/distinfo b/net-p2p/giftoxic/distinfo new file mode 100644 index 000000000..7a80dfc3f --- /dev/null +++ b/net-p2p/giftoxic/distinfo @@ -0,0 +1,3 @@ +MD5 (giFToxic-0.0.9.tar.gz) = 66fe05d5d34cf08d310886784682136f +SHA256 (giFToxic-0.0.9.tar.gz) = 96c513c4884ae47525e80e72d1ace35bc3a5f4cbfc90a5fc02748763693db139 +SIZE (giFToxic-0.0.9.tar.gz) = 281884 diff --git a/net-p2p/giftoxic/files/patch-src-gtkcellrendererprogress.c b/net-p2p/giftoxic/files/patch-src-gtkcellrendererprogress.c new file mode 100644 index 000000000..e413f7045 --- /dev/null +++ b/net-p2p/giftoxic/files/patch-src-gtkcellrendererprogress.c @@ -0,0 +1,40 @@ +--- src/gtkcellrendererprogress.c.orig Thu May 22 06:23:39 2003 ++++ src/gtkcellrendererprogress.c Sun Dec 28 14:28:27 2003 +@@ -370,7 +370,13 @@ + */ + GdkGC *gc; + gint draw_width; +- ++ ++ PangoFontDescription *font; ++ ++ PangoContext *context; ++ PangoLayout *layout; ++ gchar *text; ++ int w,h; + + if ((flags & GTK_CELL_RENDERER_SELECTED) == GTK_CELL_RENDERER_SELECTED) + { +@@ -425,18 +431,17 @@ + + + +- PangoFontDescription *font = pango_font_description_from_string ("8"); ++ font = pango_font_description_from_string ("8"); + +- PangoContext *context = gtk_widget_create_pango_context(widget); +- PangoLayout *layout = pango_layout_new(context); ++ context = gtk_widget_create_pango_context(widget); ++ layout = pango_layout_new(context); + + pango_layout_set_font_description (layout, font); +- gchar *text = g_strdup_printf("%.1f%%",cellprogress->priv->value); ++ text = g_strdup_printf("%.1f%%",cellprogress->priv->value); + pango_layout_set_text(layout, text, -1); + + gdk_gc_set_rgb_fg_color (gc, &cellprogress->priv->text_color); + +- int w,h; + pango_layout_get_pixel_size(layout, &w, &h); + w = (cell_area->width - w)/2; + h = (cell_area->height - h)/2; diff --git a/net-p2p/giftoxic/files/patch-src-utils.c b/net-p2p/giftoxic/files/patch-src-utils.c new file mode 100644 index 000000000..13fe72ad3 --- /dev/null +++ b/net-p2p/giftoxic/files/patch-src-utils.c @@ -0,0 +1,22 @@ +--- src/utils.c.orig Tue May 27 21:37:18 2003 ++++ src/utils.c Sun Dec 28 14:25:22 2003 +@@ -366,6 +366,8 @@ + + gulong divisor = 1; + gint type = 0; ++ gulong mod; ++ gulong nice; + + if (size >= 1000000){ + divisor = 1000000; +@@ -375,8 +377,8 @@ + type = 1; + } + +- gulong mod = size % divisor; +- gulong nice = size / divisor; ++ mod = size % divisor; ++ nice = size / divisor; + strcpy(format, (mod == 0)?"%.0f":"%.2f"); + strcat(format, (nice == 1 && mod == 0?gettext(qtys[type][0]):gettext(qtys[type][1]))); + return g_strdup_printf(format, (gfloat) size / divisor); diff --git a/net-p2p/giftoxic/pkg-descr b/net-p2p/giftoxic/pkg-descr new file mode 100644 index 000000000..28c6cea2a --- /dev/null +++ b/net-p2p/giftoxic/pkg-descr @@ -0,0 +1,7 @@ +giFToxic is a GTK2 based client for giFT which allows you to search and +download from Gnutella, FastTrack and OpenFT networks. + +WWW: http://giftoxic.sourceforge.net + +- Joel +joeldiaz@bellsouth.net diff --git a/net-p2p/giftoxic/pkg-plist b/net-p2p/giftoxic/pkg-plist new file mode 100644 index 000000000..60aa65531 --- /dev/null +++ b/net-p2p/giftoxic/pkg-plist @@ -0,0 +1,8 @@ +bin/giFToxic +share/applications/giFToxic.desktop +share/giFToxic/logo.png +share/pixmaps/giFToxic-48.png +share/locale/de/LC_MESSAGES/giFToxic.mo +share/locale/es/LC_MESSAGES/giFToxic.mo +share/locale/nl/LC_MESSAGES/giFToxic.mo +@dirrm share/giFToxic diff --git a/net-p2p/giftui/Makefile b/net-p2p/giftui/Makefile new file mode 100644 index 000000000..d9f7d5721 --- /dev/null +++ b/net-p2p/giftui/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: giFTui +# Date Created: 23 May 2004 +# Whom: Joel Diaz <joeldiaz@bellsouth.net> +# +# $FreeBSD$ +# + +PORTNAME= giFTui +PORTVERSION= 0.4.1 +PORTREVISION= 7 +CATEGORIES= net-p2p +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= giftui +DISTNAME= giftui-0.4.1 + +MAINTAINER= joeldiaz@bellsouth.net +COMMENT= GTK2 client for giFT daemon + +LIB_DEPENDS= gift.0:${PORTSDIR}/net-p2p/gift + +USE_BZIP2= yes +USE_XLIB= yes +USE_GNOME= gnomehack gnomeprefix gconf2 gtk20 +USE_GMAKE= yes +GNU_CONFIGURE= yes + +GCONF_SCHEMAS= giftui.schemas + +.if !defined(NOPORTDOCS) +PORTDOCS= AUTHORS COPYING ChangeLog NEWS README TODO +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|^giftuidatadir=.*|giftuidatadir=$${datadir}/giftui|g ; \ + s|^giftuiicondir=.*|giftuiicondir=$${datadir}/pixmaps|g' \ + ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|^giftuidocdir =.*|giftuidocdir =${DOCSDIR}|g' \ + ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|/usr/share/pixmaps/||g' \ + ${WRKSRC}/data/giftui.desktop + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/net-p2p/giftui/distinfo b/net-p2p/giftui/distinfo new file mode 100644 index 000000000..d70ccace7 --- /dev/null +++ b/net-p2p/giftui/distinfo @@ -0,0 +1,3 @@ +MD5 (giftui-0.4.1.tar.bz2) = de834779fde3f2edb002631f4110f1b9 +SHA256 (giftui-0.4.1.tar.bz2) = 1a28bb483ba6f02853280dc2520b28e6c1ca34b2935e8f4e3b5ecd069699f583 +SIZE (giftui-0.4.1.tar.bz2) = 220208 diff --git a/net-p2p/giftui/files/patch-Makefile.in b/net-p2p/giftui/files/patch-Makefile.in new file mode 100644 index 000000000..61ad79a8f --- /dev/null +++ b/net-p2p/giftui/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig Sun May 16 22:26:53 2004 ++++ Makefile.in Sun Mar 20 11:43:00 2005 +@@ -513,7 +513,7 @@ + + info-am: + +-install-data-am: install-giftuidocDATA ++install-data-am: + + install-exec-am: + diff --git a/net-p2p/giftui/files/patch-gtkcellrendererprogress b/net-p2p/giftui/files/patch-gtkcellrendererprogress new file mode 100644 index 000000000..dc899abbc --- /dev/null +++ b/net-p2p/giftui/files/patch-gtkcellrendererprogress @@ -0,0 +1,141 @@ +Index: src/Makefile.am +=================================================================== +RCS file: /cvsroot/giftui/giftui/src/Makefile.am,v +retrieving revision 1.2 +retrieving revision 1.3 +diff -u -p -r1.2 -r1.3 +--- src/Makefile.am 15 May 2004 05:45:36 -0000 1.2 ++++ src/Makefile.am 27 Jul 2004 08:18:09 -0000 1.3 +@@ -10,7 +10,6 @@ giftui_SOURCES = \ + io.c io.h\ + main.c main.h\ + util.c util.h\ +- gtkcellrendererprogress.c gtkcellrendererprogress.h\ + ui_parent.c ui_parent.h\ + ui_child.c ui_child.h\ + ui.h\ +Index: src/Makefile.in +=================================================================== +RCS file: /cvsroot/giftui/giftui/src/Makefile.in,v +retrieving revision 1.2 +retrieving revision 1.3 +diff -u -p -r1.2 -r1.3 +--- src/Makefile.in 15 May 2004 05:45:36 -0000 1.2 ++++ src/Makefile.in 27 Jul 2004 08:18:09 -0000 1.3 +@@ -147,7 +147,6 @@ giftui_SOURCES = \ + io.c io.h\ + main.c main.h\ + util.c util.h\ +- gtkcellrendererprogress.c gtkcellrendererprogress.h\ + ui_parent.c ui_parent.h\ + ui_child.c ui_child.h\ + ui.h\ +@@ -175,13 +174,12 @@ bin_PROGRAMS = giftui$(EXEEXT) + PROGRAMS = $(bin_PROGRAMS) + + am_giftui_OBJECTS = configure.$(OBJEXT) event.$(OBJEXT) io.$(OBJEXT) \ +- main.$(OBJEXT) util.$(OBJEXT) gtkcellrendererprogress.$(OBJEXT) \ +- ui_parent.$(OBJEXT) ui_child.$(OBJEXT) ui_menu.$(OBJEXT) \ +- ui_notebook.$(OBJEXT) ui_about.$(OBJEXT) ui_browse.$(OBJEXT) \ +- ui_connect.$(OBJEXT) ui_icon.$(OBJEXT) ui_pref.$(OBJEXT) \ +- ui_search.$(OBJEXT) ui_search_cb.$(OBJEXT) \ +- ui_transfer.$(OBJEXT) ui_transfer_cb.$(OBJEXT) \ +- ui_util.$(OBJEXT) ++ main.$(OBJEXT) util.$(OBJEXT) ui_parent.$(OBJEXT) \ ++ ui_child.$(OBJEXT) ui_menu.$(OBJEXT) ui_notebook.$(OBJEXT) \ ++ ui_about.$(OBJEXT) ui_browse.$(OBJEXT) ui_connect.$(OBJEXT) \ ++ ui_icon.$(OBJEXT) ui_pref.$(OBJEXT) ui_search.$(OBJEXT) \ ++ ui_search_cb.$(OBJEXT) ui_transfer.$(OBJEXT) \ ++ ui_transfer_cb.$(OBJEXT) ui_util.$(OBJEXT) + giftui_OBJECTS = $(am_giftui_OBJECTS) + giftui_DEPENDENCIES = + giftui_LDFLAGS = +@@ -190,7 +188,6 @@ DEFAULT_INCLUDES = -I. -I$(srcdir) -I. + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/configure.Po ./$(DEPDIR)/event.Po \ +-@AMDEP_TRUE@ ./$(DEPDIR)/gtkcellrendererprogress.Po \ + @AMDEP_TRUE@ ./$(DEPDIR)/io.Po ./$(DEPDIR)/main.Po \ + @AMDEP_TRUE@ ./$(DEPDIR)/ui_about.Po ./$(DEPDIR)/ui_browse.Po \ + @AMDEP_TRUE@ ./$(DEPDIR)/ui_child.Po ./$(DEPDIR)/ui_connect.Po \ +@@ -272,7 +269,6 @@ distclean-compile: + + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/configure.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/event.Po@am__quote@ +-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gtkcellrendererprogress.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ui_about.Po@am__quote@ +Index: src/main.c +=================================================================== +RCS file: /cvsroot/giftui/giftui/src/main.c,v +retrieving revision 1.1.1.1 +retrieving revision 1.2 +diff -u -p -r1.1.1.1 -r1.2 +--- src/main.c 6 May 2004 06:55:02 -0000 1.1.1.1 ++++ src/main.c 27 Jul 2004 08:18:09 -0000 1.2 +@@ -32,6 +32,7 @@ + #include "ui.h" + #include "ui_connect.h" + #include "ui_menu.h" ++#include "ui_transfer.h" + + static GtkWidget *window; + +Index: src/ui_transfer.c +=================================================================== +RCS file: /cvsroot/giftui/giftui/src/ui_transfer.c,v +retrieving revision 1.2 +retrieving revision 1.3 +diff -u -p -r1.2 -r1.3 +--- src/ui_transfer.c 15 May 2004 05:45:36 -0000 1.2 ++++ src/ui_transfer.c 27 Jul 2004 08:18:09 -0000 1.3 +@@ -24,8 +24,6 @@ + #include <gdk/gdkkeysyms.h> + #include <gtk/gtk.h> + +-#include "gtkcellrendererprogress.h" +- + #include "io.h" + #include "event.h" + #include "configure.h" +Index: src/ui_transfer.h +=================================================================== +RCS file: /cvsroot/giftui/giftui/src/ui_transfer.h,v +retrieving revision 1.1.1.1 +retrieving revision 1.2 +diff -u -p -r1.1.1.1 -r1.2 +--- src/ui_transfer.h 6 May 2004 06:55:01 -0000 1.1.1.1 ++++ src/ui_transfer.h 27 Jul 2004 08:18:09 -0000 1.2 +@@ -38,6 +38,14 @@ + + #define GIFTUI_TRANSFERFILE(arg) ((GiftuiTransferFile_t *) (arg)) + ++typedef enum ++{ ++ GTK_CELL_RENDERER_PROGRESS_ACTIVE, ++ GTK_CELL_RENDERER_PROGRESS_COMPLETED, ++ GTK_CELL_RENDERER_PROGRESS_PAUSED, ++ GTK_CELL_RENDERER_PROGRESS_CANCELED ++} GtkCellRendererProgressColor; ++ + typedef struct _GiftuiTransfer GiftuiTransfer; + typedef struct _GiftuiTransferClass GiftuiTransferClass; + +Index: src/ui_transfer_cb.c +=================================================================== +RCS file: /cvsroot/giftui/giftui/src/ui_transfer_cb.c,v +retrieving revision 1.1.1.1 +retrieving revision 1.2 +diff -u -p -r1.1.1.1 -r1.2 +--- src/ui_transfer_cb.c 6 May 2004 06:54:58 -0000 1.1.1.1 ++++ src/ui_transfer_cb.c 27 Jul 2004 08:31:49 -0000 1.2 +@@ -23,8 +23,6 @@ + #include <libgift/libgift.h> + #include <gtk/gtk.h> + +-#include "gtkcellrendererprogress.h" +- + #include "io.h" + #include "event.h" + #include "configure.h" diff --git a/net-p2p/giftui/files/patch-src::io.c b/net-p2p/giftui/files/patch-src::io.c new file mode 100644 index 000000000..89f46fd29 --- /dev/null +++ b/net-p2p/giftui/files/patch-src::io.c @@ -0,0 +1,10 @@ +--- src/io.c.orig Wed May 26 09:23:51 2004 ++++ src/io.c Wed May 26 09:24:08 2004 +@@ -21,6 +21,7 @@ + + #include <stdio.h> + #include <stdarg.h> ++#include <sys/types.h> + #include <sys/socket.h> + #include <arpa/inet.h> + #include <netdb.h> diff --git a/net-p2p/giftui/pkg-descr b/net-p2p/giftui/pkg-descr new file mode 100644 index 000000000..ceb5f0e12 --- /dev/null +++ b/net-p2p/giftui/pkg-descr @@ -0,0 +1,7 @@ +giFTui is a tabbed based GTK+ frontend for the giftd daemon which handles file +sharing plugins. + +WWW: http://giftui.sourceforge.net + +- Joel +joeldiaz@bellsouth.net diff --git a/net-p2p/giftui/pkg-plist b/net-p2p/giftui/pkg-plist new file mode 100644 index 000000000..cf510883b --- /dev/null +++ b/net-p2p/giftui/pkg-plist @@ -0,0 +1,21 @@ +bin/giftui +share/applications/giftui.desktop +share/giftui/icons/fasttrack-down.png +share/giftui/icons/fasttrack-network.png +share/giftui/icons/fasttrack-search.png +share/giftui/icons/fasttrack-up.png +share/giftui/icons/gnutella-down.png +share/giftui/icons/gnutella-network.png +share/giftui/icons/gnutella-search.png +share/giftui/icons/gnutella-up.png +share/giftui/icons/openft-down.png +share/giftui/icons/openft-network.png +share/giftui/icons/openft-search.png +share/giftui/icons/openft-up.png +share/giftui/icons/opennap-down.png +share/giftui/icons/opennap-network.png +share/giftui/icons/opennap-search.png +share/giftui/icons/opennap-up.png +share/pixmaps/giftui.png +@dirrm share/giftui/icons +@dirrm share/giftui diff --git a/net-p2p/gtorrentviewer/Makefile b/net-p2p/gtorrentviewer/Makefile new file mode 100644 index 000000000..156874da9 --- /dev/null +++ b/net-p2p/gtorrentviewer/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: gtorrentviewer +# Date created: 2004-10-16 +# Whom: Michael Johnson <ahze@ahze.net> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= gtorrentviewer +PORTVERSION= 0.2b +PORTREVISION= 8 +CATEGORIES= net-p2p +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= GTorrentViewer-${PORTVERSION} + +MAINTAINER= ports@FreeBSD.org +COMMENT= GTK+2 viewer and editor for BitTorrent meta files + +LIB_DEPENDS= curl.4:${PORTSDIR}/ftp/curl + +USE_GNOME= gtk20 gnomehier intlhack +USE_XLIB= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +USE_GETOPT_LONG=yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --with-pixmapsdir=${PREFIX}/share/pixmaps \ + --with-desktopdir=${PREFIX}/share/applications + +MAN1= gtorrentviewer.1 +DOCS= AUTHORS COPYING ChangeLog README + +.ifndef (NOPORTDOCS) +post-install: + @${MKDIR} ${DOCSDIR} +.for i in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/net-p2p/gtorrentviewer/distinfo b/net-p2p/gtorrentviewer/distinfo new file mode 100644 index 000000000..05214dbdd --- /dev/null +++ b/net-p2p/gtorrentviewer/distinfo @@ -0,0 +1,3 @@ +MD5 (GTorrentViewer-0.2b.tar.gz) = c29058a09f26693863404ecdb2580770 +SHA256 (GTorrentViewer-0.2b.tar.gz) = 6e56351103f5d46a45be160baa1b7b956b4416fcdb4533b3d17a309665690c95 +SIZE (GTorrentViewer-0.2b.tar.gz) = 247584 diff --git a/net-p2p/gtorrentviewer/pkg-descr b/net-p2p/gtorrentviewer/pkg-descr new file mode 100644 index 000000000..bde2695b2 --- /dev/null +++ b/net-p2p/gtorrentviewer/pkg-descr @@ -0,0 +1,5 @@ +GTorrentViewer is a GTK2-based viewer and editor for BitTorrent meta files. It +is able to retrieve information from trackers, check files, show detailed +information, and modify .torrent files without having to start downloading. + +WWW: http://gtorrentviewer.sourceforge.net/ diff --git a/net-p2p/gtorrentviewer/pkg-plist b/net-p2p/gtorrentviewer/pkg-plist new file mode 100644 index 000000000..e6e05b6f5 --- /dev/null +++ b/net-p2p/gtorrentviewer/pkg-plist @@ -0,0 +1,24 @@ +bin/gtorrentviewer +share/GTorrentViewer/README +share/GTorrentViewer/pixmaps/about.png +share/GTorrentViewer/pixmaps/dictionary.png +share/GTorrentViewer/pixmaps/error.png +share/GTorrentViewer/pixmaps/gtorrentviewer.png +share/GTorrentViewer/pixmaps/gtorrentviewer.xpm +share/GTorrentViewer/pixmaps/info.png +share/GTorrentViewer/pixmaps/integer.png +share/GTorrentViewer/pixmaps/list.png +share/GTorrentViewer/pixmaps/ok.png +share/GTorrentViewer/pixmaps/string.png +share/GTorrentViewer/pixmaps/unknown.png +share/GTorrentViewer/pixmaps/warning.png +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/README +share/applications/gtorrentviewer.desktop +share/pixmaps/gtorrentviewer.png +share/pixmaps/gtorrentviewer.xpm +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm share/GTorrentViewer/pixmaps +@dirrm share/GTorrentViewer diff --git a/net-p2p/xmule/Makefile b/net-p2p/xmule/Makefile new file mode 100644 index 000000000..e4cc46459 --- /dev/null +++ b/net-p2p/xmule/Makefile @@ -0,0 +1,128 @@ +# New ports collection makefile for: xmule +# Date created: Tue Mar 11 05:06:20 UTC 2003 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= xmule +PORTVERSION= 1.12.2 +PORTREVISION= 6 +CATEGORIES= net-p2p +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +#MASTER_SITES= http://download.berlios.de/%SUBDIR%/ +MASTER_SITE_SUBDIR= xmule + +MAINTAINER= lioux@FreeBSD.org +COMMENT= Port of eMule eDonkey P2P client using wxWindows class library + +BUILD_DEPENDS= ${LOCALBASE}/lib/libcryptopp.a:${PORTSDIR}/security/cryptopp +LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 +RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget + +USE_GETTEXT= yes +USE_XLIB= yes +USE_BZIP2= yes +USE_GNOME= gnomehier \ + gnomehack \ + gnomeprefix +USE_GMAKE= yes +USE_WX= 2.6 +WX_CONF_ARGS= absolute +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --without-included-gettext \ + --with-cryptopp-prefix=${LOCALBASE} \ + --with-gtk-prefix=${LOCALBASE} \ + --with-libiconv-prefix=${LOCALBASE} \ + --with-libintl-prefix=${LOCALBASE} \ + --enable-debug +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS} -L${LOCALBASE}/lib" +MAKE_ARGS= -e +MAKE_ENV= CC="${CC}" CXX="${CXX}" + +# for debugging purposes +STRIP= + +FILES_ATOLL_PATCH= src/Preferences.cpp \ + src/otherfunctions.cpp +FILES_STDINT_PATCH= \ + intl/loadmsgcat.c \ + src/ClientList.h \ + src/sockets.h + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +BROKEN= "Does not compile on FreeBSD 4.x" +.endif + +.if ${ARCH} == "sparc64" +BROKEN= "Does not compile on sparc64" +.endif + +post-patch: +# it works for FreeBSD as well + @${REINPLACE_CMD} -E \ + -e 's|(Linux)|FreeBSD/\1|' \ + ${WRKSRC}/src/*.cpp +# update documentation with correct prefix + @${REINPLACE_CMD} -E \ + -e 's|/usr/X11R6/(bin/${PORTNAME}-ed2k-handler)|${PREFIX}/\1|' \ + ${WRKSRC}/docs/ED2K-Links.HOWTO +# use BSD_INSTALL_* macros + @${REINPLACE_CMD} -E \ + -e 's|cp -f|${INSTALL_DATA}|' \ + ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -E \ + -e 's|cp -p|${INSTALL_DATA}|' \ + ${WRKSRC}/po/Makefile.in.in +# fix mkinstalldirs location +# uphold CXX{,FLAGS} + ${FIND} ${WRKSRC} -name "Makefile*" -type f -print0 | \ + ${XARGS} -0 \ + ${REINPLACE_CMD} -E \ + -e 's,^(MKINSTALLDIRS|mkinstalldirs).*$$,\1=${INSTALL_WRKSRC}/mkinstalldirs,' \ + -e 's|g\+\+|${CXX}|' \ + -e 's|-O3|${CXXFLAGS}|' +# use correct FreeBSD atoll() prototype +.for file in ${FILES_ATOLL_PATCH} + @${REINPLACE_CMD} -E \ + -e 's|atoll[[:space:]]*\([[:space:]]*char|atoll(const char|' \ + ${WRKSRC}/${file} +.endfor +# stdint.h -> inttypes.h +.for file in ${FILES_STDINT_PATCH} + @${REINPLACE_CMD} -E \ + -e 's|<stdint.h>|<inttypes.h>|' \ + ${WRKSRC}/${file} +.endfor +# wx-config -> ${WX_CONFIG} + @${REINPLACE_CMD} -E \ + -e 's|wx-config|${WX_CONFIG}|' \ + ${WRKSRC}/src/xmule.make.in + +pre-configure: + @${FIND} ${WRKSRC} -type f -name "Makefile.in" | \ + ${XARGS} -x -n 10 \ + ${REINPLACE_CMD} -E \ + -e 's!^(AUTOCONF|AUTOHEADER|AUTOMAKE|ACLOCAL).*$$!\1=${TRUE}!' + @${REINPLACE_CMD} -E \ + -e 's|^(CXXFLAGS.*)$$|\1 -I${LOCALBASE}/include|' \ + ${WRKSRC}/xLibs/xrc/xrc.make.in + +pre-install: + @${CHMOD} a=rx ${WRKSRC}/mkinstalldirs + +post-install: +# install xmule binary + @${INSTALL_PROGRAM} \ + ${WRKSRC}/${PORTNAME} \ + ${PREFIX}/bin +# do not install a generic named ed2k binary +# install it under a more specific name + @${INSTALL_PROGRAM} \ + ${WRKSRC}/ed2k.xmule-2.0 \ + ${PREFIX}/bin/${PORTNAME}-ed2k-handler + +.include <bsd.port.post.mk> diff --git a/net-p2p/xmule/distinfo b/net-p2p/xmule/distinfo new file mode 100644 index 000000000..d90697f27 --- /dev/null +++ b/net-p2p/xmule/distinfo @@ -0,0 +1,3 @@ +MD5 (xmule-1.12.2.tar.bz2) = 372c02793f8282312a1370443420fda7 +SHA256 (xmule-1.12.2.tar.bz2) = e53b0f0d8d2fac630921c5bf82aedf298ceb48fb1b8a83b5361a81a272be1af5 +SIZE (xmule-1.12.2.tar.bz2) = 1290859 diff --git a/net-p2p/xmule/files/patch-Makefile.in b/net-p2p/xmule/files/patch-Makefile.in new file mode 100644 index 000000000..0d5c82471 --- /dev/null +++ b/net-p2p/xmule/files/patch-Makefile.in @@ -0,0 +1,16 @@ +--- Makefile.in.orig Fri Dec 9 19:22:49 2005 ++++ Makefile.in Fri Dec 9 19:23:02 2005 +@@ -268,10 +268,9 @@ + @rm -rf Compilation.flags Makefile aclocal.m4 autom4te.cache config.h* config.l* config.st* config.rp* configure depcomp intl + + install: all +- @mkdir -p @bindir@ +- @mkdir -p @datadir@/{applications,locale,icons} +- @cp -f ed2k.xmule-2.0 xmule @bindir@ +- @cp -f ed2k.xmule-2.0 @bindir@/ed2k ++ @mkdir -p @datadir@/applications ++ @mkdir -p @datadir@/locale ++ @mkdir -p @datadir@/pixmaps + @cd po && $(MAKE) install + @cp -f xmule.desktop @datadir@/applications + @cp -f xmule.xpm @datadir@/icons diff --git a/net-p2p/xmule/files/patch-docs::ED2K-Links.HOWTO b/net-p2p/xmule/files/patch-docs::ED2K-Links.HOWTO new file mode 100644 index 000000000..0bc6dcc5b --- /dev/null +++ b/net-p2p/xmule/files/patch-docs::ED2K-Links.HOWTO @@ -0,0 +1,44 @@ +--- docs/ED2K-Links.HOWTO.orig Thu Mar 4 12:46:20 2004 ++++ docs/ED2K-Links.HOWTO Tue Mar 9 21:21:16 2004 +@@ -14,7 +14,7 @@ + the mentioned directory: + + [Protocol] +- exec=/usr/local/bin/ed2k "%u" ++ exec=/usr/X11R6/bin/xmule-ed2k-handler "%u" + protocol=ed2k + input=none + output=none +@@ -39,12 +39,12 @@ + create xmule_submit.sh with this content: + + #!/bin/sh +- /usr/local/bin/ed2k "ed2k://$1"; ++ xmule-ed2k-handler "ed2k://$1"; + + now edit (as root) /etc/opera6rc or as non-root ~/.opera/opera6.ini: + + [Trusted Applications] +- ed2k=/usr/local/bin/xmule_submit.sh ++ ed2k=/usr/X11R6/bin/xmule_submit.sh + + [User Prefs] + TrustedExternalURLProtocols=ed2k +@@ -59,7 +59,7 @@ + TrustedExternalURLProtocols=ed2k + + in [Trusted Applications] +- ed2k=/path/to/ed2k ed2k://%u ++ ed2k=/usr/X11R6/bin/xmule-ed2k-handler ed2k://%u + + (Credits: ender) + +@@ -96,7 +96,7 @@ + + -create a file called "ed2k.cmd" with the following content: + +- ed2k ed2k:$URI_DATA ++ xmule-ed2k-handler ed2k:$URI_DATA + + [do this with your favorite text-editor, the file doesn't have to be executable] + diff --git a/net-p2p/xmule/pkg-descr b/net-p2p/xmule/pkg-descr new file mode 100644 index 000000000..8a46ef1bd --- /dev/null +++ b/net-p2p/xmule/pkg-descr @@ -0,0 +1,16 @@ +[ from author's website ] + +Port of eMule eDonkey P2P client using wxWindows class library. + +Features + +* Download/Upload works +* You can search and add ed2k-links +* Statistics +* Shared files tab works +* Messages tab is now implemented +* You can manage friends +* xMule can be minimized to systray +* You can set nearly all preferences + +WWW: http://www.xmule.ws/ diff --git a/net-p2p/xmule/pkg-plist b/net-p2p/xmule/pkg-plist new file mode 100644 index 000000000..a868ca572 --- /dev/null +++ b/net-p2p/xmule/pkg-plist @@ -0,0 +1,14 @@ +bin/xmule +bin/xmule-ed2k-handler +share/applications/xmule.desktop +share/icons/xmule.xpm +share/locale/de/LC_MESSAGES/xmule.mo +share/locale/ee/LC_MESSAGES/xmule.mo +share/locale/es/LC_MESSAGES/xmule.mo +share/locale/es_MX/LC_MESSAGES/xmule.mo +share/locale/fr/LC_MESSAGES/xmule.mo +share/locale/it/LC_MESSAGES/xmule.mo +share/locale/ko/LC_MESSAGES/xmule.mo +share/locale/pl/LC_MESSAGES/xmule.mo +share/locale/tr/LC_MESSAGES/xmule.mo +@dirrmtry share/icons |