Bug 170736 - [MAINTAINER] games/moagg: Makefile changed, Port require always DATA
[MAINTAINER] games/moagg: Makefile changed, Port require always DATA
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Guido Falsi
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-18 13:30 UTC by nemysis
Modified: 2012-08-19 18:10 UTC (History)
1 user (show)

See Also:


Attachments
moagg-1.95b.patch (605 bytes, patch)
2012-08-18 13:30 UTC, nemysis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2012-08-18 13:30:09 UTC
Makefile changed:

Deleted why Port require always DATA

-OPTIONS_DEFINE= DATA
-OPTIONS_DEFAULT= DATA

Here works better NOPORTDATA

-.if ${PORT_OPTIONS:MDATA}
+.if !defined (NOPORTDATA)


Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
Comment 1 Guido Falsi freebsd_committer 2012-08-19 15:26:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->madpilot

I'll take it.
Comment 2 Guido Falsi freebsd_committer 2012-08-19 18:08:02 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter freebsd_committer 2012-08-19 18:08:08 UTC
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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"