Bug 171300 - games/linux-enemyterritory-jaymod: convert to OptionsNG
Summary: games/linux-enemyterritory-jaymod: convert to OptionsNG
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Florian Smeets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-04 00:20 UTC by Barbara
Modified: 2012-09-04 23:39 UTC (History)
0 users

See Also:


Attachments
file.diff (856 bytes, patch)
2012-09-04 00:20 UTC, Barbara
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Barbara 2012-09-04 00:20:06 UTC
Convert jaymod port to OptionsNG

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-09-04 00:20:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->flo

flo@ wants his PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-09-04 22:55:00 UTC
Author: flo
Date: Tue Sep  4 21:54:41 2012
New Revision: 303675
URL: http://svn.freebsd.org/changeset/ports/303675

Log:
  convert to OptionsNG
  
  PR:		ports/171300
  Submitted by:	Barbara <barbara.xxx1975@libero.it>

Modified:
  head/games/linux-enemyterritory-jaymod/Makefile   (contents, props changed)

Modified: head/games/linux-enemyterritory-jaymod/Makefile
==============================================================================
--- head/games/linux-enemyterritory-jaymod/Makefile	Tue Sep  4 21:17:06 2012	(r303674)
+++ head/games/linux-enemyterritory-jaymod/Makefile	Tue Sep  4 21:54:41 2012	(r303675)
@@ -19,7 +19,8 @@ RUN_DEPENDS=	et:${PORTSDIR}/games/linux-
 
 USE_LINUX=	yes
 
-OPTIONS=	OMNIBOT "Install Omni-Bot for bot support" off
+OPTIONS_DEFINE=	OMNIBOT
+OMNIBOT_DESC=	Install Omni-Bot for bot support
 
 DATADIR=	${PREFIX}/lib/enemyterritory/${PORTNAME}
 DOCSDIR=	${PREFIX}/share/doc/enemyterritory-${PORTNAME}
@@ -27,9 +28,9 @@ DOCSDIR=	${PREFIX}/share/doc/enemyterrit
 CLIENT_PK3=	${PORTNAME}-${PORTVERSION}.pk3
 PLIST_SUB=	CLIENT_PK3="${CLIENT_PK3}"
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if defined(WITH_OMNIBOT)
+.if ${PORT_OPTIONS:MOMNIBOT}
 RUN_DEPENDS+=	et-omni-bot:${PORTSDIR}/games/linux-enemyterritory-omni-bot
 .endif
 
@@ -64,4 +65,4 @@ post-install:
 		${CP} -p ${DATADIR}/server.cfg.sample ${DATADIR}/server.cfg ; \
 	fi
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
_______________________________________________
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"
Comment 3 Florian Smeets freebsd_committer freebsd_triage 2012-09-04 23:39:46 UTC
State Changed
From-To: open->closed

Committed. Thanks!