From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 27 04:10:22 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80B6B16A4CE for ; Thu, 27 Nov 2003 04:10:22 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AD2943FBD for ; Thu, 27 Nov 2003 04:10:20 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hARCAJFY002865 for ; Thu, 27 Nov 2003 04:10:19 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hARCAJKJ002864; Thu, 27 Nov 2003 04:10:19 -0800 (PST) (envelope-from gnats) Resent-Date: Thu, 27 Nov 2003 04:10:19 -0800 (PST) Resent-Message-Id: <200311271210.hARCAJKJ002864@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ganael LAPLANCHE Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B822216A4CE for ; Thu, 27 Nov 2003 04:07:42 -0800 (PST) Received: from martymac.com (mot-gw-02-213245075224.chello.fr [213.245.75.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7487D43FBF for ; Thu, 27 Nov 2003 04:07:40 -0800 (PST) (envelope-from root@martymac.com) Received: from martymac.com (localhost [127.0.0.1]) by test.bsd.dom (8.12.9/8.12.9) with ESMTP id hAQGhkjY079041 for ; Wed, 26 Nov 2003 16:43:47 GMT (envelope-from root@martymac.com) Received: (from root@localhost) by martymac.com (8.12.9/8.12.9/Submit) id hAQGhjsF079040; Wed, 26 Nov 2003 16:43:45 GMT Message-Id: <200311261643.hAQGhjsF079040@martymac.com> Date: Wed, 26 Nov 2003 16:43:45 GMT From: Ganael LAPLANCHE To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/59724: [NEW PORT] net/aMule (supersedes ports/59252) --Fixed deps/bugs-- X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ganael LAPLANCHE List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Nov 2003 12:10:22 -0000 >Number: 59724 >Category: ports >Synopsis: [NEW PORT] net/aMule (supersedes ports/59252) --Fixed deps/bugs-- >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Nov 27 04:10:19 PST 2003 >Closed-Date: >Last-Modified: >Originator: Ganael LAPLANCHE >Release: FreeBSD 5.1-RELEASE i386 >Organization: http://www.martymac.com >Environment: System: FreeBSD 5.1-RELEASE #0: Wed Nov 26 09:30:00 GMT 2003 >Description: aMule is a multiplatform fork of xMule client using wxWindows class library. >How-To-Repeat: >Fix: --------------- aMule-1.1.2.shar begins here --------------- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # amule # amule/README.html # amule/pkg-descr # amule/pkg-plist # amule/distinfo # amule/Makefile # amule/pkg-message # echo c - amule mkdir -p amule > /dev/null 2>&1 echo x - amule/README.html sed 's/^X//' >amule/README.html << 'END-of-amule/README.html' X X X X X The FreeBSD Ports Collection (net/amule) X X X X

The FreeBSD Ports Collection (net/amule)

X
X X

You are now in the directory for the port "net/amule".

X X

The package name of this port is "aMule-1.1.2".

X X

This is the one-line description for this port:

X
X X

XaNOTHER eMule P2P Client X

X
X X

Please read the "description file" for a X longer description and/or visit the web site for futher informations.

X X

If needed, you may contact the maintainer of this port or the port mailing-list.

X X

This port requires package(s) "" to build.

X X

This port requires package(s) "" to run.

X X

Go to the top of the ports tree for X a summary on how to use the ports collection.

X
X X

Go up one level | Go to top of ports tree

X X X END-of-amule/README.html echo x - amule/pkg-descr sed 's/^X//' >amule/pkg-descr << 'END-of-amule/pkg-descr' X[ from README ] X XThis program is a multiplatform fork of X xMule client using wxWindows class library. X XWWW: http://sourceforge.net/projects/amule/ END-of-amule/pkg-descr echo x - amule/pkg-plist sed 's/^X//' >amule/pkg-plist << 'END-of-amule/pkg-plist' Xbin/amule Xbin/amule-ed2k-handler Xshare/gnome/applications/amule.desktop Xshare/gnome/pixmaps/amule.xpm Xshare/gnome/locale/de/LC_MESSAGES/amule.mo Xshare/gnome/locale/ee/LC_MESSAGES/amule.mo Xshare/gnome/locale/es/LC_MESSAGES/amule.mo Xshare/gnome/locale/es_MX/LC_MESSAGES/amule.mo Xshare/gnome/locale/fr/LC_MESSAGES/amule.mo Xshare/gnome/locale/it/LC_MESSAGES/amule.mo Xshare/gnome/locale/ko/LC_MESSAGES/amule.mo Xshare/gnome/locale/pl/LC_MESSAGES/amule.mo Xshare/gnome/locale/tr/LC_MESSAGES/amule.mo X@unexec rmdir %D/share/gnome/locale/de/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/gnome/locale/de 2>/dev/null || true X@unexec rmdir %D/share/gnome/locale/ee/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/gnome/locale/ee 2>/dev/null || true X@unexec rmdir %D/share/gnome/locale/es/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/gnome/locale/es 2>/dev/null || true X@unexec rmdir %D/share/gnome/locale/es_MX/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/gnome/locale/es_MX 2>/dev/null || true X@unexec rmdir %D/share/gnome/locale/fr/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/gnome/locale/fr 2>/dev/null || true X@unexec rmdir %D/share/gnome/locale/it/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/gnome/locale/it 2>/dev/null || true X@unexec rmdir %D/share/gnome/locale/ko/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/gnome/locale/ko 2>/dev/null || true X@unexec rmdir %D/share/gnome/locale/pl/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/gnome/locale/pl 2>/dev/null || true X@unexec rmdir %D/share/gnome/locale/tr/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/gnome/locale/tr 2>/dev/null || true END-of-amule/pkg-plist echo x - amule/distinfo sed 's/^X//' >amule/distinfo << 'END-of-amule/distinfo' XMD5 (aMule-1.1.2.tar.gz) = caf7805d1000360ca84db9d05ec587d0 END-of-amule/distinfo echo x - amule/Makefile sed 's/^X//' >amule/Makefile << 'END-of-amule/Makefile' X# New ports collection makefile for: amule X# Date created: Wed Nov 05 09:30:00 UTC 2003 X# Whom: Ganael LAPLANCHE X# X# $FreeBSD$ X# X X# Based on xmule's port X XPORTNAME= aMule XPORTVERSION= 1.1.2 XCATEGORIES= net XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= amule X XMAINTAINER= ganael.laplanche@martymac.com XCOMMENT= aNOTHER eMule P2P Client X XFETCH_DEPENDS= wget:${PORTSDIR}/ftp/wget:install XEXTRACT_DEPENDS= automake:${PORTSDIR}/devel/automake:install \ X autoconf:${PORTSDIR}/devel/autoconf:install XLIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext:install \ X wx_gtk-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk:install X XUSE_X_PREFIX= yes XUSE_GNOME= gnomehier \ X gnomehack \ X gnomeprefix X# Gtk12 or gtk2 will be added here depending on X# what is detected at the end of this script X XUSE_REINPLACE= yes X XUSE_GMAKE= yes XGNU_CONFIGURE= yes XCONFIGURE_ARGS= --without-included-gettext \ X --with-libintl-prefix=${LOCALBASE} \ X --with-libiconv-prefix=${LOCALBASE} \ X --with-wx-config=${WX_CONFIG} X X.if defined(WITH_OPTIMIZE) XCONFIGURE_ARGS+= --enable-optimize X.endif X XCONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ X LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" X XWX_CONFIG?= ${X11BASE}/bin/wx-config X Xpre-everything:: X.if !defined(WITH_OPTIMIZE) X @${ECHO} "*********************************************************" X @${ECHO} "You can enable code optimizing by defining WITH_OPTIMIZE." X @${ECHO} "*********************************************************" X.endif X Xpost-extract: X# Create Makefile.in's X @${ECHO} "******************" X @${ECHO} "Running autogen.sh" X @cd ${WRKSRC} && ${SH} autogen.sh X @${ECHO} "autogen.sh : done." X @${ECHO} "******************" X Xpre-patch: X# Patches X @${ECHO} "******************************************" X @${ECHO} "Applying SysTray.cpp and gsocket.c patches" X @${REINPLACE_CMD} -E \ X -e '/^\#include\ \/{x;s/^/\#include\ \/;x;G;}' \ X ${WRKSRC}/src/SysTray.cpp X @${REINPLACE_CMD} -E \ X -e '/^\#include\ /{x;s/^/\#define\ MSG_NOSIGNAL\ 0x4000/;x;G;}' \ X ${WRKSRC}/src/gsocket.c X @${ECHO} "patches : done." X @${ECHO} "******************************************" X X# Do not install a generic named ed2k binary X @${ECHO} "******************************" X @${ECHO} "Applying Makefile.in's patches" X @${REINPLACE_CMD} -E \ X -e 's/^(bin_PROGRAMS.+)amule ed2k/bin_PROGRAMS\ \=\ amule/' \ X ${WRKSRC}/src/Makefile.in X @${REINPLACE_CMD} -E \ X -e 's/^(bin_PROGRAMS.+)ed2k.+\([A-Z]+\)/\1/' \ X ${WRKSRC}/src/Makefile.in X @${ECHO} "patches : done." X @${ECHO} "******************************" X Xpost-configure: X# Patch for po's Makefile X @${ECHO} "****************************" X @${ECHO} "Applying po's Makefile patch" X @${REINPLACE_CMD} -E \ X -e 's/^(PACKAGE\ +\=\ +)/PACKAGE\ \=\ amule/' \ X ${WRKSRC}/po/Makefile X @${ECHO} "patch : done." X @${ECHO} "****************************" X Xpost-build: X# Build the generic named ed2k binary X# It will installed in an adhoc fashion X @cd ${BUILD_WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ed2k X Xpost-install: X# Do not install a generic named ed2k binary X# Install it under a more specific name X @${INSTALL_PROGRAM} ${WRKSRC}/src/ed2k \ X ${PREFIX}/bin/amule-ed2k-handler X X# Displays the pkg-message file X @${CAT} pkg-message X X.include X X.if exists(${WX_CONFIG}) X# detect if wxgtk was linked against gtk1 or gtk2 XDECISION_GTK_1_OR_2!= ${WX_CONFIG} --static --libs X.else XDECISION_GTK_1_OR_2= "" X.endif X X.if ${DECISION_GTK_1_OR_2:M*glib-2.0} != "" XUSE_GNOME+= gtk20 X.else XUSE_GNOME+= gtk12 X.endif X X.include END-of-amule/Makefile echo x - amule/pkg-message sed 's/^X//' >amule/pkg-message << 'END-of-amule/pkg-message' X############################################# X aMule is now ready ! X X http://www.sourceforge.net/projects/amule X http://amule.sourceforge.net X############################################# END-of-amule/pkg-message exit --------------- aMule-1.1.2.shar ends here --------------- >Release-Note: >Audit-Trail: >Unformatted: