- Fix empty.prfs installation

This commit is contained in:
Pav Lucistnik 2005-10-05 23:02:56 +00:00
parent 918a404e85
commit a3b33a0100
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=144352
6 changed files with 0 additions and 22 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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