From 84caaccb7f2bb855c1a6bd178e8f19f7a0e76810 Mon Sep 17 00:00:00 2001 From: pav Date: Wed, 5 Oct 2005 23:02:56 +0000 Subject: - Fix empty.prfs installation --- games/lmarbles/Makefile | 3 --- games/lmarbles/pkg-install | 7 ------- games/lmarbles/pkg-plist | 1 - 3 files changed, 11 deletions(-) delete mode 100644 games/lmarbles/pkg-install (limited to 'games/lmarbles') diff --git a/games/lmarbles/Makefile b/games/lmarbles/Makefile index 80b0715fe5c9..a76c077d4ff0 100644 --- a/games/lmarbles/Makefile +++ b/games/lmarbles/Makefile @@ -27,11 +27,8 @@ post-patch: @${REINPLACE_CMD} -e 's/SDL\///' ${WRKSRC}/src/*.[ch] post-install: - ${INSTALL_DATA} ${WRKSRC}/src/empty.prfs ${PREFIX}/share/lmarbles @${CHOWN} root:games ${PREFIX}/bin/lmarbles @${CHMOD} g+s ${PREFIX}/bin/lmarbles - @${SETENV} "PKG_PREFIX=${PREFIX}" \ - ${SH} pkg-install ${PKGNAME} POST-INSTALL .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/lmarbles ${INSTALL_DATA} ${WRKSRC}/src/manual/* ${PREFIX}/share/doc/lmarbles diff --git a/games/lmarbles/pkg-install b/games/lmarbles/pkg-install deleted file mode 100644 index 425f21d8df17..000000000000 --- a/games/lmarbles/pkg-install +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -FILE=/var/games/lmarbles.prfs -[ "$2" != "POST-INSTALL" -o -f "$FILE" ] && exit 0 - -echo "===> Creating initial profile $FILE" -install -o root -g games -m 664 ${PKG_PREFIX}/share/lmarbles/empty.prfs $FILE diff --git a/games/lmarbles/pkg-plist b/games/lmarbles/pkg-plist index 35b8710651be..56d1e37af87d 100644 --- a/games/lmarbles/pkg-plist +++ b/games/lmarbles/pkg-plist @@ -1,5 +1,4 @@ bin/lmarbles -share/lmarbles/empty.prfs share/lmarbles/gfx/board.bmp share/lmarbles/gfx/f_red.bmp share/lmarbles/gfx/f_small.bmp -- cgit