aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/xmule
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/xmule')
-rw-r--r--net-p2p/xmule/Makefile100
-rw-r--r--net-p2p/xmule/distinfo2
-rw-r--r--net-p2p/xmule/files/patch-ED2K-Links.HOWTO44
-rw-r--r--net-p2p/xmule/files/patch-Makefile.in15
-rw-r--r--net-p2p/xmule/files/patch-src::ServerSocket.cpp10
-rw-r--r--net-p2p/xmule/files/patch-src::SysTray.h10
-rw-r--r--net-p2p/xmule/files/patch-src::WebServer.cpp13
-rw-r--r--net-p2p/xmule/files/patch-src::xmule.cpp10
-rw-r--r--net-p2p/xmule/pkg-descr16
-rw-r--r--net-p2p/xmule/pkg-plist23
10 files changed, 0 insertions, 243 deletions
diff --git a/net-p2p/xmule/Makefile b/net-p2p/xmule/Makefile
deleted file mode 100644
index aaeef05e6dd6..000000000000
--- a/net-p2p/xmule/Makefile
+++ /dev/null
@@ -1,100 +0,0 @@
-# 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.9.4.b
-PORTREVISION= 1
-CATEGORIES= net
-#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITES= http://download.berlios.de/%SUBDIR%/
-MASTER_SITE_SUBDIR= xmule
-DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
-
-MAINTAINER= lioux@FreeBSD.org
-COMMENT= Port of eMule eDonkey P2P client using wxWindows class library
-
-LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2 \
- wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2
-RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
-
-USE_GETTEXT= yes
-USE_X_PREFIX= yes
-USE_BZIP2= yes
-USE_GNOME= gnomehier \
- gnomehack \
- gnomeprefix
-USE_REINPLACE= yes
-USE_GMAKE= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --without-included-gettext \
- --with-gtk-prefix=${X11BASE} \
- --with-libiconv-prefix=${LOCALBASE} \
- --with-libintl-prefix=${LOCALBASE} \
- --enable-debug \
- --with-wx-config=${WX_CONFIG}
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
- LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
-MAKE_ENV= CC="${CC}" CXX="${CXX}"
-
-# for debugging purposes
-STRIP=
-
-WX_CONFIG?= ${X11BASE}/bin/wxgtk2-2.4-config
-
-FILES_ATOLL_PATCH= src/Preferences.cpp \
- src/otherfunctions.cpp
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000 || ${ARCH} == "sparc64"
-BROKEN= "Does not compile on 4.x or 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}/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
-# 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
-
-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
-
-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 \
- ${PREFIX}/bin/${PORTNAME}-ed2k-handler
-
-.include <bsd.port.post.mk>
diff --git a/net-p2p/xmule/distinfo b/net-p2p/xmule/distinfo
deleted file mode 100644
index ac5010f8fbc5..000000000000
--- a/net-p2p/xmule/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 (xmule-1.9.4b.tar.bz2) = 467512b482feb308e376ff16ac4de649
-SIZE (xmule-1.9.4b.tar.bz2) = 1395296
diff --git a/net-p2p/xmule/files/patch-ED2K-Links.HOWTO b/net-p2p/xmule/files/patch-ED2K-Links.HOWTO
deleted file mode 100644
index 3780a708b5d1..000000000000
--- a/net-p2p/xmule/files/patch-ED2K-Links.HOWTO
+++ /dev/null
@@ -1,44 +0,0 @@
---- ED2K-Links.HOWTO.orig Thu Mar 4 12:46:20 2004
-+++ 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/files/patch-Makefile.in b/net-p2p/xmule/files/patch-Makefile.in
deleted file mode 100644
index 0b26965c1675..000000000000
--- a/net-p2p/xmule/files/patch-Makefile.in
+++ /dev/null
@@ -1,15 +0,0 @@
---- Makefile.in.orig Sun Nov 14 20:51:28 2004
-+++ Makefile.in Sun Nov 14 20:52:07 2004
-@@ -268,9 +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,pixmaps}
-- @cp -f ed2k xmule @bindir@
-+ @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@/pixmaps
diff --git a/net-p2p/xmule/files/patch-src::ServerSocket.cpp b/net-p2p/xmule/files/patch-src::ServerSocket.cpp
deleted file mode 100644
index b3e1a7f2fb43..000000000000
--- a/net-p2p/xmule/files/patch-src::ServerSocket.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/ServerSocket.cpp.orig Sun Nov 14 19:41:57 2004
-+++ src/ServerSocket.cpp Sun Nov 14 19:42:03 2004
-@@ -44,6 +44,7 @@
-
- #include "DynPrefs/DynPrefs.h" // Needed for DynamicPreferences
-
-+#include <netinet/in.h>
- #include <arpa/inet.h> // Needed for sockaddr_in
-
- class ServerSocketEvt: public wxEvtHandler
diff --git a/net-p2p/xmule/files/patch-src::SysTray.h b/net-p2p/xmule/files/patch-src::SysTray.h
deleted file mode 100644
index 55da4e3d176e..000000000000
--- a/net-p2p/xmule/files/patch-src::SysTray.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/SysTray.h.orig Sun Nov 14 19:45:30 2004
-+++ src/SysTray.h Sun Nov 14 19:45:00 2004
-@@ -31,6 +31,7 @@
- #include <locale.h>
- #include <config.h>
- #include <sys/ioctl.h>
-+#include <sys/socket.h>
- #include <net/if.h>
- #include <netinet/in.h>
- #include <arpa/inet.h>
diff --git a/net-p2p/xmule/files/patch-src::WebServer.cpp b/net-p2p/xmule/files/patch-src::WebServer.cpp
deleted file mode 100644
index 4087253695dd..000000000000
--- a/net-p2p/xmule/files/patch-src::WebServer.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/WebServer.cpp.orig Tue May 20 20:42:30 2003
-+++ src/WebServer.cpp Tue May 20 21:06:14 2003
-@@ -9,6 +9,10 @@
- #include <wx/wfstream.h>
- #include <wx/txtstrm.h>
-
-+#ifdef __FreeBSD__
-+extern long long atoll(const char *s);
-+#endif /* __FreeBSD__ */
-+
- #ifdef _DEBUG
- #undef THIS_FILE
- static char THIS_FILE[]=__FILE__;
diff --git a/net-p2p/xmule/files/patch-src::xmule.cpp b/net-p2p/xmule/files/patch-src::xmule.cpp
deleted file mode 100644
index 559592e23866..000000000000
--- a/net-p2p/xmule/files/patch-src::xmule.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/xmule.cpp.orig Sun Nov 14 20:25:21 2004
-+++ src/xmule.cpp Sun Nov 14 20:32:50 2004
-@@ -65,7 +65,6 @@
-
- #include <iostream> // Needed for std::cout
- #include <gtk/gtk.h> // Needed for GTK_WINDOW_TOPLEVEL
--#include <mcheck.h>
-
- #include <wx/clipbrd.h> // Needed for wxTheClipboard
- #include <wx/msgdlg.h> // Needed for wxMessageBox
diff --git a/net-p2p/xmule/pkg-descr b/net-p2p/xmule/pkg-descr
deleted file mode 100644
index 8a46ef1bd652..000000000000
--- a/net-p2p/xmule/pkg-descr
+++ /dev/null
@@ -1,16 +0,0 @@
-[ 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
deleted file mode 100644
index f90018fa37b2..000000000000
--- a/net-p2p/xmule/pkg-plist
+++ /dev/null
@@ -1,23 +0,0 @@
-bin/xmule
-bin/xmule-ed2k-handler
-share/gnome/applications/xmule.desktop
-share/gnome/pixmaps/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
-@unexec rmdir %D/share/locale/pl/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/pl 2>/dev/null || true
-@unexec rmdir %D/share/locale/ko/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/ko 2>/dev/null || true
-@unexec rmdir %D/share/locale/ee/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/ee 2>/dev/null || true
-@unexec rmdir %D/share/gnome/pixmaps 2>/dev/null || true
-@unexec rmdir %D/share/gnome/locale 2>/dev/null || true
-@unexec rmdir %D/share/gnome/applications 2>/dev/null || true
-@unexec rmdir %D/share/gnome 2>/dev/null || true