Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 May 2013 14:03:37 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r317317 - head/games/corewars
Message-ID:  <201305041403.r44E3b7x095954@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sat May  4 14:03:36 2013
New Revision: 317317
URL: http://svnweb.freebsd.org/changeset/ports/317317

Log:
  Fix build with bmake

Modified:
  head/games/corewars/Makefile

Modified: head/games/corewars/Makefile
==============================================================================
--- head/games/corewars/Makefile	Sat May  4 13:56:07 2013	(r317316)
+++ head/games/corewars/Makefile	Sat May  4 14:03:36 2013	(r317317)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305041403.r44E3b7x095954>