svn commit: r368052 - head/games/greed

Antoine Brodin antoine at FreeBSD.org
Fri Sep 12 17:39:04 UTC 2014


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
- at sample(,games,664) /%%SCOREFILE%%.sample
+ at sample(,games,664) %%SCOREFILE%%.sample


More information about the svn-ports-head mailing list