Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2014 18:16:46 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340328 - head/games/nsnake
Message-ID:  <201401191816.s0JIGk21034755@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Jan 19 18:16:46 2014
New Revision: 340328
URL: http://svnweb.freebsd.org/changeset/ports/340328
QAT: https://qat.redports.org/buildarchive/r340328/

Log:
  games/nsnake: games/nsnake: fix permissions and fix score file
  
  Support stage too.
  
  PR:		ports/184920
  Approved by:	maintainer timeout

Added:
  head/games/nsnake/pkg-plist   (contents, props changed)
Modified:
  head/games/nsnake/Makefile

Modified: head/games/nsnake/Makefile
==============================================================================
--- head/games/nsnake/Makefile	Sun Jan 19 18:04:35 2014	(r340327)
+++ head/games/nsnake/Makefile	Sun Jan 19 18:16:46 2014	(r340328)
@@ -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 ncu
 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>

Added: head/games/nsnake/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/nsnake/pkg-plist	Sun Jan 19 18:16:46 2014	(r340328)
@@ -0,0 +1,10 @@
+@owner games
+@group games
+@mode 4555
+bin/nsnake
+man/man6/nsnake.6.gz
+%%DOCS%%%%DOCSDIR%%/CHANGELOG
+%%DOCS%%@dirrm %%DOCSDIR%%
+@mode
+@exec mkdir -p /var/db/nsnake
+@exec chown games:games /var/db/nsnake



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401191816.s0JIGk21034755>