Lines 2-25
Link Here
|
2 |
# $FreeBSD: ports/games/spellathon/Makefile,v 1.15 2012/09/23 15:38:58 danfe Exp $ |
2 |
# $FreeBSD: ports/games/spellathon/Makefile,v 1.15 2012/09/23 15:38:58 danfe Exp $ |
3 |
|
3 |
|
4 |
PORTNAME= spellathon |
4 |
PORTNAME= spellathon |
5 |
PORTVERSION= 5.79 |
5 |
PORTVERSION= 6.0 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= games |
6 |
CATEGORIES= games |
8 |
MASTER_SITES= SF |
7 |
MASTER_SITES= SF/${PORTNAME}/Spellathon%20${PORTVERSION} |
9 |
|
8 |
|
10 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= ports@FreeBSD.org |
11 |
COMMENT= Word game to test your English vocabulary skills |
10 |
COMMENT= Word game to test your English vocabulary skills |
12 |
|
11 |
|
|
|
12 |
LICENSE= BSD |
13 |
|
13 |
USE_QT4= gui moc_build qmake_build rcc_build uic_build |
14 |
USE_QT4= gui moc_build qmake_build rcc_build uic_build |
|
|
15 |
USE_LDCONFIG= yes |
16 |
MAKE_JOBS_SAFE= yes |
14 |
|
17 |
|
15 |
post-patch: |
18 |
post-patch: |
16 |
@${REINPLACE_CMD} 's|qmake|qmake-qt4|' ${WRKSRC}/Makefile |
19 |
@${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \ |
17 |
@${REINPLACE_CMD} 's|dict/words.txt|${DATADIR}/words.txt|' \ |
20 |
's|$${CC}|$${CXX}|g ; \ |
18 |
${WRKSRC}/src/logic/defines.h |
21 |
s|$${CFLAGS}|$${CXXFLAGS}|g ; \ |
|
|
22 |
s|qmake-qt4|${TRUE}|' |
23 |
@${REINPLACE_CMD} \ |
24 |
's|dict/words.txt|${DATADIR}/words.txt|' ${WRKSRC}/src/logic/defines.h |
25 |
|
26 |
do-configure: |
27 |
@(cd ${WRKSRC}/src/gui && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS}) |
19 |
|
28 |
|
20 |
do-install: |
29 |
do-install: |
21 |
${INSTALL} ${WRKSRC}/spellathon ${PREFIX}/bin |
30 |
${INSTALL_PROGRAM} ${WRKSRC}/spellathon ${PREFIX}/bin |
22 |
${INSTALL} ${WRKSRC}/spellathon-cl ${PREFIX}/bin |
31 |
${INSTALL_PROGRAM} ${WRKSRC}/spellathon-cl ${PREFIX}/bin |
|
|
32 |
${INSTALL_DATA} ${WRKSRC}/libspellathon.so.0.0 ${PREFIX}/lib |
33 |
${LN} -sf libspellathon.so.0.0 ${PREFIX}/lib/libspellathon.so |
34 |
${LN} -sf libspellathon.so.0.0 ${PREFIX}/lib/libspellathon.so.0 |
23 |
@${MKDIR} ${DATADIR} |
35 |
@${MKDIR} ${DATADIR} |
24 |
${INSTALL_DATA} ${WRKSRC}/dict/words.txt ${DATADIR} |
36 |
${INSTALL_DATA} ${WRKSRC}/dict/words.txt ${DATADIR} |
25 |
|
37 |
|