aboutsummaryrefslogtreecommitdiff
path: root/games/nsnake/Makefile
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-01-19 18:16:46 +0000
committerJohn Marino <marino@FreeBSD.org>2014-01-19 18:16:46 +0000
commita640f76a7bfd57a34f1a1aa21c53b8fc5f3d73c9 (patch)
tree5a888312cb79cc165fbf406bbeac970f5719b161 /games/nsnake/Makefile
parentd4c5f8275d60719ffaefc123b0e7e83c253746c8 (diff)
downloadports-a640f76a7bfd57a34f1a1aa21c53b8fc5f3d73c9.tar.gz
ports-a640f76a7bfd57a34f1a1aa21c53b8fc5f3d73c9.zip
Notes
Diffstat (limited to 'games/nsnake/Makefile')
-rw-r--r--games/nsnake/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/games/nsnake/Makefile b/games/nsnake/Makefile
index 40e8ba8f55fd..5fdf2b918379 100644
--- a/games/nsnake/Makefile
+++ b/games/nsnake/Makefile
@@ -3,6 +3,7 @@
PORTNAME= nsnake
PORTVERSION= 1.4
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://releases.malikania.fr/nsnake/
EXTRACT_SUFX= .tgz
@@ -13,12 +14,8 @@ COMMENT= Snake game written in C and ncurses
LICENSE= MIT
OPTIONS_DEFINE= DOCS
+OPTIONS_SUB= yes
-MAN6= ${PORTNAME}.6
-PORTDOCS= CHANGELOG
-PLIST_FILES= bin/${PORTNAME}
-
-NO_STAGE= yes
.include <bsd.port.options.mk>
do-build:
@@ -26,11 +23,11 @@ do-build:
do-install:
(cd ${WRKSRC} \
- && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin \
- && ${INSTALL_MAN} ${PORTNAME}.6 ${MANPREFIX}/man/man6)
+ && ${INSTALL_PROGRAM} ${PORTNAME} ${STAGEDIR}${PREFIX}/bin \
+ && ${INSTALL_MAN} ${PORTNAME}.6 ${STAGEDIR}${MANPREFIX}/man/man6)
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- (cd ${WRKSRC} && ${INSTALL_DATA} CHANGELOG ${DOCSDIR})
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} CHANGELOG ${STAGEDIR}${DOCSDIR})
.endif
.include <bsd.port.mk>