diff options
author | daichi <daichi@FreeBSD.org> | 2003-08-05 14:00:06 +0800 |
---|---|---|
committer | daichi <daichi@FreeBSD.org> | 2003-08-05 14:00:06 +0800 |
commit | 8594bbc504d5ed812ae01382d1365a78af868fc2 (patch) | |
tree | b2aa0d40e56e7cf3568303fa4824efe9dafaf857 /games/digger-vgl/Makefile | |
parent | 783a43afcf57fe064ab104b94ba2c920b3e63576 (diff) | |
download | freebsd-ports-gnome-8594bbc504d5ed812ae01382d1365a78af868fc2.tar.gz freebsd-ports-gnome-8594bbc504d5ed812ae01382d1365a78af868fc2.tar.zst freebsd-ports-gnome-8594bbc504d5ed812ae01382d1365a78af868fc2.zip |
update games/digger-vgl: 1.0 -> 20020314
PR: 55243
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'games/digger-vgl/Makefile')
-rw-r--r-- | games/digger-vgl/Makefile | 33 |
1 files changed, 13 insertions, 20 deletions
diff --git a/games/digger-vgl/Makefile b/games/digger-vgl/Makefile index d8867f6ad987..5c88f02a8abb 100644 --- a/games/digger-vgl/Makefile +++ b/games/digger-vgl/Makefile @@ -6,45 +6,38 @@ # PORTNAME= digger -PORTVERSION= 1.0 -PORTREVISION= 1 +PORTVERSION= 20020314 CATEGORIES= games MASTER_SITES= http://www.digger.org/ -DISTNAME= ${PORTNAME}-${DIGREL} +DISTNAME= ${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= FreeBSD graphics console (VGL) version of the famous Digger game -.if defined(WITH_SOUND) -SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config -LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 -MAKE_ENV= SOUND=yes \ - SDL_CONFIG=${SDL_CONFIG} -.endif - ONLY_FOR_ARCHS= i386 # Alphas don't have libvgl yet... -DIGREL= 20000407 -WRKSRC= ${WRKDIR}/${PORTNAME}-${DIGREL} MAKEFILE= Makefile.fbsd +.if defined(WITH_SOUND) +USE_SDL= yes +MAKE_ENV= SOUND=yes +.endif + +pre-everything:: .if !defined(WITH_SOUND) -post-extract: - @${ECHO_MSG} + @${ECHO_MSG} "" @${ECHO_MSG} "Please use \"make -DWITH_SOUND\" if you want to build the game with sound support." - @${ECHO_MSG} + @${ECHO_MSG} "" .endif do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/digger ${PREFIX}/bin + ${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 + @${MKDIR} ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/digger.txt ${DOCSDIR} .endif - .if defined(WITH_SOUND) -post-install: @${ECHO_MSG} @${ECHO_MSG} "Use \"digger /A\" command to run Digger with sound enabled." @${ECHO_MSG} |