mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
- Allow staging as a regular user
- Bump portrevision as a file was packaged with wrong group
This commit is contained in:
parent
c645608f0c
commit
8e59eeb00d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368052
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user