blob: 4f3ab26de0c927014557ae8ae39f8f637e9fee1c (
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.common,v 1.5 2014/07/11 10:10:10 wiz Exp $
#
# used by net/transmission/Makefile
# used by net/transmission-gtk/Makefile
# used by net/transmission-qt/Makefile
DISTNAME= transmission-2.84
CATEGORIES= net
MASTER_SITES= http://download.m0k.org/transmission/files/
EXTRACT_SUFX= .tar.xz
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://www.transmissionbt.com/
COMMENT= Free, lightweight BitTorrent client
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config intltool msgfmt
EXTRACT_USING= bsdtar
# optionally, gnu-gpl-v3 instead of gnu-gpl-v2
LICENSE= gnu-gpl-v2 AND mit
PATCHDIR= ${.CURDIR}/../../net/transmission/patches
DISTINFO_FILE= ${.CURDIR}/../../net/transmission/distinfo
GNU_CONFIGURE= yes
LDFLAGS+= ${BUILDLINK_LDADD.getopt} ${BUILDLINK_LDADD.gettext}
.include "../../mk/bsd.prefs.mk"
.if !empty(OPSYS:M*BSD) || !empty(OPSYS:MDragonFly)
CPPFLAGS+= -DBSD
.endif
.if !empty(OPSYS:MDarwin)
LDFLAGS+= -framework CoreFoundation
.endif
BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0.10
.include "../../devel/libevent/buildlink3.mk"
ALL_ENV+= "OPENSSL_CFLAGS=-I${SSLBASE}/include"
ALL_ENV+= "OPENSSL_LIBS=-L${SSLBASE}/lib -lcrypto -lssl"
.include "../../devel/libgetopt/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
|