1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/net-p2p/valknut/Makefile
Martin Wilke 9c2f65e395 - Convert USE_QT_VER=4 and QT_COMPONETS to USE_QT4
Review by:	bapt, David Naylor (kde team)
2012-06-06 06:44:37 +00:00

44 lines
1.0 KiB
Makefile

# ex: ts=8
# 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.4.9
PORTREVISION= 5
CATEGORIES= net-p2p
MASTER_SITES= SF/wxdcgui/${PORTNAME}-qt4/${PORTVERSION}
MAINTAINER= gahr@FreeBSD.org
COMMENT= A Direct Connect client QT GUI
LIB_DEPENDS= dc.5:${PORTSDIR}/net-p2p/dclib \
xml2.5:${PORTSDIR}/textproc/libxml2
WRKSRC= ${WRKDIR}/${DISTNAME}
MAN1= valknut.1
USE_QT4= corelib gui network qt3support \
moc_build uic_build rcc_build linguist_build
USE_BZIP2= yes
USE_GMAKE= yes
USE_PERL5_BUILD=yes
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>