summaryrefslogtreecommitdiff
path: root/games/rollemup/Makefile
diff options
context:
space:
mode:
authorsakamoto <sakamoto@pkgsrc.org>1999-10-28 06:59:12 +0000
committersakamoto <sakamoto@pkgsrc.org>1999-10-28 06:59:12 +0000
commitf83c9a660b98ba25eaf0347a75c9590e5375f89c (patch)
tree68b22fe81e2010e652f3f772fd74779eb4714f77 /games/rollemup/Makefile
parent0a81255239e686c60bb8fb271349f754529c95fb (diff)
downloadpkgsrc-f83c9a660b98ba25eaf0347a75c9590e5375f89c.tar.gz
Resurrect rollemup pkg.
Diffstat (limited to 'games/rollemup/Makefile')
-rw-r--r--games/rollemup/Makefile64
1 files changed, 64 insertions, 0 deletions
diff --git a/games/rollemup/Makefile b/games/rollemup/Makefile
new file mode 100644
index 00000000000..84d08487c77
--- /dev/null
+++ b/games/rollemup/Makefile
@@ -0,0 +1,64 @@
+# $NetBSD: Makefile,v 1.3 1999/10/28 06:59:12 sakamoto Exp $
+#
+
+DISTNAME= Rollemup
+PKGNAME= rollemup-1.0
+CATEGORIES= games
+MASTER_SITES= ftp://usa.lostboys.nl/pub/medialab/rollemup/Linux/
+
+MAINTAINER= sakamoto@netbsd.org
+HOMEPAGE= http://www.medialab.lostboys.nl/rollemup/
+
+LICENSE= no-commercial-use
+RESTRICTED= You are not allowed to distribute the software by any means. \
+ You are allowed to download a copy from this site for personal use. \
+ See http://www.medialab.lostboys.nl/content/showcase/license.html
+MIRROR_DISTFILE=no
+
+EXTRACT_ONLY= # empty
+NO_PATCH= yes
+NO_CONFIGURE= yes
+NO_PACKAGE= yes
+
+PLIST_SRC= ${WRKDIR}/PLIST.src
+GAMES_DIR= share/games
+
+ONLY_FOR_PLATFORM= *-*-i386
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+.if (${MACHINE_ARCH} == "i386")
+.if !exists(/emul/linux/lib/ld-linux.so.2)
+IGNORE= requires Linux glibc2 libraries - see compat_linux(8)
+.endif
+.endif
+.endif
+
+do-build:
+ @${SED} -e 's|$${PREFIX}|${PREFIX}|g' ${FILESDIR}/rollemup.sh \
+ > ${WRKDIR}/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 \
+ ${PREFIX}/${GAMES_DIR}/Rollemup
+ @${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
+ @(cd ${PREFIX}; \
+ find ${GAMES_DIR}/Rollemup -type f >> ${PLIST_SRC}; \
+ for DIR in `find ${GAMES_DIR}/Rollemup -type d | sort -r`; do \
+ ${ECHO} "@dirrm $$DIR" >> ${PLIST_SRC}; \
+ done)
+ @chown root:games ${PREFIX}/bin/Rollemup
+ @chmod 2755 ${PREFIX}/bin/Rollemup
+ @chown -R root: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"