diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2012-12-05 02:31:03 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2012-12-05 02:31:03 +0000 |
commit | 5231f89b5f5ae55e3933e57ecbd95109374e991b (patch) | |
tree | c4887defa9d388d34c7b2df320c713e3bd89bc6f /games/chromium-bsu | |
parent | ba40681b177ade5af0b2f540c44ac93380e191b2 (diff) | |
download | ports-5231f89b5f5ae55e3933e57ecbd95109374e991b.tar.gz ports-5231f89b5f5ae55e3933e57ecbd95109374e991b.zip |
Notes
Diffstat (limited to 'games/chromium-bsu')
-rw-r--r-- | games/chromium-bsu/Makefile | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/games/chromium-bsu/Makefile b/games/chromium-bsu/Makefile index e45647b593b3..2d6b30febef7 100644 --- a/games/chromium-bsu/Makefile +++ b/games/chromium-bsu/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: chromium -# Date created: 17 Dec, 2003 -# Whom: Eric Anholt <anholt@FreeBSD.org> -# +# Created by: Eric Anholt <anholt@FreeBSD.org> # $FreeBSD$ -# PORTNAME= chromium-bsu PORTVERSION= 0.9.15 @@ -14,9 +10,9 @@ MASTER_SITES= SF/${PORTNAME}/Chromium%20B.S.U.%20source%20code/${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= An arcade-style, top-scrolling space shooter -LIB_DEPENDS= glpng.1:${PORTSDIR}/graphics/glpng \ - ftgl.2:${PORTSDIR}/graphics/ftgl \ - fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig +LIB_DEPENDS= glpng:${PORTSDIR}/graphics/glpng \ + ftgl:${PORTSDIR}/graphics/ftgl \ + fontconfig:${PORTSDIR}/x11-fonts/fontconfig GNU_CONFIGURE= yes USE_GL= gl glu @@ -29,12 +25,13 @@ PORTDOCS= * MAN6= chromium-bsu.6 -OPTIONS= SDL_MIXER "Use SDL_mixer instead of openal for audio" off \ - GLUT "Use GLUT instead of SDL for video" off +OPTIONS_DEFINE= SDL_MIXER GLUT +SDL_MIXER_DESC= Use SDL_mixer instead of OpenAL for audio +GLUT_DESC= Use GLUT instead of SDL for video -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_GLUT) +.if ${PORT_OPTIONS:MGLUT} USE_GL+= glut CONFIGURE_ARGS+=--disable-sdl --disable-sdlimage .else @@ -42,7 +39,7 @@ USE_SDL+= sdl image CONFIGURE_ARGS+=--disable-glut .endif -.if defined(WITH_SDL_MIXER) +.if ${PORT_OPTIONS:MSDL_MIXER} USE_SDL+= mixer CONFIGURE_ARGS+=--disable-openal .else @@ -50,7 +47,7 @@ USE_OPENAL= al alut CONFIGURE_ARGS+=--disable-sdlmixer .endif -.if !defined(WITHOUT_NLS) +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes PLIST_SUB+= NLS="" .else @@ -64,8 +61,8 @@ post-patch: @${REINPLACE_CMD} -e 's|\([A-Z][A-Z_]*[A-Z]\)\+="\(.*\)"$$|\1="$$\1 \2"|; \ s|\([A-Z][A-Z_]*[A-Z]\)\+=\(.*\)$$|\1="$$\1 \2"|' \ ${WRKSRC}/configure -.if defined(NOPORTDOCS) +.if ! ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e '/doc / d' ${WRKSRC}/data/Makefile.in .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |