6abf94abba
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
48 lines
1.0 KiB
Makefile
48 lines
1.0 KiB
Makefile
# 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>
|