aboutsummaryrefslogtreecommitdiffstats
path: root/games/digger-vgl/Makefile
blob: b9d616fb3dae33170981c0e748b542f9bef137e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$

PORTNAME=   digger
PORTVERSION=    20020314
PORTREVISION=   3
CATEGORIES= games
MASTER_SITES=   http://www.digger.org/

MAINTAINER= ports@FreeBSD.org
COMMENT=    FreeBSD graphics console (VGL) version of the famous Digger game

ONLY_FOR_ARCHS= amd64 i386

MAKEFILE=   Makefile.fbsd

OPTIONS_DEFINE= SOUND DOCS

SOUND_USE=  SDL=sdl
SOUND_MAKE_ENV= SOUND=yes
SOUND_VARS= PKGMESSAGE=${PKGDIR}/pkg-message.sound

post-patch:
    @${REINPLACE_CMD} -e 's|Software|Software\\n\\|g' ${WRKSRC}/alpha.c

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/digger ${STAGEDIR}${PREFIX}/bin
    @${MKDIR} ${STAGEDIR}/var/games/digger

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/digger.txt ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>