summaryrefslogtreecommitdiff
path: root/games/tscp/Makefile
blob: f3f054769739be1aea6de02dfc923ec2d9f927e9 (plain)
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
# $NetBSD: Makefile,v 1.20 2015/03/14 17:53:55 tnn Exp $
#

DISTNAME=	tscp181
PKGNAME=	tscp-1.81
PKGREVISION=	3
CATEGORIES=	games benchmarks
MASTER_SITES=	http://www.tckerrigan.com/Chess/TSCP/
EXTRACT_SUFX=	.zip

MAINTAINER=	abs@NetBSD.org
HOMEPAGE=	http://www.tckerrigan.com/
COMMENT=	Tom Kerrigan's Simple Chess Program
LICENSE=	generic-nonlicense

RESTRICTED=	No distribution without authorisation from Tom Kerrigan
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_SRC_ON_FTP= ${RESTRICTED}

INSTALLATION_DIRS=	bin share/doc

do-build:
	cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} -o tscp *.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/tscp ${DESTDIR}${PREFIX}/bin/tscp
	${INSTALL_DATA} ${WRKSRC}/readme.txt ${DESTDIR}${PREFIX}/share/doc/tscp.txt

.include "../../mk/bsd.pkg.mk"