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

(-)Makefile (-3 / +16 lines)
Lines 1-4 Link Here
1
# New ports collection makefile for:	fairy-max
1
# New ports collection makefile for:	fairymax
2
# Date created:				22 April 2011
2
# Date created:				22 April 2011
3
# Whom:					Kalten <kalten@gmx.at>
3
# Whom:					Kalten <kalten@gmx.at>
4
#
4
#
Lines 6-20 Link Here
6
#
6
#
7
7
8
PORTNAME=	fairymax
8
PORTNAME=	fairymax
9
PORTVERSION=	4.8Q
9
PORTVERSION?=	4.8Q
10
PORTREVISION?=	1
10
CATEGORIES=	games
11
CATEGORIES=	games
11
MASTER_SITES=	http://freeheimdall.homeunix.org/files/
12
MASTER_SITES=	http://freeheimdall.homeunix.org/files/
12
DISTNAME=	${PORTNAME}-c7a129e
13
DISTNAME?=	${PORTNAME}-c7a129e
13
# http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=fairymax.git;a=snapshot;h=c7a129ead81286990efb8409f238c48c7109c83b;sf=tgz
14
# http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=fairymax.git;a=snapshot;h=c7a129ead81286990efb8409f238c48c7109c83b;sf=tgz
14
15
15
MAINTAINER=	kalten@gmx.at
16
MAINTAINER=	kalten@gmx.at
16
COMMENT=	Chess engine (e.g. xboard) for shatranj, courier chess, ...
17
COMMENT=	Chess engine (e.g. xboard) for shatranj, courier chess, ...
17
18
19
CONFLICTS?=	fairymax-4.8Q.[0-9]* fairymax-4.8Q.[0-9]*_[0-9]*
20
21
OPTIONS+=	OCFLAGS "Use optimized compiler flags" on
22
18
DIST_SUBDIR=	${PORTNAME}
23
DIST_SUBDIR=	${PORTNAME}
19
24
20
PLIST_FILES=	bin/fairymax \
25
PLIST_FILES=	bin/fairymax \
Lines 33-38 Link Here
33
MAKE_ARGS+=	INI_FILE_fmax=${DATADIR}/fmax.ini \
38
MAKE_ARGS+=	INI_FILE_fmax=${DATADIR}/fmax.ini \
34
		INI_FILE_qmax=${DATADIR}/qmax.ini
39
		INI_FILE_qmax=${DATADIR}/qmax.ini
35
40
41
.include <bsd.port.options.mk>
42
43
.if defined(WITHOUT_OCFLAGS)
44
CFLAGS=
45
.else
46
CFLAGS=		-O2
47
.endif
48
36
post-patch:
49
post-patch:
37
	@${CP} ${WRKSRC}/fairymax.pod ${WRKSRC}/fairymax.pod.ori
50
	@${CP} ${WRKSRC}/fairymax.pod ${WRKSRC}/fairymax.pod.ori
38
	@${SED} -e 's|%%PREFIX%%|${PREFIX}|g;s|%%DATADIR%%|${DATADIR}|g' \
51
	@${SED} -e 's|%%PREFIX%%|${PREFIX}|g;s|%%DATADIR%%|${DATADIR}|g' \
(-)distinfo (+2 lines)
Lines 1-2 Link Here
1
SHA256 (fairymax/fairymax-c7a129e.tar.gz) = ec8e75c92e345e0f0db56095ac576156f54fb9320af05e86f8e589a8300c5a9a
1
SHA256 (fairymax/fairymax-c7a129e.tar.gz) = ec8e75c92e345e0f0db56095ac576156f54fb9320af05e86f8e589a8300c5a9a
2
SIZE (fairymax/fairymax-c7a129e.tar.gz) = 34229
2
SIZE (fairymax/fairymax-c7a129e.tar.gz) = 34229
3
SHA256 (fairymax/fairymax-507c6ba.tar.gz) = 18727b04bf4a3a9d1e3bac55a2729727735a9103f3beb03afb8bbbfd21a6112a
4
SIZE (fairymax/fairymax-507c6ba.tar.gz) = 34289

Return to bug 156833