aboutsummaryrefslogtreecommitdiffstats
path: root/games/spellathon/Makefile
blob: 9725eeeccb8a6e416ab8f2445eb7f890fd86fd27 (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
# $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>