# New ports collection makefile for:	corewars
# Date created:			29 February 2000
# Whom:				Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD: branches/RELEASE_8_4_0/games/corewars/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	corewars
PORTVERSION=	0.9.13
PORTREVISION=	4
CATEGORIES=	games
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20%28stable%2C%20tar.gz%29/${PORTVERSION}

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

BUILD_DEPENDS=	${LOCALBASE}/lib/libargp.a:${PORTSDIR}/devel/argp-standalone

USE_GNOME=	gtk12

GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

MAN6=		corewars.6
MLINKS=		corewars.6 corewars-cmd.6

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>
