summaryrefslogtreecommitdiff
path: root/net/mldonkey/Makefile.common
blob: d2b587c2be9bd5c1f3993711019f569c82658073 (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
# $NetBSD: Makefile.common,v 1.45 2012/09/14 19:23:30 jaapb Exp $
#
# used by net/mldonkey/Makefile
# used by net/mldonkey-gui/Makefile

DISTNAME=	mldonkey-3.1.3
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=mldonkey/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	wiz@NetBSD.org
HOMEPAGE=	http://mldonkey.sourceforge.net/Main_Page
COMMENT=	Free peer-to-peer client with eDonkey support and more
LICENSE=	gnu-gpl-v2

DISTINFO_FILE=	${.CURDIR}/../../net/mldonkey/distinfo
PATCHDIR=	${.CURDIR}/../../net/mldonkey/patches

GNU_CONFIGURE=		yes
USE_LANGUAGES=		c c++
USE_TOOLS+=		gmake perl
MAKE_JOBS_SAFE=		no

PKG_DESTDIR_SUPPORT=	user-destdir

CONFIGURE_ENV+=		WGET=""
CONFIGURE_ENV+=		ac_cv_prog_WGET="no"
CONFIGURE_ARGS+=	--enable-directconnect
LDFLAGS+=		${PTHREAD_LDFLAGS}
MAKE_ENV+=		BUILDLINK_PREFIX.pthread=${BUILDLINK_PREFIX.pthread}
CONFIGURE_ARGS+=	--enable-pthread-lib

UNLIMIT_RESOURCES=	stacksize

# needs 3.10.1 or newer to work correctly on NetBSD/amd64
BUILDLINK_API_DEPENDS.ocaml+=	ocaml>=3.10.1

.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/gd/buildlink3.mk"
.include "../../lang/ocaml/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"