diff options
author | joerg <joerg> | 2007-12-22 01:48:55 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-12-22 01:48:55 +0000 |
commit | 71403ddc74cae5d998cfb6d36d195113a2b8537e (patch) | |
tree | 52680a6852bf1decaa177b303067ca3f1abeb746 /games/corewars | |
parent | babea205e668c6b3b6a6548ab26106494cab13fd (diff) | |
download | pkgsrc-71403ddc74cae5d998cfb6d36d195113a2b8537e.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/corewars')
-rw-r--r-- | games/corewars/Makefile | 11 | ||||
-rw-r--r-- | games/corewars/PLIST | 3 |
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 |