pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Added SETGIDGAME SPECIAL_PERMS to wanderer
Module Name: pkgsrc-wip
Committed By: Marina Brown <catskillmarina%gmail.com@localhost>
Pushed By: catskillmarina
Date: Fri Jan 15 04:40:09 2016 +0000
Changeset: 6f5ea483f9d72debe817b18796ef8c531cdfdb92
Modified Files:
wanderer/Makefile
wanderer/distinfo
Log Message:
Added SETGIDGAME SPECIAL_PERMS to wanderer
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6f5ea483f9d72debe817b18796ef8c531cdfdb92
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
wanderer/Makefile | 19 +++++++++++--------
wanderer/distinfo | 6 +++---
2 files changed, 14 insertions(+), 11 deletions(-)
diffs:
diff --git a/wanderer/Makefile b/wanderer/Makefile
index 6a45168..078c3c8 100644
--- a/wanderer/Makefile
+++ b/wanderer/Makefile
@@ -2,6 +2,8 @@
DISTNAME= wanderer-dev.3.2.1
PKGREVISION= 1
+PKGNAME= wanderer-dev.3.2.1
+DIST_SUBDIR= ${PKGVERSION_NOREV}
CATEGORIES= games
MASTER_SITES= http://e271.net/~marina/
EXTRACT_SUFX= .tgz
@@ -11,13 +13,11 @@ HOMEPAGE= http://e271.net/~marina/wanderer.html
COMMENT= Wanderer is a game similar to Boulderdash, Repton, XOR and others
LICENSE= gnu-gpl-v2
-INSTALLATION_DIRS+= man man/man6 bin share/wanderer share/wanderer/screens games
-
SUBST_CLASSES+= wanderer
SUBST_STAGE.wanderer= pre-build
SUBST_FILES.wanderer= wand_head.h
SUBST_SED.wanderer= -e "s,/usr/local/share/wanderer/screens,${PREFIX}/share/wanderer/screens,"
-SUBST_SED.wanderer+= -e "s,/var/games/wandererscores,${PREFIX}/games/wandererscores,"
+#SUBST_SED.wanderer+= -e "s,/var/games/wandererscores,${PREFIX}/games/wandererscores,"
SUBST_SED.wanderer+= -e "s,\#include <ncurses.h>,\#include <curses.h>,"
SUBST_CLASSES+= wand-mk
@@ -26,13 +26,16 @@ SUBST_FILES.wand-mk= Makefile
SUBST_SED.wand-mk= -e 's|${DESTDIR}||'
SUBST_SED.wand-mk+= -e "s,/usr/local/,${PREFIX}/,"
+SETGIDGAME= yes
+SPECIAL_PERMS= bin/wanderer ${SETGID_GAMES_PERMS}
+
+INSTALLATION_DIRS+= man man/man6 bin share/wanderer share/wanderer/screens games
+
do-install:
- ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/wanderer
- ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/games
+ ${INSTALL_PROGRAM} ${WRKSRC}/wanderer ${DESTDIR}${PREFIX}/bin/wanderer
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/wanderer/screens
- ${INSTALL_DATA} -m 0644 ${WRKSRC}/screens/* ${DESTDIR}${PREFIX}/share/wanderer/screens/
- ${INSTALL} -o ${GAMES_USER} -g ${GAMES_GROUP} -m 2755 ${WRKSRC}/wanderer ${DESTDIR}${PREFIX}/bin/
+ ${INSTALL_DATA} ${WRKSRC}/screens/* ${DESTDIR}${PREFIX}/share/wanderer/screens/
${INSTALL_MAN} ${WRKSRC}/wanderer.6 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/
-.include "../../mk/bsd.pkg.mk"
.include "../../mk/curses.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/wanderer/distinfo b/wanderer/distinfo
index f27d61e..d040361 100644
--- a/wanderer/distinfo
+++ b/wanderer/distinfo
@@ -1,5 +1,5 @@
$NetBSD$
-SHA1 (wanderer-dev.3.2.1.tgz) = 0187fe83a2e3b68ab51b53adfca160b95737dbc2
-RMD160 (wanderer-dev.3.2.1.tgz) = 9f0e40776376651761b11570d422e4ede22282fa
-Size (wanderer-dev.3.2.1.tgz) = 165025 bytes
+SHA1 (dev.3.2.1/wanderer-dev.3.2.1.tgz) = 0187fe83a2e3b68ab51b53adfca160b95737dbc2
+RMD160 (dev.3.2.1/wanderer-dev.3.2.1.tgz) = 9f0e40776376651761b11570d422e4ede22282fa
+Size (dev.3.2.1/wanderer-dev.3.2.1.tgz) = 165025 bytes
Home |
Main Index |
Thread Index |
Old Index