xjewel port
This commit is contained in:
parent
ef3c99344e
commit
8f2188b3b6
32
games/xjewel/Makefile
Normal file
32
games/xjewel/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# OpenBSD makefile for: xjewel
|
||||
# Version required: 1.6
|
||||
# Date created: May 19 1998
|
||||
# Whom: Angelos D. Keromytis
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1998/05/20 03:12:38 angelos Exp $
|
||||
#
|
||||
|
||||
DISTNAME= xjewel-1.6
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ftp://ftp.warwick.ac.uk/pub/x11/
|
||||
DISTFILES= xjewel-1.6.tar.z
|
||||
|
||||
MAINTAINER= angelos@openbsd.org
|
||||
|
||||
USE_IMAKE= yes
|
||||
|
||||
pre-install:
|
||||
@${MKDIR} ${PREFIX}/bin
|
||||
@${MKDIR} ${PREFIX}/lib/xjewel.font
|
||||
@${MKDIR} ${PREFIX}/man/man6
|
||||
@(cd ${WRKSRC}/bitmaps/; ${INSTALL_DATA} seven_seg.pcf.gz fonts.dir \
|
||||
${PREFIX}/lib/xjewel.font)
|
||||
|
||||
post-install:
|
||||
@(mv ${PREFIX}/bin/xjewel ${PREFIX}/bin/xjewel_; \
|
||||
echo "#!/bin/sh" >${PREFIX}/bin/xjewel; \
|
||||
echo "xset +fp ${PREFIX}/lib/xjewel.font" >>${PREFIX}/bin/xjewel; \
|
||||
echo "xjewel_" >>${PREFIX}/bin/xjewel; \
|
||||
chmod ugo+x ${PREFIX}/bin/xjewel)
|
||||
|
||||
.include <bsd.port.mk>
|
1
games/xjewel/files/md5
Normal file
1
games/xjewel/files/md5
Normal file
@ -0,0 +1 @@
|
||||
MD5 (xjewel-1.6.tar.z) = b6448726269ec158c5db6eb54864bdfe
|
1
games/xjewel/pkg/COMMENT
Normal file
1
games/xjewel/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
X windows dropping jewels game.
|
14
games/xjewel/pkg/DESCR
Normal file
14
games/xjewel/pkg/DESCR
Normal file
@ -0,0 +1,14 @@
|
||||
Xjewel is a droping block game akin to tetris.
|
||||
|
||||
It is played by controling the motion of blocks which continue to fall from
|
||||
the top of the screen. One can move them left and right, as well as
|
||||
rotate the jewel segements. The object is to get the most points before
|
||||
the grim reaper ends the fun.
|
||||
|
||||
Death happens when the screen is no longer capable of holding any more
|
||||
blocks. To make high scores more interesting, you are given but three
|
||||
attempts to get points -- use them wisely.
|
||||
|
||||
As the game progresses, and more jewels are removed, the speed of the game
|
||||
will increase. This is measured in seconds of delay between steps of
|
||||
block motion.
|
6
games/xjewel/pkg/PLIST
Normal file
6
games/xjewel/pkg/PLIST
Normal file
@ -0,0 +1,6 @@
|
||||
bin/xjewel
|
||||
bin/xjewel_
|
||||
lib/xjewel.scores
|
||||
lib/xjewel.font/fonts.dir
|
||||
lib/xjewel.font/seven_seg.pcf.gz
|
||||
man/man6/xjewel.6
|
17
games/xjewel/scripts/configure
vendored
Normal file
17
games/xjewel/scripts/configure
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd $WRKSRC || exit 1;
|
||||
|
||||
mv Imakefile Imakefile.orig
|
||||
sed -e s/snf/pcf.gz/ <Imakefile.orig>Imakefile
|
||||
|
||||
cat >> Imakefile <<END
|
||||
|
||||
HSCORE_FILE = $PREFIX/lib/xjewel.scores
|
||||
USERDEFS = -DICON_WINDOW -DUSE_SELECT -DGETPWENT
|
||||
BINDIR = $PREFIX/bin
|
||||
MANDIR = $PREFIX/man/man6
|
||||
MANSUFFIX = 6
|
||||
END
|
||||
|
||||
exit 0;
|
Loading…
Reference in New Issue
Block a user