summaryrefslogtreecommitdiff
path: root/net-p2p/linuxdcpp/Makefile
blob: 0d67d64c9bf83f459b567cf2378fc1a4486d8ace (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

PORTNAME=	linuxdcpp
PORTVERSION=	1.1.0
PORTREVISION=	17
CATEGORIES=	net-p2p
MASTER_SITES=	http://launchpadlibrarian.net/69733951/

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	Port of the DC++ Direct Connect client to Unix-like systems

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/License.txt

BUILD_DEPENDS=	${LOCALBASE}/include/boost/version.hpp:devel/boost-libs

USES=		compiler:c++11-lang gettext gnome iconv localbase:ldflags \
		pkgconfig scons ssl tar:bzip2
USE_GNOME=	cairo libglade2
INSTALLS_ICONS=	yes
PORTDOCS=	*
DESTDIRNAME=	FAKE_ROOT

OPTIONS_DEFINE=	NOTIFY DOCS
OPTIONS_DEFAULT=NOTIFY

NOTIFY_LIB_DEPENDS=	libnotify.so:devel/libnotify
NOTIFY_MAKE_ARGS_OFF=	libnotify=0

.if defined(WITH_DEBUG)
MAKE_ARGS+=	debug=1
.endif

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>