Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2014 17:39:03 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368052 - head/games/greed
Message-ID:  <201409121739.s8CHd3k3061876@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Fri Sep 12 17:39:03 2014
New Revision: 368052
URL: http://svnweb.freebsd.org/changeset/ports/368052
QAT: https://qat.redports.org/buildarchive/r368052/

Log:
  - Allow staging as a regular user
  - Bump portrevision as a file was packaged with wrong group

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

Modified: head/games/greed/Makefile
==============================================================================
--- head/games/greed/Makefile	Fri Sep 12 17:36:35 2014	(r368051)
+++ head/games/greed/Makefile	Fri Sep 12 17:39:03 2014	(r368052)
@@ -3,6 +3,7 @@
 
 PORTNAME=	greed
 PORTVERSION=	3.10
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	http://catb.org/~esr/greed/ CENKES
 PKGNAMESUFFIX=	-game
@@ -15,13 +16,13 @@ LICENSE=	BSD3CLAUSE
 SCOREFILE?=	/var/games/greed.hs
 CFLAGS+=	-DSCOREFILE=\"${SCOREFILE}\" -DNOTBSD -DRELEASE=\"${PORTVERSION}\"
 LDFLAGS+=	-lcurses
-PLIST_SUB+=	SCOREFILE=${SCOREFILE:S|^/||}
+PLIST_SUB+=	SCOREFILE=${SCOREFILE}
 
 do-build:
 	(cd ${WRKSRC} && ${CC} ${CFLAGS} -o greed greed.c ${LDFLAGS})
 
 do-install:
-	${INSTALL_PROGRAM} -m 2555 -o root -g games ${WRKSRC}/greed ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_PROGRAM} ${WRKSRC}/greed ${STAGEDIR}${PREFIX}/bin/
 	${INSTALL_MAN} ${WRKSRC}/greed.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/
 	@${MKDIR} ${STAGEDIR}${SCOREFILE:H}
 	${TOUCH} ${STAGEDIR}${SCOREFILE}.sample

Modified: head/games/greed/pkg-plist
==============================================================================
--- head/games/greed/pkg-plist	Fri Sep 12 17:36:35 2014	(r368051)
+++ head/games/greed/pkg-plist	Fri Sep 12 17:39:03 2014	(r368052)
@@ -1,3 +1,3 @@
-bin/greed
+@(,games,2555) bin/greed
 man/man6/greed.6.gz
-@sample(,games,664) /%%SCOREFILE%%.sample
+@sample(,games,664) %%SCOREFILE%%.sample



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