# Created by: Sverrir Valgeirsson # $FreeBSD: head/net-p2p/valknut/Makefile 412348 2016-04-01 14:17:44Z mat $ PORTNAME= valknut PORTVERSION= 0.4.9 PORTREVISION= 6 CATEGORIES= net-p2p MASTER_SITES= SF/wxdcgui/${PORTNAME}-qt4/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Qt-based Direct Connect client LICENSE= GPLv2 LIB_DEPENDS= libdc.so:net-p2p/dclib \ libxml2.so:textproc/libxml2 WRKSRC= ${WRKDIR}/${DISTNAME} USE_QT4= corelib gui network qt3support \ moc_build uic_build rcc_build linguisttools_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+= -lpthread CONFIGURE_ENV+= DCLIB_CFLAGS=-I${LOCALBASE}/include post-patch: ${REINPLACE_CMD} -e 's|-D_XOPEN_SOURCE=500||g' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} .include