svn commit: r317317 - head/games/corewars
Baptiste Daroussin
bapt at FreeBSD.org
Sat May 4 14:03:37 UTC 2013
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 at FreeBSD.org>
-#
+# Ceeated by: Jim Mock <jim at 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 at 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
More information about the svn-ports-head
mailing list