From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Feb 12 20:40:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A694CC50 for ; Tue, 12 Feb 2013 20:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 89E31FAE; Tue, 12 Feb 2013 20:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r1CKe0Kq062777; Tue, 12 Feb 2013 20:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r1CKe0AP062775; Tue, 12 Feb 2013 20:40:00 GMT (envelope-from gnats) Resent-Date: Tue, 12 Feb 2013 20:40:00 GMT Resent-Message-Id: <201302122040.r1CKe0AP062775@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Cc: Lars Engels Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Christoph Mallon Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9C1DDC16 for ; Tue, 12 Feb 2013 20:37:42 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by mx1.freebsd.org (Postfix) with ESMTP id ADA80F91 for ; Tue, 12 Feb 2013 20:37:41 +0000 (UTC) Received: from mailout-de.gmx.net ([10.1.76.2]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0MGDg9-1UAZwR27k7-00FEjJ for ; Tue, 12 Feb 2013 21:37:40 +0100 Received: (qmail invoked by alias); 12 Feb 2013 20:37:40 -0000 Received: from p5B13243E.dip.t-dialin.net (EHLO rotluchs.lokal) [91.19.36.62] by mail.gmx.net (mp002) with SMTP; 12 Feb 2013 21:37:40 +0100 Received: from tron by rotluchs.lokal with local (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1U5Mbj-0007oF-0S for FreeBSD-gnats-submit@freebsd.org; Tue, 12 Feb 2013 21:37:39 +0100 Message-Id: Date: Tue, 12 Feb 2013 21:37:39 +0100 From: Christoph Mallon To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 X-GNATS-Notify: Lars Engels Subject: ports/176081: [PATCH] games/jaggedalliance2: Update Makefile X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Christoph Mallon List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2013 20:40:00 -0000 >Number: 176081 >Category: ports >Synopsis: [PATCH] games/jaggedalliance2: Update Makefile >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Feb 12 20:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Christoph Mallon >Release: >Organization: >Environment: >Description: - Trim header - OptionsNG >How-To-Repeat: >Fix: Please apply this patch. --- 0001-games-jaggedalliance2-Update-Makefile.patch begins here --- >From 3a8841cc3d9817ae5149d38c3dcb7e39299f8424 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Tue, 12 Feb 2013 20:53:13 +0100 Subject: [PATCH] games/jaggedalliance2: Update Makefile - Trim header - OptionsNG --- games/jaggedalliance2/Makefile | 57 ++++++++++++++++-------------------------- 1 file changed, 21 insertions(+), 36 deletions(-) diff --git a/games/jaggedalliance2/Makefile b/games/jaggedalliance2/Makefile index 566e7a8..d756ee0 100644 --- a/games/jaggedalliance2/Makefile +++ b/games/jaggedalliance2/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: Jagged Alliance 2 -# Date created: 16 Nov 2006 -# Whom: Christoph Mallon -# +# Created by: Christoph Mallon # $FreeBSD$ -# PORTNAME= ja2 PORTVERSION= 0.12.1 @@ -30,36 +26,25 @@ NO_PACKAGE= Language of the datafiles must be hardcoded in the game binary WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} SUB_FILES= pkg-message -OPTIONS= DUTCH "Compile for Dutch version (choose ONE)" Off \ - ENGLISH "Compile for English version (choose ONE)" Off \ - FRENCH "Compile for French version (choose ONE)" Off \ - GERMAN "Compile for German version (choose ONE)" Off \ - ITALIAN "Compile for Italian version (choose ONE)" Off \ - POLISH "Compile for Polish version (choose ONE)" Off \ - RUSSIAN "Compile for Russian version (choose ONE)" Off \ - RUSSIAN_GOLD "Compile for Russian Gold version (choose ONE)" Off - -.include - -.ifdef WITH_ENGLISH -MAKE_ARGS+= LNG=ENGLISH -.elifdef WITH_DUTCH -MAKE_ARGS+= LNG=DUTCH -.elifdef WITH_FRENCH -MAKE_ARGS+= LNG=FRENCH -.elifdef WITH_GERMAN -MAKE_ARGS+= LNG=GERMAN -.elifdef WITH_ITALIAN -MAKE_ARGS+= LNG=ITALIAN -.elifdef WITH_POLISH -MAKE_ARGS+= LNG=POLISH -.elifdef WITH_RUSSIAN -MAKE_ARGS+= LNG=RUSSIAN -.elifdef WITH_RUSSIAN_GOLD -MAKE_ARGS+= LNG=RUSSIAN_GOLD -.else -IGNORE= no language has been chosen. Please choose the appropriate language for your game CD -.endif +OPTIONS_SINGLE= LANGUAGE +OPTIONS_SINGLE_LANGUAGE= DUTCH ENGLISH FRENCH GERMAN ITALIAN POLISH RUSSIAN RUSSIAN_GOLD + +DUTCH_DESC= Compile for Dutch version +ENGLISH_DESC= Compile for English version +FRENCH_DESC= Compile for French version +GERMAN_DESC= Compile for German version +ITALIAN_DESC= Compile for Italian version +POLISH_DESC= Compile for Polish version +RUSSIAN_DESC= Compile for Russian version +RUSSIAN_GOLD_DESC= Compile for Russian Gold version + +.include + +.for i in ${OPTIONS_SINGLE_LANGUAGE} +. if ${PORT_OPTIONS:M${i}} +MAKE_ARGS+= LNG=${i} +. endif +.endfor MAKE_ARGS+= NO_DEPS=yes # For a single full build dependency calculation is unnecessary @@ -82,4 +67,4 @@ lowercase: ${MV} -n $$i `${DIRNAME} $$i`/`${BASENAME} $$i | ${TR} '[A-Z]' '[a-z]'`; \ done -.include +.include -- 1.8.1.3 --- 0001-games-jaggedalliance2-Update-Makefile.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: