aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-11-01 09:48:47 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-11-01 09:48:47 +0000
commit36a068a9b7e16a76dc2166a9407ae72f0dfcd931 (patch)
tree891ad4ce26dcde34a952d1334e1dd4a1f7b7338f /games
parent268e053c8d386a15d8da870383876fd585c2f38b (diff)
downloadports-36a068a9b7e16a76dc2166a9407ae72f0dfcd931.tar.gz
ports-36a068a9b7e16a76dc2166a9407ae72f0dfcd931.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/nsnake/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/games/nsnake/Makefile b/games/nsnake/Makefile
index 2482f01c03c4..c5e167f05c31 100644
--- a/games/nsnake/Makefile
+++ b/games/nsnake/Makefile
@@ -6,18 +6,17 @@ PORTVERSION= 1.4
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://releases.malikania.fr/nsnake/
-EXTRACT_SUFX= .tgz
MAINTAINER= demelier.david@gmail.com
COMMENT= Snake game written in C and ncurses
LICENSE= MIT
+USES= tar:tgz
+
OPTIONS_DEFINE= DOCS
OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
-
do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c -lcurses)
@@ -25,9 +24,8 @@ do-install:
(cd ${WRKSRC} \
&& ${INSTALL_PROGRAM} ${PORTNAME} ${STAGEDIR}${PREFIX}/bin \
&& ${INSTALL_MAN} ${PORTNAME}.6 ${STAGEDIR}${MANPREFIX}/man/man6)
-.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} CHANGELOG ${STAGEDIR}${DOCSDIR})
-.endif
+ @${MKDIR} ${STAGEDIR}/var/db/nsnake
.include <bsd.port.mk>