diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2013-05-31 14:40:56 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2013-05-31 14:40:56 +0000 |
commit | 8199e9dc487a0e6b99c306fa637033bf11374c41 (patch) | |
tree | fd7ac6263851705bfeae2fb7d9dce6af494453c8 /games/bloodfrontier/Makefile | |
parent | fe6302c7633911c7e779bee40e0b1c093ff8260a (diff) | |
download | ports-8199e9dc487a0e6b99c306fa637033bf11374c41.tar.gz ports-8199e9dc487a0e6b99c306fa637033bf11374c41.zip |
Notes
Diffstat (limited to 'games/bloodfrontier/Makefile')
-rw-r--r-- | games/bloodfrontier/Makefile | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/games/bloodfrontier/Makefile b/games/bloodfrontier/Makefile index d877ae11c301..9d6152c63466 100644 --- a/games/bloodfrontier/Makefile +++ b/games/bloodfrontier/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: sauerbraten -# Date created: 2006-02-01 -# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> -# +# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> # $FreeBSD$ -# PORTNAME= bloodfrontier DISTVERSION= B2 @@ -27,9 +23,14 @@ MAKE_JOBS_SAFE= yes SUB_FILES= bfclient bfserver -OPTIONS= CLIENT "Build client" on \ - DEDICATED "Build dedicated server" on \ - OPTIMIZED_CFLAGS "Enabled additional optimizations" on +OPTIONS_DEFINE= OPTIMIZED_CFLAGS +OPTIONS_MULTI= FLAVOR +OPTIONS_MULTI_FLAVOR= CLIENT DEDICATED +CLIENT_DESC= Build client +DEDICATED_DESC= Build dedicated server +FLAVOR_DESC= Executable Selections + +OPTIONS_DEFAULT= CLIENT DEDICATED OPTIMIZED_CFLAGS .include <bsd.port.options.mk> @@ -37,23 +38,19 @@ OPTIONS= CLIENT "Build client" on \ BROKEN= Does not compile on ia64, powerpc, or sparc64 .endif -.if defined(WITHOUT_CLIENT) && defined(WITHOUT_DEDICATED) -IGNORE= needs at least one executable (CLIENT or DEDICATED) -.endif - -.if !defined(WITHOUT_CLIENT) +.if ${PORT_OPTIONS:MCLIENT} USE_GL= yes USE_SDL= image mixer sdl PLIST_FILES+= bin/bfclient libexec/bfclient BINARIES+= client .endif -.if !defined(WITHOUT_DEDICATED) +.if ${PORT_OPTIONS:MDEDICATED} PLIST_FILES+= bin/bfserver libexec/bfserver BINARIES+= server .endif -.if defined(WITH_OPTIMIZED_CFLAGS) +.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} CFLAGS+= -O3 -fomit-frame-pointer CXXFLAGS+= -O3 -fomit-frame-pointer .endif |