aboutsummaryrefslogtreecommitdiffstats
path: root/games/lmarbles
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-10-06 07:02:56 +0800
committerpav <pav@FreeBSD.org>2005-10-06 07:02:56 +0800
commit84caaccb7f2bb855c1a6bd178e8f19f7a0e76810 (patch)
treec409b8bacaa5ca77ac26eec4ec50d25eac920f17 /games/lmarbles
parent5686fc203cf7ecee550ae125cdf16b3824f76be3 (diff)
downloadfreebsd-ports-gnome-84caaccb7f2bb855c1a6bd178e8f19f7a0e76810.tar.gz
freebsd-ports-gnome-84caaccb7f2bb855c1a6bd178e8f19f7a0e76810.tar.zst
freebsd-ports-gnome-84caaccb7f2bb855c1a6bd178e8f19f7a0e76810.zip
- Fix empty.prfs installation
Diffstat (limited to 'games/lmarbles')
-rw-r--r--games/lmarbles/Makefile3
-rw-r--r--games/lmarbles/pkg-install7
-rw-r--r--games/lmarbles/pkg-plist1
3 files changed, 0 insertions, 11 deletions
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