template empty score. zap exec

This commit is contained in:
espie 2005-09-04 23:29:09 +00:00
parent 66809faf96
commit 09b0153978
2 changed files with 10 additions and 8 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.4 2004/11/28 23:32:07 espie Exp $ # $OpenBSD: Makefile,v 1.5 2005/09/04 23:29:09 espie Exp $
COMMENT= "2.5 dimensional tetris-like game" COMMENT= "2.5 dimensional tetris-like game"
DISTNAME= ${PKGNAME}.src DISTNAME= xwelltris-1.0.1
PKGNAME= xwelltris-1.0.1 DISTFILES= ${DISTNAME}.src.tar.gz
PKGNAME= ${DISTNAME}p0
CATEGORIES= games x11 CATEGORIES= games x11
MASTER_SITES= ${HOMEPAGE}src/ MASTER_SITES= ${HOMEPAGE}src/
@ -19,8 +20,6 @@ WANTLIB= X11 Xext c m stdc++
NO_REGRESS= Yes NO_REGRESS= Yes
USE_X11= Yes USE_X11= Yes
WRKDIST= ${WRKDIR}/${PKGNAME}
CONFIGURE_STYLE=gnu CONFIGURE_STYLE=gnu
FLAVORS= no_sdl FLAVORS= no_sdl
@ -40,5 +39,6 @@ do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/xwelltris ${INSTALL_DATA_DIR} ${PREFIX}/share/xwelltris
${INSTALL_DATA} ${WRKSRC}/data/*.{dat,gif} \ ${INSTALL_DATA} ${WRKSRC}/data/*.{dat,gif} \
${WRKSRC}/README.keys ${PREFIX}/share/xwelltris ${WRKSRC}/README.keys ${PREFIX}/share/xwelltris
${INSTALL_DATA} /dev/null ${PREFIX}/share/xwelltris/welltris.scores.template
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2004/09/15 00:46:12 espie Exp $ @comment $OpenBSD: PLIST,v 1.3 2005/09/04 23:29:09 espie Exp $
@mode 2555 @mode 2555
@group games @group games
bin/xwelltris bin/xwelltris
@ -12,5 +12,7 @@ share/xwelltris/polyomino.dat
share/xwelltris/topnine.gif share/xwelltris/topnine.gif
share/xwelltris/wellcuts.gif share/xwelltris/wellcuts.gif
share/xwelltris/wellintro.gif share/xwelltris/wellintro.gif
@exec install -m 664 -o root -g games /dev/null %B/welltris.scores share/xwelltris/welltris.scores.template
@unexec rm -f %B/welltris.scores @mode 644
@group games
@sample share/xwelltris/welltris.scores