1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/games/digger-vgl/Makefile
Stanislav Sedov 0d2725682b - Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration
   binary)
 - Update graphics/sdl_ttf to version 2.0.8
 - Update graphics/sdl_image to version 1.2.5
 - Update audio/sdl_mixer to version 1.2.7
 - Update net/sdl_net to version 1.2.6
 - Update Mk/bsd.sdl.mk accordingly
 - Fix dependent ports to fit the new directory structure and avoid several
   API breakages
 - Bump up portrevisions for all dependent ports to allow them to be upgraded
   by portupgrade/portmaster etc tools

Approved by:    kris (portmgr), sem (mentor)
2006-09-20 11:21:59 +00:00

51 lines
1.1 KiB
Makefile

# New ports collection makefile for: Digger
# Date created: 14 April 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= digger
PORTVERSION= 20020314
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.digger.org/
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= FreeBSD graphics console (VGL) version of the famous Digger game
ONLY_FOR_ARCHS= i386 # Alphas don't have libvgl yet...
MAKEFILE= Makefile.fbsd
.if defined(WITH_SOUND)
USE_SDL= yes
MAKE_ENV= SOUND=yes
.endif
pre-everything::
.if !defined(WITH_SOUND)
@${ECHO_MSG} ""
@${ECHO_MSG} "Please use \"make -DWITH_SOUND\" if you want to build the game with sound support."
@${ECHO_MSG} ""
.endif
post-patch:
@${REINPLACE_CMD} -e 's|Software|Software\\n\\|g' ${WRKSRC}/alpha.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/digger ${PREFIX}/bin
@${MKDIR} /var/games/digger
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/digger.txt ${DOCSDIR}
.endif
.if defined(WITH_SOUND)
@${ECHO_MSG}
@${ECHO_MSG} "Use \"digger /A\" command to run Digger with sound enabled."
@${ECHO_MSG}
.endif
.include <bsd.port.mk>