Date: Mon, 28 Jan 2013 23:42:30 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311139 - head/games/magicor Message-ID: <201301282342.r0SNgUup065895@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Mon Jan 28 23:42:30 2013 New Revision: 311139 URL: http://svnweb.freebsd.org/changeset/ports/311139 Log: - Trim header - OptionsNG Modified: head/games/magicor/Makefile Modified: head/games/magicor/Makefile ============================================================================== --- head/games/magicor/Makefile Mon Jan 28 23:38:32 2013 (r311138) +++ head/games/magicor/Makefile Mon Jan 28 23:42:30 2013 (r311139) @@ -1,9 +1,5 @@ -# New ports collection makefile for: magicor -# Date created: 09 Jul 2008 -# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org> -# +# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org> # $FreeBSD$ -# PORTNAME= magicor PORTVERSION= 1.1 @@ -35,11 +31,13 @@ DESKTOP_ENTRIES="Magicor" \ "Game;LogicGame;" \ false -OPTIONS= EDITOR "Enable editor" on +OPTIONS_DEFINE= EDITOR DOCS +OPTIONS_DEFAULT=EDITOR +EDITOR_DESC= Enable editor -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITHOUT_EDITOR) +.if ${PORT_OPTIONS:MEDITOR} RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2 PLIST_SUB+= EDITOR="" .else @@ -69,7 +67,7 @@ do-install: ${INSTALL_DATA} ${PREFIX}/etc/magicor/magicor.conf.dist \ ${PREFIX}/etc/magicor/magicor.conf; \ fi -.if !defined(WITHOUT_EDITOR) +.if ${PORT_OPTIONS:MEDITOR} ${INSTALL_SCRIPT} ${WRKSRC}/Magicor-LevelEditor.py ${PREFIX}/bin/magicor-editor ${INSTALL_DATA} ${WRKSRC}/etc/magicor-editor.conf \ ${PREFIX}/etc/magicor/magicor-editor.conf.dist @@ -79,9 +77,9 @@ do-install: fi .endif -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301282342.r0SNgUup065895>