aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/linuxdcpp/Makefile
blob: 18b82cda6925dc8c794ba93c2d393ac0e4526e97 (plain) (blame)
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
# New ports collection makefile for:    linuxdcpp
# Date created:             19 June 2005
# Whom:                 Mezz <mezz@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   linuxdcpp
PORTVERSION=    0.0.1.20070204  #0.0.1.YYYYMMDD
CATEGORIES= net-p2p
MASTER_SITES=   ${MASTER_SITE_LOCAL} \
        http://people.freebsd.org/~mezz/distfiles/
MASTER_SITE_SUBDIR=mezz

MAINTAINER= mezz@FreeBSD.org
COMMENT=    A port of the win32 DC++ direct connect client to POSIX-like systems

USE_XLIB=   yes
USE_BZIP2=  yes
USE_GNOME=  libglade2
USE_ICONV=  yes
USE_SCONS=  yes
USE_OPENSSL=    yes

.if defined(WITH_DEBUG)
SCONS_ARGS= debug=1
.else
SCONS_ARGS= release=1
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g ; s|%%CXX%%|${CXX}|g ; \
        s|%%CXXFLAGS%%|${CXXFLAGS}|g ; s|%%LOCALBASE%%|${LOCALBASE}|g' \
            ${WRKSRC}/SConstruct

.include <bsd.port.mk>