aboutsummaryrefslogtreecommitdiff
path: root/games/corewars
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-04 14:03:36 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-04 14:03:36 +0000
commitae8b8c7fc37e4f0b0e27c3b6be77a440be3e8c7d (patch)
tree2ab5eac80923d36f2fc30682cd68aabd09f3f25c /games/corewars
parent406f5fbe6ad073b438dcd9eb2b5356e0bd72b559 (diff)
downloadports-ae8b8c7fc37e4f0b0e27c3b6be77a440be3e8c7d.tar.gz
ports-ae8b8c7fc37e4f0b0e27c3b6be77a440be3e8c7d.zip
Notes
Diffstat (limited to 'games/corewars')
-rw-r--r--games/corewars/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/games/corewars/Makefile b/games/corewars/Makefile
index f7a78b8cf78e..0779225341b4 100644
--- a/games/corewars/Makefile
+++ b/games/corewars/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: corewars
-# Date created: 29 February 2000
-# Whom: Jim Mock <jim@FreeBSD.org>
-#
+# Ceeated by: Jim Mock <jim@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= corewars
PORTVERSION= 0.9.13
@@ -12,7 +8,7 @@ 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
+COMMENT= Simulation game where the goal is to crash each other's programs
BUILD_DEPENDS= ${LOCALBASE}/lib/libargp.a:${PORTSDIR}/devel/argp-standalone
@@ -22,11 +18,17 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+.if defined(.PARSEDIR)
+USE_GMAKE= yes
+.endif
+
MAN6= corewars.6
MLINKS= corewars.6 corewars-cmd.6
+.include <bsd.port.options.mk>
+
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif