openbsd-ports/games/connect4/Makefile

38 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.19 2002/05/08 18:32:02 millert Exp $
COMMENT= "curses version of the classic game"
DISTNAME= connect4
PKGNAME= connect4-3.2
CATEGORIES= games
NEED_VERSION= 1.413
MAINTAINER= Angelos D. Keromytis <angelos@openbsd.org>
# License: NONE
PERMIT_PACKAGE_CDROM= "no license"
PERMIT_PACKAGE_FTP= "no license"
PERMIT_DISTFILES_CDROM= "no license"
PERMIT_DISTFILES_FTP= "no license"
MASTER_SITES= ftp://gatekeeper.dec.com/pub/usenet/comp.sources.games/volume6/ \
ftp://ftp.uu.net/usenet/comp.sources.games/volume6/ \
ftp://ftp.funet.fi/pub/archive/comp.sources.games/volume6/
EXTRACT_SUFX= .Z
EXTRACT_CASES= *.Z) ${GZIP_CMD} -dc ${FULLDISTDIR}/$$archive | \
${_PERL_FIX_SHAR} | /bin/sh ;;
MAKE_FLAGS= CFLAGS='${CFLAGS} -DSCOREFILE=\"/var/games/connect4.scores\"'
ALL_TARGET= c4
WRKDIST= ${WRKDIR}
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/c4 ${PREFIX}/bin/connect4
@chown root.games ${PREFIX}/bin/connect4
@chmod 2755 ${PREFIX}/bin/connect4
${INSTALL_MAN} ${FILESDIR}/connect4.6 ${PREFIX}/man/man6
.include <bsd.port.mk>