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

PORTNAME=   corewars
PORTVERSION=    0.9.13
PORTREVISION=   4
CATEGORIES= games
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= alepulver@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=  gnometarget gtk12

GNU_CONFIGURE=  yes
CONFIGURE_ENV=  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>