summaryrefslogtreecommitdiff
path: root/net/amule/Makefile
blob: d41e20d20175fb1ef87293124cd7d96a6041046f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# $NetBSD: Makefile,v 1.79 2017/02/28 15:20:08 ryoon Exp $

DISTNAME=	aMule-2.3.1
PKGNAME=	${DISTNAME:tl}
PKGREVISION=	14
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=amule/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	tripledes@eslack.org
HOMEPAGE=	http://www.amule.org/
COMMENT=	Another Emule P2P client
LICENSE=	gnu-gpl-v2

CONFLICTS=		xmule-[0-9]*

USE_LANGUAGES=		c c++
USE_PKGLOCALEDIR=	yes
USE_TOOLS+=		gmake intltool msgfmt pkg-config perl:run
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-wx-config=${BUILDLINK_PREFIX.wxGTK28}/bin/wx-config
CONFIGURE_ARGS+=	--with-crypto-prefix=${BUILDLINK_PREFIX.cryptopp}
CONFIGURE_ARGS+=	--with-language=all
CONFIGURE_ARGS+=	--enable-xas

.include "options.mk"

REPLACE_PERL=		src/libs/ec/file_generator.pl		\
			src/utils/scripts/kadnodescreate.pl	\
			src/utils/scripts/stats.pl		\
			src/utils/scripts/mldonkey_importer.pl	\
			src/utils/xas/xas.pl

LIBS+=			-lm	# for pow(3)

UNLIMIT_RESOURCES+=	datasize

TEST_TARGET=		check

.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/crypto++/buildlink3.mk"
.include "../../x11/wxGTK28/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"