aboutsummaryrefslogtreecommitdiffstats
path: root/games/spellathon/Makefile
blob: 463ccf6de154574ae6993d96fc5da07d410170d1 (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
# Created by: Girish <girish.rao.dev@gmail.com>
# $FreeBSD$

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

MAINTAINER= ports@FreeBSD.org
COMMENT=    Word game to test your English vocabulary skills

USE_QT4=    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>