View | Details | Raw Unified | Return to bug 73044
Collapse All | Expand All

(-)amule/Makefile (-10 / +68 lines)
Lines 2-12 Link Here
2
# Date created:		Wed Nov 05 09:30:00 UTC 2003
2
# Date created:		Wed Nov 05 09:30:00 UTC 2003
3
# Whom:			Ganael LAPLANCHE <ganael.laplanche@martymac.com>
3
# Whom:			Ganael LAPLANCHE <ganael.laplanche@martymac.com>
4
#
4
#
5
# $FreeBSD: ports/net/amule/Makefile,v 1.8 2004/07/17 15:34:53 pav Exp $
5
# $FreeBSD: ports/net/amule/Makefile,v 1.2 2004/03/03 09:40:47 pav Exp $
6
#
6
#
7
7
8
PORTNAME=	aMule
8
PORTNAME=	aMule
9
PORTVERSION=	1.2.8
9
PORTVERSION=	2.0.0rc7
10
CATEGORIES=	net
10
CATEGORIES=	net
11
MASTER_SITES=	http://download.berlios.de/amule/
11
MASTER_SITES=	http://download.berlios.de/amule/
12
12
Lines 14-38 Link Here
14
COMMENT=	Just another eMule P2P Client
14
COMMENT=	Just another eMule P2P Client
15
15
16
LIB_DEPENDS=	wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2 \
16
LIB_DEPENDS=	wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2 \
17
		curl.3:${PORTSDIR}/ftp/curl
17
		curl.3:${PORTSDIR}/ftp/curl \
18
		execinfo.1:${PORTSDIR}/devel/libexecinfo
19
#		gd.4:${PORTSDIR}/graphics/gd
18
20
19
USE_X_PREFIX=	yes
21
USE_X_PREFIX=	yes
20
USE_GNOME=	gnomehier gnomehack gnomeprefix
22
USE_GNOME=	gnomehier gnomehack gnomeprefix
21
USE_GMAKE=	yes
23
USE_GMAKE=	yes
22
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
23
CONFIGURE_ARGS=	--without-included-gettext \
25
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
26
CONFIGURE_ARGS=	--disable-debug \
27
		--without-included-gettext \
24
		--with-libintl-prefix=${LOCALBASE} \
28
		--with-libintl-prefix=${LOCALBASE} \
25
		--with-libiconv-prefix=${LOCALBASE} \
29
		--with-libiconv-prefix=${LOCALBASE} \
26
		--with-wx-config=${WX_CONFIG} \
30
		--with-wx-config=${WX_CONFIG} \
27
		--with-wxbase-config=${WX_CONFIG} \
31
		--with-wxbase-config=${WX_CONFIG} \
28
		--with-curl-config=${CURL_CONFIG} \
32
		--with-curl-config=${CURL_CONFIG} \
29
		--program-transform-name="s/ed2k/amule-ed2k-handler/"
33
		--enable-embedded_crypto \
34
		--enable-utf8-systray
35
#		--with-gdlib-prefix=${LOCALBASE} \
36
#		--with-gdlib-exec-prefix=${LOCALBASE}
30
37
31
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
38
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
32
		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
39
		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
33
40
34
OPTIONS=	OPTIMIZE "Build with optimization" on \
41
OPTIONS=	OPTIMIZE "Build with optimization" on \
35
		STATIC "Enable static linking" off
42
		ED2K "Compile aMule ed2k links handler" on \
43
		AMULECMD "Compile aMule command line client (+GUI)" on \
44
		AMULEWEBSRV "Compile aMule WebServer (+GUI)" on \
45
		CAS "Compile C aMule Statistics (+GUI)" on \
46
		ALC "Compile aMule Link Creator (+GUI)" on
47
#		AMULEDAEMON "Compile aMule daemon version (+GUI) - unsupported yet : needs wxGtk >= 2.5.1" on
36
48
37
WX_CONFIG?=	${X11BASE}/bin/wxgtk2-2.4-config
49
WX_CONFIG?=	${X11BASE}/bin/wxgtk2-2.4-config
38
CURL_CONFIG?=	${LOCALBASE}/bin/curl-config
50
CURL_CONFIG?=	${LOCALBASE}/bin/curl-config
Lines 40-51 Link Here
40
.include <bsd.port.pre.mk>
52
.include <bsd.port.pre.mk>
41
53
42
# Configure options
54
# Configure options
43
.if !defined(WITHOUT_OPTIMIZE)
55
.if defined(WITH_OPTIMIZE)
44
CONFIGURE_ARGS+=	--enable-optimise
56
CONFIGURE_ARGS+=	--enable-optimize
57
.else
58
CONFIGURE_ARGS+=	--disable-optimize
45
.endif
59
.endif
46
60
47
.if defined(WITH_STATIC)
61
.if defined(WITH_ED2K)
48
CONFIGURE_ARGS+=	--enable-static
62
CONFIGURE_ARGS+=	--enable-ed2k --program-transform-name="s/ed2k/amule-ed2k/"
63
PLIST_SUB+=		PL_ED2K=""
64
.else
65
CONFIGURE_ARGS+=	--disable-ed2k
66
PLIST_SUB+=		PL_ED2K="@comment "
49
.endif
67
.endif
68
69
.if defined(WITH_AMULECMD)
70
CONFIGURE_ARGS+=	--enable-amulecmd --enable-amulecmdgui
71
PLIST_SUB+=		PL_AMULECMD=""
72
.else
73
CONFIGURE_ARGS+=	--disable-amulecmd --disable-amulecmdgui
74
PLIST_SUB+=		PL_AMULECMD="@comment "
75
.endif
76
77
.if defined(WITH_AMULEWEBSRV)
78
CONFIGURE_ARGS+=	--enable-webserver --enable-webservergui
79
PLIST_SUB+=		PL_AMULEWEBSRV=""
80
.else
81
CONFIGURE_ARGS+=	--disable-webserver --disable-webservergui
82
PLIST_SUB+=		PL_AMULEWEBSRV="@comment "
83
.endif
84
85
.if defined(WITH_CAS)
86
CONFIGURE_ARGS+=	--enable-cas --enable-wxcas
87
PLIST_SUB+=		PL_CAS=""
88
.else
89
CONFIGURE_ARGS+=	--disable-cas --disable-wxcas
90
PLIST_SUB+=		PL_CAS="@comment "
91
.endif
92
93
.if defined(WITH_ALC)
94
CONFIGURE_ARGS+=	--enable-alc --enable-alcc
95
PLIST_SUB+=		PL_ALC=""
96
.else
97
CONFIGURE_ARGS+=	--disable-alc --disable-alcc
98
PLIST_SUB+=		PL_ALC="@comment "
99
.endif
100
101
#.if defined(WITH_AMULEDAEMON)
102
#CONFIGURE_ARGS+=	--enable-amule-daemon --enable-amule-gui
103
#PLIST_SUB+=		PL_AMULEDAEMON=""
104
#.else
105
#CONFIGURE_ARGS+=	--disable-amule-daemon --disable-amule-gui
106
#PLIST_SUB+=		PL_AMULEDAEMON="@comment "
107
#.endif
50
108
51
.include <bsd.port.post.mk>
109
.include <bsd.port.post.mk>
(-)amule/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (aMule-1.2.8.tar.gz) = c2594ab3f7a5cb6f0d2eb68c7b5f9135
1
MD5 (aMule-2.0.0rc7.tar.gz) = b62106da3c38be29314a542aa3d20e95
2
SIZE (aMule-1.2.8.tar.gz) = 2506663
2
SIZE (aMule-2.0.0rc7.tar.gz) = 2491155
(-)amule/files/patch-SysTray.cpp (-12 / +15 lines)
Lines 1-12 Link Here
1
--- src/SysTray.cpp.orig	Tue Jul  6 07:32:56 2004
1
--- src/SysTray.cpp.orig	Sat Oct 23 05:53:20 2004
2
+++ src/SysTray.cpp	Tue Jul  6 07:33:44 2004
2
+++ src/SysTray.cpp	Sat Oct 23 05:55:40 2004
3
@@ -23,8 +23,8 @@
3
@@ -24,6 +24,12 @@
4
 #include "sys.h"
4
 		#include <sys/types.h>
5
 #include <libintl.h>
5
 	#endif /* __BSD__ */
6
 #include <clocale>		// Needed for setlocale(3)
6
 
7
-#include <net/if.h>		// Needed for struct ifreq
7
+#if defined(__FreeBSD__) // for FreeBSD 4.x
8
 #include <sys/socket.h>		//
8
+        #if __FreeBSD__ < 5
9
+#include <net/if.h>		// Needed for struct ifreq
9
+                #include <sys/types.h>
10
 #include <netinet/in.h>		// Needed for inet_ntoa
10
+        #endif
11
 #include <arpa/inet.h>		//
11
+#endif
12
 #include <sys/ioctl.h>		// Needed for SIOCGIFADDR
12
+
13
 	#include <cstddef>			// Needed for NULL. Must be BEFORE gtk/gdk headers!
14
 	#include <sys/socket.h>		//
15
 	#include <netinet/in.h>		// Needed for inet_ntoa
(-)amule/pkg-descr (-3 / +3 lines)
Lines 1-6 Link Here
1
aMule - aNOTHER eMule P2P Client
1
aMule, the all-platform eMule p2p client
2
2
3
This program is a multiplatform fork of
3
aMule is a multiplatform fork of xMule
4
 xMule client using wxWindows class library.
4
client using wxWindows class library.
5
5
6
WWW: http://www.amule.org
6
WWW: http://www.amule.org
(-)amule/pkg-plist (-73 / +94 lines)
Lines 1-78 Link Here
1
bin/amule
1
share/locale/ar/LC_MESSAGES/amule.mo
2
bin/amule-ed2k-handler
2
share/locale/bg/LC_MESSAGES/amule.mo
3
bin/amulecmd
3
share/locale/ca/LC_MESSAGES/amule.mo
4
bin/amulecmdDLG
4
share/locale/da/LC_MESSAGES/amule.mo
5
bin/amuleweb
6
bin/amulewebDLG
7
share/gnome/pixmaps/amule.xpm
8
share/gnome/applications/amule.desktop
9
share/gnome/doc/aMule-1.2.8/ABOUT-NLS
10
share/gnome/doc/aMule-1.2.8/AUTHORS
11
share/gnome/doc/aMule-1.2.8/Changelog
12
share/gnome/doc/aMule-1.2.8/ED2K-Links.HOWTO
13
share/gnome/doc/aMule-1.2.8/INSTALL
14
share/gnome/doc/aMule-1.2.8/README
15
share/gnome/doc/aMule-1.2.8/TODO
16
share/gnome/doc/aMule-1.2.8/amulesig.txt
17
share/gnome/doc/aMule-1.2.8/eMule-Imports-Status
18
share/gnome/doc/aMule-1.2.8/license.txt
19
@dirrm share/gnome/doc/aMule-1.2.8
20
share/locale/en/LC_MESSAGES/amule.mo
21
share/locale/es/LC_MESSAGES/amule.mo
22
share/locale/de/LC_MESSAGES/amule.mo
5
share/locale/de/LC_MESSAGES/amule.mo
6
share/locale/en_GB/LC_MESSAGES/amule.mo
7
share/locale/es/LC_MESSAGES/amule.mo
8
share/locale/es_MX/LC_MESSAGES/amule.mo
9
share/locale/et_EE/LC_MESSAGES/amule.mo
10
share/locale/eu/LC_MESSAGES/amule.mo
11
share/locale/fi/LC_MESSAGES/amule.mo
23
share/locale/fr/LC_MESSAGES/amule.mo
12
share/locale/fr/LC_MESSAGES/amule.mo
13
share/locale/gl/LC_MESSAGES/amule.mo
14
share/locale/hr/LC_MESSAGES/amule.mo
15
share/locale/hu/LC_MESSAGES/amule.mo
24
share/locale/it/LC_MESSAGES/amule.mo
16
share/locale/it/LC_MESSAGES/amule.mo
17
share/locale/it_CH/LC_MESSAGES/amule.mo
25
share/locale/ko/LC_MESSAGES/amule.mo
18
share/locale/ko/LC_MESSAGES/amule.mo
19
share/locale/nl/LC_MESSAGES/amule.mo
26
share/locale/pl/LC_MESSAGES/amule.mo
20
share/locale/pl/LC_MESSAGES/amule.mo
27
share/locale/ee/LC_MESSAGES/amule.mo
28
share/locale/ru/LC_MESSAGES/amule.mo
29
share/locale/bg/LC_MESSAGES/amule.mo
30
share/locale/es_MX/LC_MESSAGES/amule.mo
31
share/locale/pt_BR/LC_MESSAGES/amule.mo
21
share/locale/pt_BR/LC_MESSAGES/amule.mo
32
share/locale/gl/LC_MESSAGES/amule.mo
22
share/locale/pt_PT/LC_MESSAGES/amule.mo
33
share/locale/eu/LC_MESSAGES/amule.mo
23
share/locale/ru/LC_MESSAGES/amule.mo
34
share/locale/nl/LC_MESSAGES/amule.mo
24
share/locale/zh_CN/LC_MESSAGES/amule.mo
35
share/gnome/amuleweb/webserver/GraphCon.gif
25
share/locale/zh_TW/LC_MESSAGES/amule.mo
36
share/gnome/amuleweb/webserver/GraphDL.gif
26
share/gnome/doc/aMule-2.0.0rc7/ABOUT-NLS
37
share/gnome/amuleweb/webserver/GraphUL.gif
27
share/gnome/doc/aMule-2.0.0rc7/Changelog
38
share/gnome/amuleweb/webserver/add_server.gif
28
share/gnome/doc/aMule-2.0.0rc7/Doxyfile
39
share/gnome/amuleweb/webserver/arrow_down.gif
29
share/gnome/doc/aMule-2.0.0rc7/ED2K-Links.HOWTO
40
share/gnome/amuleweb/webserver/arrow_right.gif
30
share/gnome/doc/aMule-2.0.0rc7/INSTALL
41
share/gnome/amuleweb/webserver/arrow_up.gif
31
share/gnome/doc/aMule-2.0.0rc7/README
42
share/gnome/amuleweb/webserver/black.gif
32
share/gnome/doc/aMule-2.0.0rc7/TODO
43
share/gnome/amuleweb/webserver/blue.gif
33
share/gnome/doc/aMule-2.0.0rc7/amule-win32.HOWTO.txt
44
share/gnome/amuleweb/webserver/blue1.gif
34
share/gnome/doc/aMule-2.0.0rc7/amulesig.txt
45
share/gnome/amuleweb/webserver/blue2.gif
35
share/gnome/doc/aMule-2.0.0rc7/license.txt
46
share/gnome/amuleweb/webserver/blue3.gif
36
@dirrm share/gnome/doc/aMule-2.0.0rc7
47
share/gnome/amuleweb/webserver/blue4.gif
37
share/gnome/pixmaps/amule.xpm
48
share/gnome/amuleweb/webserver/blue5.gif
38
%%PL_ALC%%share/gnome/pixmaps/alc.xpm
49
share/gnome/amuleweb/webserver/blue6.gif
39
%%PL_CAS%%share/gnome/pixmaps/wxcas.xpm
50
share/gnome/amuleweb/webserver/cp_download.gif
40
share/gnome/applications/amule.desktop
51
share/gnome/amuleweb/webserver/cp_kad.gif
41
%%PL_ALC%%share/gnome/applications/alc.desktop
52
share/gnome/amuleweb/webserver/cp_search.gif
42
%%PL_CAS%%share/gnome/applications/wxcas.desktop
53
share/gnome/amuleweb/webserver/cp_servers.gif
43
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/GraphCon.gif
54
share/gnome/amuleweb/webserver/cp_settings.gif
44
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/GraphDL.gif
55
share/gnome/amuleweb/webserver/cp_shared.gif
45
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/GraphUL.gif
56
share/gnome/amuleweb/webserver/cp_stats.gif
46
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/add_server.gif
57
share/gnome/amuleweb/webserver/emule.gif
47
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/arrow_down.gif
58
share/gnome/amuleweb/webserver/green.gif
48
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/arrow_right.gif
59
share/gnome/amuleweb/webserver/greenpercent.gif
49
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/arrow_up.gif
60
share/gnome/amuleweb/webserver/l_cancel.gif
50
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/black.gif
61
share/gnome/amuleweb/webserver/l_connect.gif
51
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/blue.gif
62
share/gnome/amuleweb/webserver/l_down.gif
52
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/blue1.gif
63
share/gnome/amuleweb/webserver/l_ed2klink.gif
53
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/blue2.gif
64
share/gnome/amuleweb/webserver/l_info.gif
54
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/blue3.gif
65
share/gnome/amuleweb/webserver/l_pause.gif
55
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/blue4.gif
66
share/gnome/amuleweb/webserver/l_resume.gif
56
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/blue5.gif
67
share/gnome/amuleweb/webserver/l_up.gif
57
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/blue6.gif
68
share/gnome/amuleweb/webserver/log.gif
58
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/cp_download.gif
69
share/gnome/amuleweb/webserver/main_bg.gif
59
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/cp_kad.gif
70
share/gnome/amuleweb/webserver/main_top_bg.gif
60
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/cp_search.gif
71
share/gnome/amuleweb/webserver/red.gif
61
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/cp_servers.gif
72
share/gnome/amuleweb/webserver/top_bar_bg.gif
62
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/cp_settings.gif
73
share/gnome/amuleweb/webserver/top_bar_bg2.gif
63
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/cp_shared.gif
74
share/gnome/amuleweb/webserver/transparent.gif
64
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/cp_stats.gif
75
share/gnome/amuleweb/webserver/yellow.gif
65
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/emule.gif
76
share/gnome/amuleweb/aMule.tmpl
66
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/green.gif
77
@dirrm share/gnome/amuleweb/webserver
67
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/greenpercent.gif
78
@dirrm share/gnome/amuleweb
68
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/l_cancel.gif
69
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/l_connect.gif
70
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/l_down.gif
71
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/l_ed2klink.gif
72
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/l_info.gif
73
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/l_pause.gif
74
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/l_resume.gif
75
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/l_up.gif
76
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/log.gif
77
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/main_bg.gif
78
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/main_top_bg.gif
79
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/red.gif
80
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/top_bar_bg.gif
81
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/top_bar_bg2.gif
82
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/transparent.gif
83
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/webserver/yellow.gif
84
%%PL_AMULEWEBSRV%%share/gnome/amuleweb/aMule.tmpl
85
%%PL_AMULEWEBSRV%%@dirrm share/gnome/amuleweb/webserver
86
%%PL_AMULEWEBSRV%%@dirrm share/gnome/amuleweb
87
%%PL_CAS%%share/gnome/cas/stat.png
88
%%PL_CAS%%share/gnome/cas/tmp.html
89
%%PL_CAS%%@dirrm share/gnome/cas
90
lib/xchat/plugins/xas.pl
91
%%PL_CAS%%bin/cas
92
%%PL_CAS%%bin/wxcas
93
%%PL_ALC%%bin/alc
94
%%PL_ALC%%bin/alcc
95
%%PL_AMULEWEBSRV%%bin/amuleweb
96
%%PL_AMULEWEBSRV%%bin/amulewebDLG
97
%%PL_AMULECMD%%bin/amulecmd
98
%%PL_AMULECMD%%bin/amulecmdDLG
99
%%PL_ED2K%%bin/amule-ed2k
100
bin/amule
79
-------------- Patch ends here ---------------

Return to bug 73044