31 lines
826 B
Makefile
31 lines
826 B
Makefile
# $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"
|