View | Details | Raw Unified | Return to bug 172005
Collapse All | Expand All

(-)games/spellathon/Makefile (-8 / +20 lines)
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
(-)games/spellathon/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (spellathon-5.79.tar.gz) = 4abf0c03fb003b40c505ebddbc94bf0869b99458ac1fe6266963c241d2800554
1
SHA256 (spellathon-6.0.tar.gz) = 49653195aca3dcad26d2ef87addb5a0ac1b0775f1d3ac6e139e413fce3d9c6de
2
SIZE (spellathon-5.79.tar.gz) = 206249
2
SIZE (spellathon-6.0.tar.gz) = 212056
(-)games/spellathon/pkg-plist (+3 lines)
Lines 1-4 Link Here
1
bin/spellathon
1
bin/spellathon
2
bin/spellathon-cl
2
bin/spellathon-cl
3
lib/libspellathon.so
4
lib/libspellathon.so.0
5
lib/libspellathon.so.0.0
3
%%DATADIR%%/words.txt
6
%%DATADIR%%/words.txt
4
@dirrmtry %%DATADIR%%
7
@dirrmtry %%DATADIR%%

Return to bug 172005