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

PORTNAME=   tetzle
PORTVERSION=    1.2.1
CATEGORIES= games
MASTER_SITES=   http://gottcode.org/tetzle/ \
        http://mirror.amdmi3.ru/
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

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

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

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

.include <bsd.port.mk>