mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
New port of Digger - a VGL version of the famous Digger game. AFAIK it is the
fist full-blown game with VGL support ;). Very suitable it you have nothing to do while your computer assembling bits of 'make buildworld' (the game uses only about 5% CPU on my P133 laptop). PR: 18112 Submitted by: me
This commit is contained in:
parent
09b6e1b4b7
commit
6abf94abba
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=28679
47
games/digger-vgl/Makefile
Normal file
47
games/digger-vgl/Makefile
Normal file
@ -0,0 +1,47 @@
|
||||
# New ports collection makefile for: Digger
|
||||
# Date created: 14 April 2000
|
||||
# Whom: Maxim Sobolev
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= digger
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://www.digger.org/
|
||||
DISTNAME= ${PORTNAME}-${DIGREL}
|
||||
|
||||
MAINTAINER= sobomax@FreeBSD.org
|
||||
|
||||
.if defined(WITH_SOUND)
|
||||
LIB_DEPENDS= SDL-1.0.2:${PORTSDIR}/devel/sdl
|
||||
MAKE_FLAGS+= -DSOUND
|
||||
.endif
|
||||
|
||||
DIGREL= 20000407
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${DIGREL}
|
||||
MAKEFILE= Makefile.fbsd
|
||||
|
||||
.if !defined(WITH_SOUND)
|
||||
post-extract:
|
||||
@${ECHO_MSG}
|
||||
@${ECHO_MSG} "Please use \"make -DWITH_SOUND\" if you want to build the game with sound support."
|
||||
@${ECHO_MSG}
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/digger ${PREFIX}/bin
|
||||
@${MKDIR} /var/games/digger
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/digger
|
||||
@${INSTALL_MAN} ${WRKSRC}/digger.txt ${PREFIX}/share/doc/digger
|
||||
.endif
|
||||
|
||||
.if defined(WITH_SOUND)
|
||||
post-install:
|
||||
@${ECHO_MSG}
|
||||
@${ECHO_MSG} "Use \"digger /A\" command to run Digger with sound enabled."
|
||||
@${ECHO_MSG}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
games/digger-vgl/distinfo
Normal file
1
games/digger-vgl/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (digger-20000407.tar.gz) = 6b91314193ebdefcc22337b46458e950
|
11
games/digger-vgl/files/patch-aa
Normal file
11
games/digger-vgl/files/patch-aa
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.fbsd.orig Fri Apr 14 10:29:24 2000
|
||||
+++ Makefile.fbsd Fri Apr 14 10:29:57 2000
|
||||
@@ -4,7 +4,7 @@
|
||||
newsnd.c ini.c input.c monster.c bags.c alpha.c vgagrafx.c \
|
||||
title_gz.c
|
||||
|
||||
-CFLAGS= -g -O -Wall -pedantic -DFREEBSD
|
||||
+CFLAGS+= -DFREEBSD
|
||||
|
||||
LDADD+= -lz
|
||||
|
1
games/digger-vgl/pkg-comment
Normal file
1
games/digger-vgl/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
FreeBSD graphics console (VGL) version of the famous Digger game
|
16
games/digger-vgl/pkg-descr
Normal file
16
games/digger-vgl/pkg-descr
Normal file
@ -0,0 +1,16 @@
|
||||
FreeBSD graphics console (VGL) version of the famous Digger game.
|
||||
|
||||
HISTORY
|
||||
-------
|
||||
Digger was originally created by Windmill software in 1983 and released as
|
||||
a copy-protected, bootable 5.25" floppy disk for the IBM PC/XT. As it
|
||||
requires a genuine CGA card, it didn't work on modern PCs. In 1998 a new
|
||||
version was created by Andrew Jenner which runs on all PCs with CGA or
|
||||
better and, whilst retaining all the atmosphere and playability of the
|
||||
original, has many new features.
|
||||
|
||||
In 2000 it was ported to several Unix-like architectures by Maxim Sobolev.
|
||||
Currently it supports FreeBSD, using either VGL or SDL library, and Linux using
|
||||
SDL library.
|
||||
|
||||
WWW: http://www.digger.org/
|
3
games/digger-vgl/pkg-plist
Normal file
3
games/digger-vgl/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
||||
bin/digger
|
||||
share/doc/digger/digger.txt
|
||||
@dirrm share/doc/digger
|
Loading…
Reference in New Issue
Block a user