summaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-11-10 02:49:18 +0000
committerlioux <lioux@FreeBSD.org>2003-11-10 02:49:18 +0000
commit3f97636b9c5b9dcae13efa54e21571eb0b09e684 (patch)
tree4b64aa99d9a9a7c953c6a3f62fdf15dfdb7cd485 /net-p2p
parenta62c8b93748ca2f5b653e0838c0b246e760ec2f8 (diff)
downloadFreeBSD-ports-3f97636b9c5b9dcae13efa54e21571eb0b09e684.zip
FreeBSD-ports-3f97636b9c5b9dcae13efa54e21571eb0b09e684.tar.gz
o Update to 1.6.1 [1] [3]
o Update to new wxgtk2 port [2] PR: 58089 [1], 58956 [2] Submitted by: Morten Rodal <morten@rodal.no> [1], Pav Lucistnik <pav@oook.cz> [2], Jerome Mainka <mainka@antidot.net> [3]
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/xmule/Makefile27
-rw-r--r--net-p2p/xmule/distinfo2
-rw-r--r--net-p2p/xmule/files/patch-src::xmule.cpp20
-rw-r--r--net-p2p/xmule/pkg-plist2
4 files changed, 10 insertions, 41 deletions
diff --git a/net-p2p/xmule/Makefile b/net-p2p/xmule/Makefile
index 24096a5..b7edd2f 100644
--- a/net-p2p/xmule/Makefile
+++ b/net-p2p/xmule/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= xmule
-PORTVERSION= 1.6.0
-PORTREVISION= 1
+PORTVERSION= 1.6.1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= xmule
@@ -20,13 +19,14 @@ COMMENT= Port of eMule eDonkey P2P client using wxWindows class library
LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext \
expat.4:${PORTSDIR}/textproc/expat2 \
- wx_gtk-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk
+ wx_gtk2-2.4:${PORTSDIR}/x11-toolkits/wxgtk2
RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
USE_X_PREFIX= yes
USE_BZIP2= yes
USE_GNOME= gnomehier \
gnomehack \
+ gtk20 \
gnomeprefix
USE_REINPLACE= yes
USE_GMAKE= yes
@@ -37,7 +37,9 @@ CONFIGURE_ARGS= --without-included-gettext \
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-WX_CONFIG?= ${X11BASE}/bin/wx-config
+WX_CONFIG?= ${X11BASE}/bin/wxgtk2-2.4-config
+
+wx_gtk2-2.4:${PORTSDIR}/x11-toolkits/wxgtk2
post-patch:
# it works for FreeBSD as well
@@ -74,19 +76,4 @@ post-install:
@${INSTALL_PROGRAM} ${WRKSRC}/src/ed2k \
${PREFIX}/bin/${PORTNAME}-ed2k-handler
-.include <bsd.port.pre.mk>
-
-.if exists(${WX_CONFIG})
-# detect if wxgtk was linked against gtk1 or gtk2
-DECISION_GTK_1_OR_2!= ${WX_CONFIG} --static --libs
-.else
-DECISION_GTK_1_OR_2= ""
-.endif
-
-.if ${DECISION_GTK_1_OR_2:M*glib-2.0} != ""
-USE_GNOME+= gtk20
-.else
-USE_GNOME+= gtk12
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-p2p/xmule/distinfo b/net-p2p/xmule/distinfo
index 2658aa6..a0af451 100644
--- a/net-p2p/xmule/distinfo
+++ b/net-p2p/xmule/distinfo
@@ -1 +1 @@
-MD5 (xmule-1.6.0.tar.bz2) = 513aee4826007d2e9c5bade5ca48b144
+MD5 (xmule-1.6.1.tar.bz2) = 7db64383f0b2ed33f09f1cb5e34dd161
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 f257618..0000000
--- a/net-p2p/xmule/files/patch-src::xmule.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/xmule.cpp.orig Tue Sep 9 00:15:19 2003
-+++ src/xmule.cpp Tue Sep 9 00:16:06 2003
-@@ -797,7 +797,7 @@
- delete[] emulesig_path;
- delete[] xmulesig_path;
- } //End Added By Bouc7
--#if defined(__Linux__)
-+#if 0
- #include <execinfo.h>
- #endif
-
-@@ -810,7 +810,7 @@
- theApp.clientudp->Destroy();
-
- // (stkn) create backtrace
--#if defined(__Linux__)
-+#if 0
- void *bt_array[100]; // 100 should be enough ?!?
- char **bt_strings;
- int num_entries;
diff --git a/net-p2p/xmule/pkg-plist b/net-p2p/xmule/pkg-plist
index a39259b..aa4552a 100644
--- a/net-p2p/xmule/pkg-plist
+++ b/net-p2p/xmule/pkg-plist
@@ -15,6 +15,8 @@ share/locale/tr/LC_MESSAGES/xmule.mo
@unexec rmdir %D/share/locale/tr 2>/dev/null || true
@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/it/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/it 2>/dev/null || true
@unexec rmdir %D/share/locale/fr/LC_MESSAGES 2>/dev/null || true
OpenPOWER on IntegriCloud