pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/rocksndiamonds Prepared package for installation...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a67029be85a2
branches: trunk
changeset: 528911:a67029be85a2
user: heinz <heinz%pkgsrc.org@localhost>
date: Sat May 19 22:36:11 2007 +0000
description:
Prepared package for installation to DESTDIR. Package not declared ready
because there is still the pkgsrc issue of wrong permissions recorded
in +INSTALL scripts.
diffstat:
games/rocksndiamonds/Makefile | 18 +++++++++++-------
1 files changed, 11 insertions(+), 7 deletions(-)
diffs (51 lines):
diff -r df1c6ff4456a -r a67029be85a2 games/rocksndiamonds/Makefile
--- a/games/rocksndiamonds/Makefile Sat May 19 22:23:56 2007 +0000
+++ b/games/rocksndiamonds/Makefile Sat May 19 22:36:11 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2007/03/18 18:29:38 adam Exp $
+# $NetBSD: Makefile,v 1.35 2007/05/19 22:36:11 heinz Exp $
DISTNAME= rocksndiamonds-3.2.3
CATEGORIES= games x11
@@ -8,9 +8,11 @@
HOMEPAGE= http://www.artsoft.org/rocksndiamonds/
COMMENT= Game like Boulder Dash, Emerald Mine, or Sokoban
+PKG_DESTDIR_SUPPORT= # wrong permissions in +INSTALL script
+
USE_TOOLS+= gmake
-INSTALLATION_DIRS+= ${PKGMANDIR}/man6
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man6
PKG_GROUPS+= ${GAMEGRP}
PKG_USERS+= ${GAMEOWN}:${GAMEGRP}
@@ -58,21 +60,23 @@
.include "options.mk"
do-install:
- ${INSTALL_GAME} ${WRKSRC}/rocksndiamonds ${PREFIX}/bin/
+ ${INSTALL_GAME} ${WRKSRC}/rocksndiamonds ${DESTDIR:Q}${PREFIX:Q}/bin/
${INSTALL_MAN} ${WRKSRC}/rocksndiamonds.1 \
- ${PREFIX}/${PKGMANDIR}/man6/rocksndiamonds.6
- ${INSTALL_DATA_DIR} ${SHAREDIR}
+ ${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR}/man6/rocksndiamonds.6
+ ${INSTALL_DATA_DIR} ${DESTDIR:Q}${SHAREDIR:Q}
# auto-generated PLIST
rm -f ${WRKDIR}/PLIST.F ${WRKDIR}/PLIST.D
set -e; \
cd ${WRKSRC} && \
for d in sounds graphics levels music; do \
find "$${d}" -type d -print | { while read subdir; do \
- ${INSTALL_DATA_DIR} ${SHAREDIR}/"$${subdir}"; \
+ ${INSTALL_DATA_DIR} \
+ ${DESTDIR:Q}${SHAREDIR:Q}/"$${subdir}"; \
${ECHO} "@dirrm ${SHARESUBDIR}/$${subdir}"; \
done ; } | sort -r >> ${WRKDIR}/PLIST.D; \
find "$${d}" -type f -print | while read f; do \
- ${INSTALL_DATA} "$${f}" ${SHAREDIR}/"$${f}"; \
+ ${INSTALL_DATA} "$${f}" \
+ ${DESTDIR:Q}${SHAREDIR:Q}/"$${f}"; \
${ECHO} ${SHARESUBDIR}/"$${f}" >> ${WRKDIR}/PLIST.F;\
done ; \
done
Home |
Main Index |
Thread Index |
Old Index