aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/valknut/Makefile
blob: b31afdd0d122b4c9bf2b69360b41d3cc68725903 (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:    dcgui
# Date created:                         Wed 10 Jul 2002
# Whom: Sverrir Valgeirsson <e96sv@yahoo.se> and
#   Amar Takhar <verm@drunkmonk.net> et al
#
# $FreeBSD$
#

PORTNAME=   valknut
PORTVERSION=    0.3.13
PORTREVISION=   1
CATEGORIES= net-p2p
MASTER_SITES=   SF
MASTER_SITE_SUBDIR= wxdcgui

MAINTAINER= ports@FreeBSD.org
COMMENT=    A Direct Connect client QT GUI

LIB_DEPENDS=    dc.0:${PORTSDIR}/net-p2p/dclib \
        xml2.5:${PORTSDIR}/textproc/libxml2

USE_QT_VER= 3
USE_XORG=   x11 ice xext
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_PERL5_BUILD=yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-libdc=${LOCALBASE}

CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

post-patch:
    @${REINPLACE_CMD} -e 's/-O2//g; s/-lpthread/${PTHREAD_LIBS}/g' \
        ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}

.include <bsd.port.mk>