aboutsummaryrefslogtreecommitdiff
path: root/games/nsnake/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/nsnake/Makefile')
-rw-r--r--games/nsnake/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/games/nsnake/Makefile b/games/nsnake/Makefile
index 483a14cae671..a53792247b90 100644
--- a/games/nsnake/Makefile
+++ b/games/nsnake/Makefile
@@ -1,6 +1,5 @@
PORTNAME= nsnake
-DISTVERSION= 2.2.0
-PORTREVISION= 1
+PORTVERSION= 3.0.0
CATEGORIES= games
MASTER_SITES= http://releases.malikania.fr/nsnake/${PORTVERSION}/
@@ -15,13 +14,8 @@ USES= ncurses tar:xz
OPTIONS_DEFINE= DOCS
OPTIONS_SUB= yes
-MAKE_ENV= CC="$CC" \
- CFLAGS+="$CFLAGS" \
- LDFLAGS+="$LDFLAGS"
+MAKE_ARGS= VARDIR="/var"
-post-patch:
- @${REINPLACE_CMD} -e 's|VARDIR=.*|VARDIR=/var|' \
- ${WRKSRC}/config.mk
do-install:
(cd ${WRKSRC} \
&& ${INSTALL_PROGRAM} ${PORTNAME} ${STAGEDIR}${PREFIX}/bin \