openbsd-ports/games/connect4/Makefile

35 lines
869 B
Makefile
Raw Normal View History

2003-04-14 11:02:08 -04:00
# $OpenBSD: Makefile,v 1.23 2003/04/14 15:02:09 wilfried Exp $
COMMENT= "curses version of the classic game"
1998-05-19 23:04:07 -04:00
DISTNAME= connect4
PKGNAME= connect4-3.2
CATEGORIES= games
# License: NONE
PERMIT_PACKAGE_CDROM= "no license"
PERMIT_PACKAGE_FTP= "no license"
PERMIT_DISTFILES_CDROM= "no license"
PERMIT_DISTFILES_FTP= "no license"
2000-02-12 03:41:07 -05:00
MASTER_SITES= ftp://ftp.uu.net/usenet/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\"'
1998-05-19 23:04:07 -04:00
ALL_TARGET= c4
1998-05-19 23:04:07 -04:00
WRKDIST= ${WRKDIR}
1998-05-19 23:04:07 -04:00
2002-10-26 16:44:38 -04:00
NO_REGRESS= Yes
1998-05-19 23:04:07 -04:00
do-install:
2000-03-26 11:50:38 -05:00
${INSTALL_PROGRAM} ${WRKBUILD}/c4 ${PREFIX}/bin/connect4
2003-04-14 11:02:08 -04:00
@chown root:games ${PREFIX}/bin/connect4
@chmod 2755 ${PREFIX}/bin/connect4
${INSTALL_MAN} ${FILESDIR}/connect4.6 ${PREFIX}/man/man6
1998-05-19 23:04:07 -04:00
.include <bsd.port.mk>