aboutsummaryrefslogtreecommitdiff
path: root/games/connect4/Makefile
blob: fe05f5b6f8056e3aa235cdcd36420b31fc15e65d (plain) (blame)
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
32
33
34
35
36
# New ports collection makefile for:  connect4
# Date created:		Thu May  8 16:41:01 EST 1997
# Whom:			Joel Sutton <jsutton@bbcon.com.au>
#
# $FreeBSD$
#

PORTNAME=	connect4
PORTVERSION=	3.2
PORTREVISION=	1
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_COMP_SOURCES}
MASTER_SITE_SUBDIR=	games/volume6
DISTNAME=	${PORTNAME}
EXTRACT_SUFX=	.Z

MAINTAINER=	ports@FreeBSD.org

PORTCOMMENT=	A curses version of the classic game

BUILD_DEPENDS=	gunshar:${PORTSDIR}/archivers/gshar+gunshar

EXTRACT_CMD=		${GZCAT}
EXTRACT_BEFORE_ARGS=	# empty
EXTRACT_AFTER_ARGS=	| gunshar

NO_WRKSUBDIR=	yes
MAN6=		connect4.6

do-install:
	${INSTALL_PROGRAM} -m 2755 -o root -g games ${WRKSRC}/c4 ${PREFIX}/bin/connect4
	@${MKDIR} ${PREFIX}/share/connect4
	${INSTALL_DATA} -m 664 -o root -g games /dev/null ${PREFIX}/share/connect4/scores
	${INSTALL_MAN} ${FILESDIR}/connect4.6 ${MANPREFIX}/man/man6

.include <bsd.port.mk>