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

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

MAINTAINER= amdmi3@amdmi3.ru
COMMENT=    Jigsaw puzzle with tetrominoes

USE_BZIP2=  yes
USE_QT_VER= 4
QT_COMPONENTS=  corelib gui moc opengl qmake rcc xml
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>