aboutsummaryrefslogtreecommitdiffstats
path: root/games/spellathon/Makefile
blob: b4bd987077254fed18cff55599f6d5a2f3391e06 (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
# New ports collection makefile for: spellathon
# Date created:                7 May 2009
# Whom:                        girish
#
# $FreeBSD$
#

PORTNAME=   spellathon
PORTVERSION=    5.74
PORTREVISION=   1
CATEGORIES= games
MASTER_SITES=   SF

MAINTAINER= girish.rao.dev@gmail.com
COMMENT=    Word game to test your English vocabulary skills

USE_QT_VER= 4
QT_COMPONENTS=  gui moc_build qmake_build rcc_build uic_build

post-patch:
    @${REINPLACE_CMD} 's|qmake|qmake-qt4|' ${WRKSRC}/Makefile
    @${REINPLACE_CMD} 's|dict/words.txt|${DATADIR}/words.txt|' \
        ${WRKSRC}/src/logic/defines.h

do-install:
    ${INSTALL} ${WRKSRC}/spellathon ${PREFIX}/bin
    ${INSTALL} ${WRKSRC}/spellathon-cl ${PREFIX}/bin
    ${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/dict/words.txt ${DATADIR}

.include <bsd.port.mk>