View | Details | Raw Unified | Return to bug 207657 | Differences between
and this patch

Collapse All | Expand All

(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (fairymax-12bd72f.tar.gz) = d83444d67a9303bd1a7c7af8d5285a95e02cc9a3efd3dee6c63ec9f54a2a5768
1
SHA256 (fairymax-f7a7847.tar.gz) = 1afedf536bdf29ae249e34222f47c703b1700031c603a238be6ca5ef0ab46696
2
SIZE (fairymax-12bd72f.tar.gz) = 60492
2
SIZE (fairymax-f7a7847.tar.gz) = 67418
(-)Makefile (-5 / +9 lines)
Lines 2-8 Link Here
2
# $FreeBSD: head/games/fairymax/Makefile 399915 2015-10-21 14:16:55Z mat $
2
# $FreeBSD: head/games/fairymax/Makefile 399915 2015-10-21 14:16:55Z mat $
3
3
4
PORTNAME=	fairymax
4
PORTNAME=	fairymax
5
PORTVERSION=	4.8V.9
5
PORTVERSION=	5.0b
6
CATEGORIES=	games
6
CATEGORIES=	games
7
MASTER_SITES=	http://freeheimdall.spdns.org/files/
7
MASTER_SITES=	http://freeheimdall.spdns.org/files/
8
# http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=fairymax.git;a=snapshot;h=${COMMIT_HASH};sf=tgz
8
# http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=fairymax.git;a=snapshot;h=${COMMIT_HASH};sf=tgz
Lines 13-21 Link Here
13
MAINTAINER=	kalten@gmx.at
13
MAINTAINER=	kalten@gmx.at
14
COMMENT=	Chess engine for shatranj, courier chess, and others
14
COMMENT=	Chess engine for shatranj, courier chess, and others
15
15
16
CONFLICTS=	fairymax-4.8[QST].*
16
CONFLICTS=	fairymax-4.*
17
17
18
COMMIT_HASH=	12bd72f
18
COMMIT_HASH=	f7a7847
19
19
20
OPTIONS_DEFINE=	OPTIMIZED_CFLAGS DOCS
20
OPTIONS_DEFINE=	OPTIMIZED_CFLAGS DOCS
21
OPTIONS_DEFAULT=	OPTIMIZED_CFLAGS
21
OPTIONS_DEFAULT=	OPTIMIZED_CFLAGS
Lines 26-33 Link Here
26
26
27
USES=		gmake perl5
27
USES=		gmake perl5
28
USE_PERL5=	build
28
USE_PERL5=	build
29
MAKE_ARGS+=	INI_F=${DATADIR}/fmax.ini \
29
MAKE_ARGS+=	fairydir=${DATADIR}/fmax.ini \
30
		INI_Q=${DATADIR}/qmax.ini
30
		INI_Q=${DATADIR}/qmax.ini \
31
		VERSION=${PORTVERSION}
31
32
32
OPTIMIZED_CFLAGS_CFLAGS=	-O2
33
OPTIMIZED_CFLAGS_CFLAGS=	-O2
33
34
Lines 35-40 Link Here
35
	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g'	\
36
	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g'	\
36
			-e 's|%%DATADIR%%|${DATADIR}|g'	\
37
			-e 's|%%DATADIR%%|${DATADIR}|g'	\
37
		${WRKSRC}/fairymax.pod
38
		${WRKSRC}/fairymax.pod
39
	@${REINPLACE_CMD} -E 's|(#define VERSION ")[^"]+(".*)|\1${PORTVERSION}\2|' \
40
		${WRKSRC}/fairymax.c
38
41
39
do-install:
42
do-install:
40
	${INSTALL_PROGRAM} ${WRKSRC}/fairymax ${STAGEDIR}${PREFIX}/bin
43
	${INSTALL_PROGRAM} ${WRKSRC}/fairymax ${STAGEDIR}${PREFIX}/bin
Lines 43-48 Link Here
43
	@${MKDIR} ${STAGEDIR}${DATADIR}
46
	@${MKDIR} ${STAGEDIR}${DATADIR}
44
	${INSTALL_DATA} ${WRKSRC}/data/fmax.ini ${STAGEDIR}${DATADIR}/fmax.ini
47
	${INSTALL_DATA} ${WRKSRC}/data/fmax.ini ${STAGEDIR}${DATADIR}/fmax.ini
45
	${INSTALL_DATA} ${WRKSRC}/data/qmax.ini ${STAGEDIR}${DATADIR}/qmax.ini
48
	${INSTALL_DATA} ${WRKSRC}/data/qmax.ini ${STAGEDIR}${DATADIR}/qmax.ini
49
	${INSTALL_DATA} ${WRKSRC}/data/makruk.hash ${STAGEDIR}${DATADIR}/makruk.hash
46
	${INSTALL_MAN} ${WRKSRC}/fairymax.6.gz ${STAGEDIR}${MAN6PREFIX}/man/man6/
50
	${INSTALL_MAN} ${WRKSRC}/fairymax.6.gz ${STAGEDIR}${MAN6PREFIX}/man/man6/
47
	${LN} -s ${MAN6PREFIX}/man/man6/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/shamax.6
51
	${LN} -s ${MAN6PREFIX}/man/man6/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/shamax.6
48
	${LN} -s ${MAN6PREFIX}/man/man6/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/maxqi.6
52
	${LN} -s ${MAN6PREFIX}/man/man6/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/maxqi.6
(-)pkg-plist (+1 lines)
Lines 6-11 Link Here
6
man/man6/shamax.6.gz
6
man/man6/shamax.6.gz
7
%%DATADIR%%/fmax.ini
7
%%DATADIR%%/fmax.ini
8
%%DATADIR%%/qmax.ini
8
%%DATADIR%%/qmax.ini
9
%%DATADIR%%/makruk.hash
9
share/games/plugins/logos/fairymax.png
10
share/games/plugins/logos/fairymax.png
10
share/games/plugins/logos/maxqi.png
11
share/games/plugins/logos/maxqi.png
11
share/games/plugins/logos/shamax.png
12
share/games/plugins/logos/shamax.png

Return to bug 207657