aboutsummaryrefslogtreecommitdiff
path: root/games/ztrack/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/ztrack/Makefile')
-rw-r--r--games/ztrack/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/games/ztrack/Makefile b/games/ztrack/Makefile
index 3ee13e5f0444..d7976fbff717 100644
--- a/games/ztrack/Makefile
+++ b/games/ztrack/Makefile
@@ -13,10 +13,11 @@ EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple ncurses based pseudo-3D driving game
-WRKSRC= ${WRKDIR}/${PORTNAME}
-
-MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DHAVE_RANDOM"
+USES= ncurses
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DHAVE_RANDOM" \
+ LIBS="${LDFLAGS} -lncurses"
ALL_TARGET= ztrack
+WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/${PORTNAME} man/man6/${PORTNAME}.6.gz \
${DESKTOPDIR}/${PORTNAME}.desktop \
share/pixmaps/${PORTNAME}.png