mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
2e34993547
- add a knob to compile with kde2 - fix pkg-plist (move @dirrm's to the bottom) PR: 40519 Submitted by: Brad Laue <brad@brad-x.com> Approved by: maintainer
33 lines
743 B
Makefile
33 lines
743 B
Makefile
# 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>
|