summaryrefslogtreecommitdiffstats
path: root/net-p2p/qtella/Makefile
blob: 9c748919beea7488b1439d07c41045d721c6e778 (plain)
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
# New ports collection makefile for:	qtella
# Date created:				Sunday September 2nd, 2001
# Whom:					Jonathan Belson (jon@witchspace.com)
#
# $FreeBSD$
#

PORTNAME=		qtella
PORTVERSION=		0.5.1
CATEGORIES=		net
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	qtella

MAINTAINER=		jon@witchspace.com

USE_KDELIBS_VER=	2
HAS_CONFIGURE=		yes
USE_GMAKE=		yes
CONFIGURE_ARGS+=	--with-qt-dir=${X11BASE} --with-qt-moc=${X11BASE}/bin
CONFIGURE_ENV+=		LDFLAGS=-pthread CXXFLAGS="${CXXFLAGS} -pthread"
MAKE_ENV+=		MOC=${X11BASE}/bin/moc2
MAKE_ARGS+=		-j2

pre-patch:
	@${PERL} -pi.orig -e 's|/moc(\W)|/moc2\1|g' \
		${WRKSRC}/configure ${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>
OpenPOWER on IntegriCloud