Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Aug 2012 14:41:24 -0700
From:      Jason Helfman <jgh@FreeBSD.org>
To:        Guido Falsi <madpilot@freebsd.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r302766 - head/games/moagg
Message-ID:  <CAMuy=%2BgBBKdSEk1m512r2XYuWJJ49%2BgS85=QPebW=4XDMjMnhw@mail.gmail.com>
In-Reply-To: <201208191707.q7JH7tZ8011378@svn.freebsd.org>
References:  <201208191707.q7JH7tZ8011378@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 19, 2012 at 10:07 AM, Guido Falsi <madpilot@freebsd.org> wrote:

> Author: madpilot
> Date: Sun Aug 19 17:07:55 2012
> New Revision: 302766
> URL: http://svn.freebsd.org/changeset/ports/302766
>
> Log:
>   - Remove own OPTION "DATA"
>   - Honour NOPORTDATA instead of own option
>
>   PR:           ports/170736
> http://www.FreeBSD.org/cgi/query-pr.cgi?pr=170736
>   Submitted by: nemysis <nemysis@gmx.ch> (maintainer)
>   Approved by:  crees, tabthorpe (mentors, implicit)
>
> Modified:
>   head/games/moagg/Makefile
>
> Modified: head/games/moagg/Makefile
>
> ==============================================================================
> --- head/games/moagg/Makefile   Sun Aug 19 17:02:42 2012        (r302765)
> +++ head/games/moagg/Makefile   Sun Aug 19 17:07:55 2012        (r302766)
> @@ -20,9 +20,6 @@ COMMENT=      Pilot a small space ship
>
>  LICENSE=       GPLv2
>
> -OPTIONS_DEFINE=        DATA
> -OPTIONS_DEFAULT=       DATA
> -
>  USE_ZIP=       yes
>  USE_JAVA=      yes
>  JAVA_VERSION=  1.5+
> @@ -47,7 +44,7 @@ do-install:
>         ${INSTALL_SCRIPT} ${WRKSRC}/run.sh.new ${PREFIX}/bin/${PORTNAME}
>
>  # Data
> -.if ${PORT_OPTIONS:MDATA}
> +.if !defined (NOPORTDATA)
>         ${MKDIR} ${DATADIR}
>         @(cd ${WRKSRC} && ${COPYTREE_SHARE} "data ghosts jar" ${DATADIR})
>  .  for d in hiscores.dat log4j.properties
>
>
If it always requires DATA, per pr, why is there a check? Shouldn't DATA be
installed without a check, and
not honor NOPORTDATA?

-jgh
--
Jason Helfman          | FreeBSD Committer
jgh@FreeBSD.org     | http://people.freebsd.org/~jgh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMuy=%2BgBBKdSEk1m512r2XYuWJJ49%2BgS85=QPebW=4XDMjMnhw>