Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Aug 2012 17:07:55 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302766 - head/games/moagg
Message-ID:  <201208191707.q7JH7tZ8011378@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208191707.q7JH7tZ8011378>