aboutsummaryrefslogtreecommitdiff
path: root/games/amy/Makefile
blob: c858c3c6647716af59c3c8598204fa165495bc73 (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
47
# 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
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

.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>