aboutsummaryrefslogtreecommitdiffstats
path: root/games/tetzle/Makefile
blob: 7a4e24497b94c016fd8b3340167a936402e3d7be (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
# New ports collection makefile for:    tetzle
# Date created:     12 Jun 2008
# Whom:         Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#

PORTNAME=   tetzle
PORTVERSION=    2.0.0
CATEGORIES= games
MASTER_SITES=   http://gottcode.org/tetzle/ \
        http://mirror.amdmi3.ru/distfiles/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    Jigsaw puzzle with tetrominoes

USE_BZIP2=  yes
USE_QT_VER= 4
QT_COMPONENTS=  corelib gui moc_build opengl qmake_build rcc_build xml
WANT_GNOME= yes
INSTALLS_ICONS= yes
MAKE_JOBS_SAFE= yes

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

do-configure:
    @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS} \
        PREFIX=${PREFIX} tetzle.pro

post-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/tetzle ${PREFIX}/bin

.include <bsd.port.mk>