diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-02-25 20:31:18 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-02-25 20:31:18 +0000 |
commit | 35d437f6fc17bd1a1109b6cb356d3e759d67c277 (patch) | |
tree | 37b6577f5100f11e6a8e49775db71188e926b9da /net-p2p | |
parent | Update to 4328 (diff) |
Add aMule, yet another eDonkey peer2peer network client.
WWW: http://sourceforge.net/projects/amule/
PR: ports/62969
Submitted by: Ganael LAPLANCHE <ganael.laplanche@martymac.com>
Notes
Notes:
svn path=/head/; revision=102127
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/amule1/Makefile | 64 | ||||
-rw-r--r-- | net-p2p/amule1/distinfo | 2 | ||||
-rw-r--r-- | net-p2p/amule1/files/patch-Makefile.in | 22 | ||||
-rw-r--r-- | net-p2p/amule1/files/patch-SysTray.cpp | 12 | ||||
-rw-r--r-- | net-p2p/amule1/pkg-descr | 6 | ||||
-rw-r--r-- | net-p2p/amule1/pkg-plist | 23 |
6 files changed, 129 insertions, 0 deletions
diff --git a/net-p2p/amule1/Makefile b/net-p2p/amule1/Makefile new file mode 100644 index 000000000000..0f2af98f39e7 --- /dev/null +++ b/net-p2p/amule1/Makefile @@ -0,0 +1,64 @@ +# New ports collection makefile for: amule +# Date created: Wed Nov 05 09:30:00 UTC 2003 +# Whom: Ganael LAPLANCHE <ganael.laplanche@martymac.com> +# +# $FreeBSD$ +# + +PORTNAME= aMule +PORTVERSION= 1.2.6 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= amule + +MAINTAINER= ganael.laplanche@martymac.com +COMMENT= Just another eMule P2P Client + +LIB_DEPENDS= wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk \ + curl.2:${PORTSDIR}/ftp/curl + +USE_X_PREFIX= yes +USE_GNOME= gnomehier gnomehack gnomeprefix +USE_REINPLACE= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --without-included-gettext \ + --with-libintl-prefix=${LOCALBASE} \ + --with-libiconv-prefix=${LOCALBASE} \ + --with-wx-config=${WX_CONFIG} \ + --with-wxbase-config=${WX_CONFIG} + +OPTIONS= OPTIMIZE "Build with optimization" off \ + STATIC "Enable static linking" off \ + RELGRP "Use release group code" off + +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ + LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" + +WX_CONFIG?= ${X11BASE}/bin/wxgtk2-2.4-config + +# Configure options +.if defined(WITH_OPTIMIZE) +CONFIGURE_ARGS+= --enable-optimise +.endif + +.if defined(WITH_STATIC) +CONFIGURE_ARGS+= --enable-static +.endif + +.if defined(WITH_RELGRP) +CONFIGURE_ARGS+= --enable-releasegrp +.endif + +post-build: +# Build the generic named ed2k binary +# It will be installed in an adhoc fashion + @cd ${BUILD_WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ed2k + +post-install: +# Do not install a generic named ed2k binary +# Install it under a more specific name + @${INSTALL_PROGRAM} ${WRKSRC}/src/ed2k \ + ${PREFIX}/bin/amule-ed2k-handler + +.include <bsd.port.mk> diff --git a/net-p2p/amule1/distinfo b/net-p2p/amule1/distinfo new file mode 100644 index 000000000000..f722492ba5cb --- /dev/null +++ b/net-p2p/amule1/distinfo @@ -0,0 +1,2 @@ +MD5 (aMule-1.2.6.tar.gz) = 38491409e45be9ff5e56b2066f9748de +SIZE (aMule-1.2.6.tar.gz) = 1810042 diff --git a/net-p2p/amule1/files/patch-Makefile.in b/net-p2p/amule1/files/patch-Makefile.in new file mode 100644 index 000000000000..98d1cecafe4f --- /dev/null +++ b/net-p2p/amule1/files/patch-Makefile.in @@ -0,0 +1,22 @@ +--- src/Makefile.in.orig Tue Feb 17 16:43:20 2004 ++++ src/Makefile.in Tue Feb 17 16:43:42 2004 +@@ -197,7 +197,7 @@ + sysconfdir = @sysconfdir@ + systray = @systray@ + target_alias = @target_alias@ +-bin_PROGRAMS = $(am__append_1) ed2k amule ++bin_PROGRAMS = $(am__append_1) amule + + BUILT_SOURCES = sys.h + EXTRA_DIST = sys.h.in strings.en *.h pixmaps bitmaps Makengfile +@@ -357,8 +357,8 @@ + CONFIG_CLEAN_FILES = timestamp-sys.h + @COMPILE_CMD_TRUE@bin_PROGRAMS = amulecmd$(EXEEXT) amulecmdDLG$(EXEEXT) \ + @COMPILE_CMD_TRUE@ amuleweb$(EXEEXT) amulewebDLG$(EXEEXT) \ +-@COMPILE_CMD_TRUE@ ed2k$(EXEEXT) amule$(EXEEXT) +-@COMPILE_CMD_FALSE@bin_PROGRAMS = ed2k$(EXEEXT) amule$(EXEEXT) ++@COMPILE_CMD_TRUE@ amule$(EXEEXT) ++@COMPILE_CMD_FALSE@bin_PROGRAMS = amule$(EXEEXT) + PROGRAMS = $(bin_PROGRAMS) + + am__amule_SOURCES_DIST = ListenSocket.cpp EMSocket.cpp AddFriend.cpp \ diff --git a/net-p2p/amule1/files/patch-SysTray.cpp b/net-p2p/amule1/files/patch-SysTray.cpp new file mode 100644 index 000000000000..baa445536165 --- /dev/null +++ b/net-p2p/amule1/files/patch-SysTray.cpp @@ -0,0 +1,12 @@ +--- src/SysTray.cpp.orig Tue Feb 17 16:43:12 2004 ++++ src/SysTray.cpp Tue Feb 17 16:43:53 2004 +@@ -22,8 +22,8 @@ + #include "sys.h" + #include <libintl.h> + #include <clocale> // Needed for setlocale(3) +-#include <net/if.h> // Needed for struct ifreq + #include <sys/socket.h> // ++#include <net/if.h> // Needed for struct ifreq + #include <netinet/in.h> // Needed for inet_ntoa + #include <arpa/inet.h> // + #include <sys/ioctl.h> // Needed for SIOCGIFADDR diff --git a/net-p2p/amule1/pkg-descr b/net-p2p/amule1/pkg-descr new file mode 100644 index 000000000000..17be72793bc7 --- /dev/null +++ b/net-p2p/amule1/pkg-descr @@ -0,0 +1,6 @@ +[ from README ] + +This program is a multiplatform fork of + xMule client using wxWindows class library. + +WWW: http://sourceforge.net/projects/amule/ diff --git a/net-p2p/amule1/pkg-plist b/net-p2p/amule1/pkg-plist new file mode 100644 index 000000000000..2bd659a7abb5 --- /dev/null +++ b/net-p2p/amule1/pkg-plist @@ -0,0 +1,23 @@ +bin/amule +bin/amule-ed2k-handler +bin/amulecmd +bin/amulecmdDLG +bin/amuleweb +bin/amulewebDLG +share/gnome/applications/amule.desktop +share/gnome/pixmaps/amule.xpm +share/locale/bg/LC_MESSAGES/amule.mo +share/locale/de/LC_MESSAGES/amule.mo +share/locale/ee/LC_MESSAGES/amule.mo +share/locale/en/LC_MESSAGES/amule.mo +share/locale/es/LC_MESSAGES/amule.mo +share/locale/es_MX/LC_MESSAGES/amule.mo +share/locale/eu/LC_MESSAGES/amule.mo +share/locale/fr/LC_MESSAGES/amule.mo +share/locale/gl/LC_MESSAGES/amule.mo +share/locale/it/LC_MESSAGES/amule.mo +share/locale/ko/LC_MESSAGES/amule.mo +share/locale/nl/LC_MESSAGES/amule.mo +share/locale/pl/LC_MESSAGES/amule.mo +share/locale/pt_BR/LC_MESSAGES/amule.mo +share/locale/ru/LC_MESSAGES/amule.mo |