- Provide group and mode in plist
- Allow package creation from plain user
This commit is contained in:
parent
458f837d3b
commit
c637c4ecd0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332147
2 changed files with 5 additions and 5 deletions
|
@ -24,7 +24,6 @@ WRKSRC= ${WRKDIR}/Pachi
|
|||
SCOREDIR= /var/games/pachi
|
||||
SCOREFILE= ${SCOREDIR}/scores.dat
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
PORTDATA= *
|
||||
|
||||
DESKTOP_ENTRIES="Pachi el marciano" \
|
||||
|
@ -44,8 +43,4 @@ post-patch:
|
|||
@${REINPLACE_CMD} -e 's|install-scoreDATA\ install-data-local||' \
|
||||
${WRKSRC}/data/Makefile.in
|
||||
|
||||
post-install:
|
||||
${CHGRP} games ${STAGEDIR}${PREFIX}/bin/pachi
|
||||
${CHMOD} g+s ${STAGEDIR}${PREFIX}/bin/pachi
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
5
games/pachi/pkg-plist
Normal file
5
games/pachi/pkg-plist
Normal file
|
@ -0,0 +1,5 @@
|
|||
@group games
|
||||
@mode 2555
|
||||
bin/pachi
|
||||
@mode
|
||||
@group
|
Loading…
Reference in a new issue