summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjoerg <joerg>2007-12-22 01:48:55 +0000
committerjoerg <joerg>2007-12-22 01:48:55 +0000
commitcd97f72058e55fea0161c2a43b2f2145337f5ede (patch)
tree52680a6852bf1decaa177b303067ca3f1abeb746 /games
parent3c9718b5b910f564b4bb453b00ee957e92059498 (diff)
downloadpkgsrc-cd97f72058e55fea0161c2a43b2f2145337f5ede.tar.gz
Depend on argp and build corewars-cmd. -largp is a hack for now,
upstream should fix the configure script and learn how to build a convient library as well. Raised as part of PR 37581.
Diffstat (limited to 'games')
-rw-r--r--games/corewars/Makefile11
-rw-r--r--games/corewars/PLIST3
2 files changed, 12 insertions, 2 deletions
diff --git a/games/corewars/Makefile b/games/corewars/Makefile
index 5f318ad3b93..7010a28ca3a 100644
--- a/games/corewars/Makefile
+++ b/games/corewars/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2006/10/04 21:43:00 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2007/12/22 01:48:55 joerg Exp $
DISTNAME= corewars-0.9.13
PKGREVISION= 1
@@ -9,8 +9,17 @@ MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://sal.math.ualberta.ca/
COMMENT= Programs on a virtual machine, fighting each other
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Linux"
+MAKE_FLAGS+= corewars_cmd_LDFLAGS=-largp
+.endif
+
+.include "../../devel/argp/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/corewars/PLIST b/games/corewars/PLIST
index bb1f5616fd9..07df75c7d4c 100644
--- a/games/corewars/PLIST
+++ b/games/corewars/PLIST
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.2 2005/01/14 09:16:04 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2007/12/22 01:48:56 joerg Exp $
bin/corewars
+bin/corewars-cmd
man/man6/corewars.6
man/man6/corewars-cmd.6
share/corewars/abez.cw