summaryrefslogtreecommitdiff
path: root/games/amy/Makefile
blob: b71ac3d03fa732121b157bba6dcb76151b0f4211 (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
# 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=${ARCH}-portbld-freebsd${OSREL}

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