2004-02-25 21:31:18 +01:00
|
|
|
# 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
|
2004-07-17 17:34:53 +02:00
|
|
|
PORTVERSION= 1.2.8
|
2005-11-05 06:22:06 +01:00
|
|
|
PORTREVISION= 3
|
2004-02-25 21:31:18 +01:00
|
|
|
CATEGORIES= net
|
2004-04-08 10:07:54 +02:00
|
|
|
MASTER_SITES= http://download.berlios.de/amule/
|
2004-02-25 21:31:18 +01:00
|
|
|
|
|
|
|
MAINTAINER= ganael.laplanche@martymac.com
|
2004-12-15 05:09:13 +01:00
|
|
|
COMMENT= The all-platform eMule p2p client
|
2004-02-25 21:31:18 +01:00
|
|
|
|
2005-05-14 14:23:14 +02:00
|
|
|
LIB_DEPENDS= wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk24 \
|
2004-06-04 00:41:40 +02:00
|
|
|
curl.3:${PORTSDIR}/ftp/curl
|
2004-02-25 21:31:18 +01:00
|
|
|
|
2005-05-16 18:35:40 +02:00
|
|
|
LATEST_LINK= aMule1
|
|
|
|
CONFLICTS= aMule-2.* aMule-devel-[0-9]*
|
2004-12-15 05:09:13 +01:00
|
|
|
|
2004-02-25 21:31:18 +01:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GNOME= gnomehier gnomehack gnomeprefix
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --without-included-gettext \
|
|
|
|
--with-libintl-prefix=${LOCALBASE} \
|
|
|
|
--with-libiconv-prefix=${LOCALBASE} \
|
|
|
|
--with-wx-config=${WX_CONFIG} \
|
2004-05-22 16:03:42 +02:00
|
|
|
--with-wxbase-config=${WX_CONFIG} \
|
|
|
|
--with-curl-config=${CURL_CONFIG} \
|
|
|
|
--program-transform-name="s/ed2k/amule-ed2k-handler/"
|
2004-02-25 21:31:18 +01:00
|
|
|
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
|
|
|
|
2004-05-22 16:03:42 +02:00
|
|
|
OPTIONS= OPTIMIZE "Build with optimization" on \
|
|
|
|
STATIC "Enable static linking" off
|
|
|
|
|
2004-02-25 21:31:18 +01:00
|
|
|
WX_CONFIG?= ${X11BASE}/bin/wxgtk2-2.4-config
|
2004-05-22 16:03:42 +02:00
|
|
|
CURL_CONFIG?= ${LOCALBASE}/bin/curl-config
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2004-02-25 21:31:18 +01:00
|
|
|
|
|
|
|
# Configure options
|
2004-05-22 16:03:42 +02:00
|
|
|
.if !defined(WITHOUT_OPTIMIZE)
|
2004-02-25 21:31:18 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-optimise
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_STATIC)
|
|
|
|
CONFIGURE_ARGS+= --enable-static
|
|
|
|
.endif
|
|
|
|
|
2004-05-22 16:03:42 +02:00
|
|
|
.include <bsd.port.post.mk>
|