aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/xmule
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2005-11-18 15:01:51 +0800
committerlioux <lioux@FreeBSD.org>2005-11-18 15:01:51 +0800
commitf8eba1be87036a848553dc147d76a49bba32de8f (patch)
tree4b4607a016d50308b01f553bbe2171687b666529 /net-p2p/xmule
parent0f0eedebcef4e54cde2be55af48fe05851347c33 (diff)
downloadfreebsd-ports-gnome-f8eba1be87036a848553dc147d76a49bba32de8f.tar.gz
freebsd-ports-gnome-f8eba1be87036a848553dc147d76a49bba32de8f.tar.zst
freebsd-ports-gnome-f8eba1be87036a848553dc147d76a49bba32de8f.zip
o Update to 1.12.0
o Switch from depending on x11-toolkits/wxgtk24 to x11-toolkits/wxgtk26 o Remove patches which incorporated in the distribution PR: 88176 Submitted by: Frerich Raabe <frerich.raabe@gmx.de>
Diffstat (limited to 'net-p2p/xmule')
-rw-r--r--net-p2p/xmule/Makefile16
-rw-r--r--net-p2p/xmule/distinfo6
-rw-r--r--net-p2p/xmule/files/patch-configure21
-rw-r--r--net-p2p/xmule/files/patch-docs::ED2K-Links.HOWTO (renamed from net-p2p/xmule/files/patch-ED2K-Links.HOWTO)4
-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-plist18
9 files changed, 44 insertions, 64 deletions
diff --git a/net-p2p/xmule/Makefile b/net-p2p/xmule/Makefile
index 0c3fd9156b56..2e0f9d35a59c 100644
--- a/net-p2p/xmule/Makefile
+++ b/net-p2p/xmule/Makefile
@@ -6,19 +6,18 @@
#
PORTNAME= xmule
-DISTVERSION= 1.10.0a
+DISTVERSION= 1.12.0
CATEGORIES= net
-#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITES= http://download.berlios.de/%SUBDIR%/
+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
BUILD_DEPENDS= ${LOCALBASE}/lib/libcryptopp.a:${PORTSDIR}/security/cryptopp
LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2 \
- wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk24
+ wx_gtk2_core-2.6.0:${PORTSDIR}/x11-toolkits/wxgtk26
RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
USE_GETTEXT= yes
@@ -44,7 +43,7 @@ MAKE_ENV= CC="${CC}" CXX="${CXX}"
# for debugging purposes
STRIP=
-WX_CONFIG?= ${X11BASE}/bin/wxgtk2-2.4-config
+WX_CONFIG?= ${X11BASE}/bin/wxgtk2-2.6-config
FILES_ATOLL_PATCH= src/Preferences.cpp \
src/otherfunctions.cpp
@@ -71,7 +70,7 @@ post-patch:
# update documentation with correct prefix
@${REINPLACE_CMD} -E \
-e 's|/usr/X11R6/(bin/${PORTNAME}-ed2k-handler)|${PREFIX}/\1|' \
- ${WRKSRC}/ED2K-Links.HOWTO
+ ${WRKSRC}/docs/ED2K-Links.HOWTO
# use BSD_INSTALL_* macros
@${REINPLACE_CMD} -E \
-e 's|cp -f|${INSTALL_DATA}|' \
@@ -109,6 +108,9 @@ pre-configure:
-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} \
diff --git a/net-p2p/xmule/distinfo b/net-p2p/xmule/distinfo
index e20a3a7592c8..9b5a83ad0322 100644
--- a/net-p2p/xmule/distinfo
+++ b/net-p2p/xmule/distinfo
@@ -1,3 +1,3 @@
-MD5 (xmule-1.10.0a.tar.bz2) = 44935bc3ae712bca8aa78451b514feb3
-SHA256 (xmule-1.10.0a.tar.bz2) = c6628f526b7cf0d95a91833110c2c9939a81b8af415d8265753dc8d9e713cb49
-SIZE (xmule-1.10.0a.tar.bz2) = 1253524
+MD5 (xmule-1.12.0.tar.bz2) = 822cc602a9b6072b307577873bf0ecd2
+SHA256 (xmule-1.12.0.tar.bz2) = aecf268bb9bc1b12b5ce02ec14c62deb5ec662337ce23db7b39b5d82bee9c9bc
+SIZE (xmule-1.12.0.tar.bz2) = 1286122
diff --git a/net-p2p/xmule/files/patch-configure b/net-p2p/xmule/files/patch-configure
new file mode 100644
index 000000000000..1f41d2c4af25
--- /dev/null
+++ b/net-p2p/xmule/files/patch-configure
@@ -0,0 +1,21 @@
+--- configure.orig Thu Oct 27 17:47:55 2005
++++ configure Fri Nov 18 04:36:06 2005
+@@ -9070,15 +9070,15 @@
+
+ if test x"$have_cryptopp" = x"yes"; then
+ cryp_name="cryptopp";
+- have_crypto = 1
++ have_crypto=1
+ fi
+
+ if test x"$have_cryptopp2" = x"yes"; then
+ cryp_name="crypto++"
+- have_crypto = 1
++ have_crypto=1
+ fi
+
+-if have_crypto -eq 1; then
++if [ ${have_crypto} -eq 1 ]; then
+ echo "Cryp name: -$cryp_name-"
+
+ cat >>confdefs.h <<_ACEOF
diff --git a/net-p2p/xmule/files/patch-ED2K-Links.HOWTO b/net-p2p/xmule/files/patch-docs::ED2K-Links.HOWTO
index 3780a708b5d1..0bc6dcc5be15 100644
--- a/net-p2p/xmule/files/patch-ED2K-Links.HOWTO
+++ b/net-p2p/xmule/files/patch-docs::ED2K-Links.HOWTO
@@ -1,5 +1,5 @@
---- ED2K-Links.HOWTO.orig Thu Mar 4 12:46:20 2004
-+++ ED2K-Links.HOWTO Tue Mar 9 21:21:16 2004
+--- 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:
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-plist b/net-p2p/xmule/pkg-plist
index fa920da99a26..36670a8a5535 100644
--- a/net-p2p/xmule/pkg-plist
+++ b/net-p2p/xmule/pkg-plist
@@ -2,15 +2,15 @@ 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
+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/tr/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/tr 2>/dev/null || true
@unexec rmdir %D/share/locale/pl/LC_MESSAGES 2>/dev/null || true