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

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

MAINTAINER=     jon@witchspace.com

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_ARGS+=     -j2

.if defined(USE_KDE2)
USE_KDELIBS_VER=    2
MAKE_ENV+=      MOC=${X11BASE}/bin/moc2
pre-patch:
    @${PERL} -pi.orig -e 's|/moc(\W)|/moc2\1|g' \
        ${WRKSRC}/configure ${WRKSRC}/src/Makefile.in
.else
USE_KDELIBS_VER=3
.endif

.include <bsd.port.mk>