Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Nov 2013 01:38:31 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333965 - head/games/yahtzee
Message-ID:  <201311160138.rAG1cVoA074070@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sat Nov 16 01:38:30 2013
New Revision: 333965
URL: http://svnweb.freebsd.org/changeset/ports/333965

Log:
  - Remove the indefinite article from COMMENT
  - Add stage support

Modified:
  head/games/yahtzee/Makefile
  head/games/yahtzee/pkg-plist

Modified: head/games/yahtzee/Makefile
==============================================================================
--- head/games/yahtzee/Makefile	Sat Nov 16 01:35:38 2013	(r333964)
+++ head/games/yahtzee/Makefile	Sat Nov 16 01:38:30 2013	(r333965)
@@ -11,16 +11,13 @@ DISTNAME=	${PORTNAME}-src
 EXTRACT_SUFX=	.tar.Z
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A curses version of the dice game for one or more players
+COMMENT=	Curses version of the dice game for one or more players
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
-# Distribution does not include an install target. So here it is.
-#
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} -m 2755 -o root -g games ${WRKSRC}/yahtzee ${PREFIX}/bin
-	${MKDIR} -m 0755 ${DATADIR}
-	${INSTALL_DATA} -m 0664 -o root -g games /dev/null ${DATADIR}/yahtzee.sco
+	${INSTALL_PROGRAM} ${WRKSRC}/yahtzee ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} -m 0755 ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} -m 0664 /dev/null ${STAGEDIR}${DATADIR}/yahtzee.sco
 
 .include <bsd.port.mk>

Modified: head/games/yahtzee/pkg-plist
==============================================================================
--- head/games/yahtzee/pkg-plist	Sat Nov 16 01:35:38 2013	(r333964)
+++ head/games/yahtzee/pkg-plist	Sat Nov 16 01:38:30 2013	(r333965)
@@ -1,3 +1,7 @@
+@group games
+@mode 2755
 bin/yahtzee
+@mode
 %%DATADIR%%/yahtzee.sco
+@group
 @dirrm %%DATADIR%%



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