aboutsummaryrefslogtreecommitdiffstats
path: root/games/kdegames11/Makefile
blob: d80c24ee57cf5988089b2710260cf7e7c491a4cf (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
33
34
35
36
37
38
# New ports collection makefile for:   kdegames
# Date created:        28 October 1997
# Whom:                Stefan Eßer <se@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=   kdegames
PORTVERSION=    1.1.2
CATEGORIES= games kde
MASTER_SITES=   $(MASTER_SITE_KDE)
MASTER_SITE_SUBDIR= stable/1.1.2/distribution/tar/generic/source/bz2

MAINTAINER= will@FreeBSD.org

BUILD_DEPENDS=  convert:${PORTSDIR}/graphics/ImageMagick
LIB_DEPENDS=    jpeg.9:${PORTSDIR}/graphics/jpeg \
        kdecore.3:${PORTSDIR}/x11/kdelibs11 \
        QwSpriteField.7:${PORTSDIR}/converters/kdesupport11

NO_LATEST_LINK= yes
USE_BZIP2=  yes
USE_QT=     yes
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
CONFIGURE_ARGS= "--with-qt-includes=${QTDIR}/include/X11/qt" \
        "--with-extra-includes=${LOCALBASE}/include" \
        "--with-extra-libs=${LOCALBASE}/lib"
CONFIGURE_ENV=  CXXFLAGS="$(CFLAGS)" INSTALL_SCRIPT="install -c -m 555" \
        QTDIR=${QTDIR}

.if defined(PREFIX)
QTDIR?=     ${PREFIX}
.else
QTDIR?=     ${X11BASE}
.endif

.include <bsd.port.mk>