mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Update to 1.9.4b
This commit is contained in:
parent
b0b6643138
commit
e7b0462c0a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121620
14 changed files with 120 additions and 44 deletions
|
@ -6,11 +6,12 @@
|
|||
#
|
||||
|
||||
PORTNAME= xmule
|
||||
PORTVERSION= 1.8.2
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.9.4.b
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
#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
|
||||
|
@ -34,7 +35,7 @@ CONFIGURE_ARGS= --without-included-gettext \
|
|||
--with-libintl-prefix=${LOCALBASE} \
|
||||
--enable-debug \
|
||||
--with-wx-config=${WX_CONFIG}
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS}" \
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
|
||||
LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
|
||||
MAKE_ENV= CC="${CC}" CXX="${CXX}"
|
||||
|
||||
|
@ -74,14 +75,19 @@ pre-configure:
|
|||
${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}/src/${PORTNAME} \
|
||||
@${INSTALL_PROGRAM} \
|
||||
${WRKSRC}/${PORTNAME} \
|
||||
${PREFIX}/bin
|
||||
# do not install a generic named ed2k binary
|
||||
# install it under a more specific name
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/src/ed2k \
|
||||
@${INSTALL_PROGRAM} \
|
||||
${WRKSRC}/ed2k \
|
||||
${PREFIX}/bin/${PORTNAME}-ed2k-handler
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
MD5 (xmule-1.8.2.tar.bz2) = 4d87272ba1a224e78a9368986bb4510e
|
||||
SIZE (xmule-1.8.2.tar.bz2) = 1177837
|
||||
MD5 (xmule-1.9.4b.tar.bz2) = 467512b482feb308e376ff16ac4de649
|
||||
SIZE (xmule-1.9.4b.tar.bz2) = 1395296
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
--- Makefile.in.orig Tue Mar 9 23:59:49 2004
|
||||
+++ Makefile.in Tue Mar 9 23:59:54 2004
|
||||
@@ -55,8 +55,9 @@
|
||||
--- 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 @bindir@
|
||||
- @mkdir -p @datadir@/{applications,locale,pixmaps}
|
||||
- @cp -f src/{ed2k,xmule} @bindir@
|
||||
- @cp -f ed2k xmule @bindir@
|
||||
+ @mkdir -p @datadir@/applications
|
||||
+ @mkdir -p @datadir@/locale
|
||||
+ @mkdir -p @datadir@/pixmaps
|
||||
|
|
10
net-p2p/xmule/files/patch-src::ServerSocket.cpp
Normal file
10
net-p2p/xmule/files/patch-src::ServerSocket.cpp
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- 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
|
10
net-p2p/xmule/files/patch-src::SysTray.h
Normal file
10
net-p2p/xmule/files/patch-src::SysTray.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- 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>
|
10
net-p2p/xmule/files/patch-src::xmule.cpp
Normal file
10
net-p2p/xmule/files/patch-src::xmule.cpp
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- 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
|
|
@ -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
|
||||
|
@ -32,3 +32,4 @@ share/locale/tr/LC_MESSAGES/xmule.mo
|
|||
@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
|
||||
|
|
|
@ -6,11 +6,12 @@
|
|||
#
|
||||
|
||||
PORTNAME= xmule
|
||||
PORTVERSION= 1.8.2
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.9.4.b
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
#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
|
||||
|
@ -34,7 +35,7 @@ CONFIGURE_ARGS= --without-included-gettext \
|
|||
--with-libintl-prefix=${LOCALBASE} \
|
||||
--enable-debug \
|
||||
--with-wx-config=${WX_CONFIG}
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS}" \
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
|
||||
LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
|
||||
MAKE_ENV= CC="${CC}" CXX="${CXX}"
|
||||
|
||||
|
@ -74,14 +75,19 @@ pre-configure:
|
|||
${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}/src/${PORTNAME} \
|
||||
@${INSTALL_PROGRAM} \
|
||||
${WRKSRC}/${PORTNAME} \
|
||||
${PREFIX}/bin
|
||||
# do not install a generic named ed2k binary
|
||||
# install it under a more specific name
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/src/ed2k \
|
||||
@${INSTALL_PROGRAM} \
|
||||
${WRKSRC}/ed2k \
|
||||
${PREFIX}/bin/${PORTNAME}-ed2k-handler
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
MD5 (xmule-1.8.2.tar.bz2) = 4d87272ba1a224e78a9368986bb4510e
|
||||
SIZE (xmule-1.8.2.tar.bz2) = 1177837
|
||||
MD5 (xmule-1.9.4b.tar.bz2) = 467512b482feb308e376ff16ac4de649
|
||||
SIZE (xmule-1.9.4b.tar.bz2) = 1395296
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
--- Makefile.in.orig Tue Mar 9 23:59:49 2004
|
||||
+++ Makefile.in Tue Mar 9 23:59:54 2004
|
||||
@@ -55,8 +55,9 @@
|
||||
--- 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 @bindir@
|
||||
- @mkdir -p @datadir@/{applications,locale,pixmaps}
|
||||
- @cp -f src/{ed2k,xmule} @bindir@
|
||||
- @cp -f ed2k xmule @bindir@
|
||||
+ @mkdir -p @datadir@/applications
|
||||
+ @mkdir -p @datadir@/locale
|
||||
+ @mkdir -p @datadir@/pixmaps
|
||||
|
|
10
net/xmule/files/patch-src::ServerSocket.cpp
Normal file
10
net/xmule/files/patch-src::ServerSocket.cpp
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- 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
|
10
net/xmule/files/patch-src::SysTray.h
Normal file
10
net/xmule/files/patch-src::SysTray.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- 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>
|
10
net/xmule/files/patch-src::xmule.cpp
Normal file
10
net/xmule/files/patch-src::xmule.cpp
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- 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
|
|
@ -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
|
||||
|
@ -32,3 +32,4 @@ share/locale/tr/LC_MESSAGES/xmule.mo
|
|||
@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
|
||||
|
|
Loading…
Add table
Reference in a new issue