pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/rollemup Fixed pkglint warnings about hidden com...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8235856557a5
branches: trunk
changeset: 538538:8235856557a5
user: rillig <rillig%pkgsrc.org@localhost>
date: Tue Feb 12 08:01:26 2008 +0000
description:
Fixed pkglint warnings about hidden commands. Added a missing mkdir.
diffstat:
games/rollemup/Makefile | 33 +++++++++++++++++----------------
1 files changed, 17 insertions(+), 16 deletions(-)
diffs (56 lines):
diff -r 29012998fe02 -r 8235856557a5 games/rollemup/Makefile
--- a/games/rollemup/Makefile Tue Feb 12 07:59:04 2008 +0000
+++ b/games/rollemup/Makefile Tue Feb 12 08:01:26 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2007/07/29 05:19:26 jlam Exp $
+# $NetBSD: Makefile,v 1.35 2008/02/12 08:01:26 rillig Exp $
DISTNAME= Rollemup
PKGNAME= rollemup-1.0
@@ -32,30 +32,31 @@
INSTALLATION_DIRS= bin
do-build:
- @${SED} -e 's|$${PREFIX}|${PREFIX}|g' \
+ ${SED} -e 's|$${PREFIX}|${PREFIX}|g' \
-e 's|$${GAMES_DIR}|${GAMES_DIR}|g' \
${FILESDIR}/rollemup.sh > ${WRKDIR}/rollemup
- @${SED} -e 's|$${PREFIX}|${PREFIX}|g' ${FILESDIR}/README.Rollemup \
+ ${SED} -e 's|$${PREFIX}|${PREFIX}|g' ${FILESDIR}/README.Rollemup \
> ${WRKDIR}/README.Rollemup
do-install:
- @${GTAR} xCzf ${PREFIX}/${GAMES_DIR} ${_DISTDIR}/${DISTFILES}
- @${TOUCH} ${PREFIX}/${GAMES_DIR}/Rollemup/Rollemup.ini
- @${MV} ${PREFIX}/${GAMES_DIR}/Rollemup/Rollemup ${PREFIX}/bin
- @${INSTALL_SCRIPT} ${WRKDIR}/rollemup ${PREFIX}/bin
- @${INSTALL_DATA} ${WRKDIR}/README.Rollemup \
+ ${MKDIR} ${PREFIX}/${GAMES_DIR}
+ ${GTAR} xCzf ${PREFIX}/${GAMES_DIR} ${_DISTDIR}/${DISTFILES}
+ ${TOUCH} ${PREFIX}/${GAMES_DIR}/Rollemup/Rollemup.ini
+ ${MV} ${PREFIX}/${GAMES_DIR}/Rollemup/Rollemup ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKDIR}/rollemup ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKDIR}/README.Rollemup \
${PREFIX}/${GAMES_DIR}/Rollemup
- @${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
- @(cd ${PREFIX}; \
+ ${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
+ (cd ${PREFIX}; \
${FIND} ${GAMES_DIR}/Rollemup -type f -print >> ${PLIST_SRC}; \
for DIR in `${FIND} ${GAMES_DIR}/Rollemup -type d -print | ${SORT} -r`; do \
${ECHO} "@dirrm $$DIR" >> ${PLIST_SRC}; \
done)
- @${CHOWN} ${ROOT_USER}:games ${PREFIX}/bin/Rollemup
- @${CHMOD} 2755 ${PREFIX}/bin/Rollemup
- @${CHOWN} -R ${ROOT_USER}:games ${PREFIX}/${GAMES_DIR}/Rollemup
- @${CHMOD} 775 ${PREFIX}/${GAMES_DIR}/Rollemup/Games
- @${CHMOD} 775 ${PREFIX}/${GAMES_DIR}/Rollemup/Upload
- @${CHMOD} 664 ${PREFIX}/${GAMES_DIR}/Rollemup/Rollemup.ini
+ ${CHOWN} ${ROOT_USER}:games ${PREFIX}/bin/Rollemup
+ ${CHMOD} 2755 ${PREFIX}/bin/Rollemup
+ ${CHOWN} -R ${ROOT_USER}:games ${PREFIX}/${GAMES_DIR}/Rollemup
+ ${CHMOD} 775 ${PREFIX}/${GAMES_DIR}/Rollemup/Games
+ ${CHMOD} 775 ${PREFIX}/${GAMES_DIR}/Rollemup/Upload
+ ${CHMOD} 664 ${PREFIX}/${GAMES_DIR}/Rollemup/Rollemup.ini
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index