diff options
-rw-r--r-- | games/rollemup/Makefile | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/games/rollemup/Makefile b/games/rollemup/Makefile index 21137fb6359..d6fb7b42df9 100644 --- a/games/rollemup/Makefile +++ b/games/rollemup/Makefile @@ -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 @@ MESSAGE_SUBST+= GAMES_DIR=${GAMES_DIR} 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" |