blob: 41590a4b331e6f25ff9c5d1f6549e0ec9294862e (
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
|
# Created by: Sverrir Valgeirsson <e96sv@yahoo.se>
# $FreeBSD$
PORTNAME= valknut
PORTVERSION= 0.4.9
PORTREVISION= 6
CATEGORIES= net-p2p
MASTER_SITES= SF/wxdcgui/${PORTNAME}-qt4/${PORTVERSION}
MAINTAINER= gahr@FreeBSD.org
COMMENT= Qt-based Direct Connect client
LICENSE= GPLv2
LIB_DEPENDS= libdc.so:${PORTSDIR}/net-p2p/dclib \
libxml2.so:${PORTSDIR}/textproc/libxml2
WRKSRC= ${WRKDIR}/${DISTNAME}
USE_QT4= corelib gui network qt3support \
moc_build uic_build rcc_build linguist_build
USES= gmake perl5 pkgconfig tar:bzip2
USE_PERL5= build
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
CFLAGS+= -I${QT_INCDIR}
LDFLAGS+= -L${QT_LIBDIR}
QTCFGLIBS+= ${PTHREAD_LIBS}
CONFIGURE_ENV+= DCLIB_CFLAGS=-I${LOCALBASE}/include
post-patch:
${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g;\
s|-D_XOPEN_SOURCE=500||g' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.mk>
|