2007-09-15 14:01:00 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.26 2007/09/15 18:01:01 simon Exp $
|
2001-05-05 21:06:09 -04:00
|
|
|
|
2007-09-15 14:01:00 -04:00
|
|
|
COMMENT= curses version of the classic game
|
1998-11-08 20:49:54 -05:00
|
|
|
|
1998-05-19 23:04:07 -04:00
|
|
|
DISTNAME= connect4
|
|
|
|
PKGNAME= connect4-3.2
|
|
|
|
CATEGORIES= games
|
1999-09-23 17:35:02 -04:00
|
|
|
|
2001-06-19 21:43:11 -04:00
|
|
|
# License: NONE
|
2007-09-15 14:01:00 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= no license
|
|
|
|
PERMIT_PACKAGE_FTP= no license
|
|
|
|
PERMIT_DISTFILES_CDROM= no license
|
|
|
|
PERMIT_DISTFILES_FTP= no license
|
2004-11-28 17:41:14 -05:00
|
|
|
WANTLIB= c curses termcap
|
2000-02-12 03:41:07 -05:00
|
|
|
|
2003-03-31 13:00:40 -05:00
|
|
|
MASTER_SITES= ftp://ftp.uu.net/usenet/comp.sources.games/volume6/
|
2002-04-24 21:26:49 -04:00
|
|
|
EXTRACT_SUFX= .Z
|
|
|
|
EXTRACT_CASES= *.Z) ${GZIP_CMD} -dc ${FULLDISTDIR}/$$archive | \
|
2002-05-08 14:32:02 -04:00
|
|
|
${_PERL_FIX_SHAR} | /bin/sh ;;
|
2002-04-24 21:26:49 -04:00
|
|
|
|
2001-08-10 23:17:12 -04:00
|
|
|
MAKE_FLAGS= CFLAGS='${CFLAGS} -DSCOREFILE=\"/var/games/connect4.scores\"'
|
1998-05-19 23:04:07 -04:00
|
|
|
|
2001-08-10 23:17:12 -04:00
|
|
|
ALL_TARGET= c4
|
1998-05-19 23:04:07 -04:00
|
|
|
|
2001-08-10 23:17:12 -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
|
2001-08-10 23:17:12 -04:00
|
|
|
@chmod 2755 ${PREFIX}/bin/connect4
|
|
|
|
${INSTALL_MAN} ${FILESDIR}/connect4.6 ${PREFIX}/man/man6
|
2004-09-24 05:08:22 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/connect4
|
|
|
|
${INSTALL_DATA} /dev/null ${PREFIX}/share/examples/connect4/connect4.scores
|
1998-05-19 23:04:07 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|