summaryrefslogtreecommitdiff
path: root/games/ztrack/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/ztrack/Makefile')
-rw-r--r--games/ztrack/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/games/ztrack/Makefile b/games/ztrack/Makefile
new file mode 100644
index 00000000000..80c5049af67
--- /dev/null
+++ b/games/ztrack/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2016/07/28 17:51:20 kamil Exp $
+
+DISTNAME= ztrack-1.0
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SUNSITE:=games/arcade/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+# Nothing better available
+HOMEPAGE= ${MASTER_SITE_SUNSITE:=games/arcade/}
+COMMENT= Simple curses-based pseudo-3D driving game
+LICENSE= public-domain
+
+WRKSRC= ${WRKDIR}/${PKGBASE}
+
+MAKE_FLAGS+= BINDIR=${PREFIX}/bin
+MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}/man6
+
+SUBST_CLASSES+= makefile
+SUBST_STAGE.makefile= pre-configure
+SUBST_MESSAGE.makefile= Link with the proper curses type
+SUBST_FILES.makefile= Makefile
+SUBST_SED.makefile= -e '/LIBS/ s,-lncurses,-l${BUILDLINK_LIBNAME.curses},'
+
+.include "../../mk/curses.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"