summaryrefslogtreecommitdiffstats
path: root/games/corewars/Makefile
blob: cdc3ed4f191a3b6468f5be8cae875ba5691eab75 (plain)
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
# New ports collection makefile for:	corewars
# Date created:			29 February 2000
# Whom:				Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	corewars
PORTVERSION=	0.9.12
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	jim@FreeBSD.org
COMMENT=	A simulation came where the goal is to crash each other's programs

USE_X_PREFIX=	yes
USE_GNOME=	gtk12
GNU_CONFIGURE=	yes
MAKE_ENV=	FREEBSD_CFLAGS="${CFLAGS}"

MAN6=		corewars.6

post-install:
.if !defined(NOPORTDOCS)
	@${ECHO_MSG} "===>   Installing README in ${PREFIX}/share/doc/corewars."
	@${ECHO_MSG} "===>   Please read it before playing."
	@${MKDIR} ${PREFIX}/share/doc/corewars && ${CHMOD} a+rx ${PREFIX}/share/doc/corewars
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/corewars
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud