svn commit: r302766 - head/games/moagg

Jason Helfman jgh at FreeBSD.org
Sun Aug 19 21:41:26 UTC 2012


On Sun, Aug 19, 2012 at 10:07 AM, Guido Falsi <madpilot at 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 at 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 at FreeBSD.org     | http://people.freebsd.org/~jgh



More information about the svn-ports-head mailing list