aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-10-31 00:22:48 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-10-31 00:22:48 +0800
commit18307d392f9762202ab757222a6b0b441c280179 (patch)
tree943014ce4b0c9d7fa74a4459a99e4c73fdf45e6e /games
parentf3c262e8a0524f9470f1471b42d2e5fe2bd14171 (diff)
downloadfreebsd-ports-gnome-18307d392f9762202ab757222a6b0b441c280179.tar.gz
freebsd-ports-gnome-18307d392f9762202ab757222a6b0b441c280179.tar.zst
freebsd-ports-gnome-18307d392f9762202ab757222a6b0b441c280179.zip
- Provide group and mode in plist
- Allow package creation from plain user
Diffstat (limited to 'games')
-rw-r--r--games/pachi/Makefile5
-rw-r--r--games/pachi/pkg-plist5
2 files changed, 5 insertions, 5 deletions
diff --git a/games/pachi/Makefile b/games/pachi/Makefile
index 16eeb30a25ec..9a45ad96062a 100644
--- a/games/pachi/Makefile
+++ b/games/pachi/Makefile
@@ -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>
diff --git a/games/pachi/pkg-plist b/games/pachi/pkg-plist
new file mode 100644
index 000000000000..0a1acecbfdbd
--- /dev/null
+++ b/games/pachi/pkg-plist
@@ -0,0 +1,5 @@
+@group games
+@mode 2555
+bin/pachi
+@mode
+@group