aboutsummaryrefslogtreecommitdiff
path: root/games/amy/Makefile
blob: 4c0a1aea400a247f86381594a1d59ab064df85fd (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# New ports collection makefile for:	amy
# Date created:				30 Jan 2003
# Whom:					Thorsten Greiner <thorsten.greiner@web.de>
#
# $FreeBSD$
#

PORTNAME=	amy
PORTVERSION=	0.8.7
CATEGORIES=	games
MASTER_SITES=	http://tgreiner.net/
DISTFILES=	amy-${PORTVERSION}.tar.gz ClassicGames.pgn.bz2
EXTRACT_ONLY=	amy-${PORTVERSION}.tar.gz

MAINTAINER=	thorsten@tgreiner.net
COMMENT=	A chess program for playing and analyzing games

LIB_DEPENDS=	db2.0:${PORTSDIR}/databases/db2:install

NOT_FOR_ARCHS=	sparc64 alpha

MAN6=		Amy.6

GNU_CONFIGURE=	yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700042
BROKEN=		Does not compile with GCC 4.2
.endif

.if ${ARCH} == "amd64"
BROKEN=		Segfault during build on amd64
.endif

post-extract:
	${BZCAT} ${DISTDIR}/ClassicGames.pgn.bz2 > \
		${WRKSRC}/PGN/ClassicGames.pgn

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.post.mk>