Date: Fri, 26 Apr 2013 17:29:05 +0000 (UTC) From: Marcus von Appen <mva@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r316627 - in head/games: linux-coldwar-demo linux-darwinia-demo linux-gorky17-demo Message-ID: <201304261729.r3QHT5hO074258@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mva Date: Fri Apr 26 17:29:05 2013 New Revision: 316627 URL: http://svnweb.freebsd.org/changeset/ports/316627 Log: - Trim Makefile headers - Convert to new options framework - Pet portlint Modified: head/games/linux-coldwar-demo/Makefile (contents, props changed) head/games/linux-coldwar-demo/pkg-descr (contents, props changed) head/games/linux-darwinia-demo/Makefile (contents, props changed) head/games/linux-gorky17-demo/Makefile (contents, props changed) head/games/linux-gorky17-demo/pkg-descr (contents, props changed) Modified: head/games/linux-coldwar-demo/Makefile ============================================================================== --- head/games/linux-coldwar-demo/Makefile Fri Apr 26 16:46:35 2013 (r316626) +++ head/games/linux-coldwar-demo/Makefile Fri Apr 26 17:29:05 2013 (r316627) @@ -1,9 +1,4 @@ -# New ports collection makefile for: linux-coldwar-demo -# Date created: 2009-01-31 -# Whom: Marcus von Appen <mva@sysfault.org> -# # $FreeBSD$ -# PORTNAME= coldwar-demo PORTVERSION= 1.1 @@ -26,11 +21,12 @@ DATADIR= ${PREFIX}/lib/${PKGNAMEPREFIX}$ SUB_FILES= coldwar PORTDOCS= README README.licenses EULA -OPTIONS= NVIDIA "Install support for nvidia" off +OPTIONS_DEFINE= NVIDIA DOCS +NVIDIA_DESC= Enable nvidia graphics driver support -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_NVIDIA) +.if ${PORT_OPTIONS:MNVIDIA} RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver USE_LINUX_APPS+=libglu .else @@ -61,9 +57,9 @@ do-install: @${CP} -R ${WRKSRC}/data/config ${DATADIR}/ @${CP} -R ${WRKSRC}/data/data ${DATADIR}/ @${INSTALL_PROGRAM} ${WRKDIR}/coldwar ${PREFIX}/bin/${PKGNAMEPREFIX}coldwar -.if !defined (NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${INSTALL} -d ${DOCSDIR} @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/games/linux-coldwar-demo/pkg-descr ============================================================================== --- head/games/linux-coldwar-demo/pkg-descr Fri Apr 26 16:46:35 2013 (r316626) +++ head/games/linux-coldwar-demo/pkg-descr Fri Apr 26 17:29:05 2013 (r316627) @@ -4,4 +4,4 @@ international conspiracy. Just after arr the KGB political prison. Try to evade the Soviet forces and defeat the conspiracy. -WWW: http://www.linuxgamepublishing.com/info.php?id=24 +WWW: http://www.linuxgamepublishing.com/info.php?id=24 Modified: head/games/linux-darwinia-demo/Makefile ============================================================================== --- head/games/linux-darwinia-demo/Makefile Fri Apr 26 16:46:35 2013 (r316626) +++ head/games/linux-darwinia-demo/Makefile Fri Apr 26 17:29:05 2013 (r316627) @@ -1,9 +1,4 @@ -# New ports collection makefile for: linux-darwinia -# Date created: 24 May 2007 -# Whom: Marcus von Appen <mva@sysfault.org> -# # $FreeBSD$ -# PORTNAME= darwinia-demo PORTVERSION= 1.3.0 @@ -26,11 +21,12 @@ NO_WRKSUBDIR= yes DATADIR= ${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME} SUB_FILES= darwinia -OPTIONS= NVIDIA "Install support for nvidia" off +OPTIONS_DEFINE= NVIDIA DOCS +NVIDIA_DESC= Enable nvidia graphics driver support -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_NVIDIA) +.if ${PORT_OPTIONS:MNVIDIA} RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver USE_LINUX_APPS+=libglu .else @@ -51,7 +47,7 @@ do-install: ${INSTALL_PROGRAM} darwinia.bin.x86 ${DATADIR} && \ ${INSTALL_DATA} *.dat open-www.sh ${DATADIR} ${INSTALL_PROGRAM} ${WRKDIR}/darwinia ${PREFIX}/bin/${PKGNAMEPREFIX}darwinia -.if !defined (NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}/LICENSE ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README @@ -60,4 +56,4 @@ do-install: post-install: @${CAT} ${PKGMESSAGE} -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/games/linux-gorky17-demo/Makefile ============================================================================== --- head/games/linux-gorky17-demo/Makefile Fri Apr 26 16:46:35 2013 (r316626) +++ head/games/linux-gorky17-demo/Makefile Fri Apr 26 17:29:05 2013 (r316627) @@ -1,9 +1,4 @@ -# New ports collection makefile for: linux-gorky17-demo -# Date created: 2009-02-01 -# Whom: Marcus von Appen <mva@sysfault.org> -# # $FreeBSD$ -# PORTNAME= gorky17-demo PORTVERSION= 1.0.1 @@ -27,11 +22,12 @@ SUB_FILES= gorky17 PORTDOCS= README README.licenses EULA DATFILES= adjust.dat demo1.jpg demo2.jpg demo3.jpg -OPTIONS= NVIDIA "Install support for nvidia" off +OPTIONS_DEFINE= NVIDIA DOCS +NVIDIA_DESC= Enable nvidia graphics driver support -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_NVIDIA) +.if ${PORT_OPTIONS:MNVIDIA} RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver USE_LINUX_APPS+=libglu .else @@ -58,9 +54,9 @@ do-install: @${INSTALL_DATA} ${WRKSRC}/data/${file} ${DATADIR}/${file} .endfor @${INSTALL_PROGRAM} ${WRKDIR}/gorky17 ${PREFIX}/bin/${PKGNAMEPREFIX}gorky17 -.if !defined (NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${INSTALL} -d ${DOCSDIR} @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/games/linux-gorky17-demo/pkg-descr ============================================================================== --- head/games/linux-gorky17-demo/pkg-descr Fri Apr 26 16:46:35 2013 (r316626) +++ head/games/linux-gorky17-demo/pkg-descr Fri Apr 26 17:29:05 2013 (r316627) @@ -3,4 +3,4 @@ You command a small force of NATO soldie behind the missing of an earlier team in the small city of Lubin. Once arrived you find the team dead and yoursell surrounded by monsters. -WWW: http://www.linuxgamepublishing.com/info.php?id=20 +WWW: http://www.linuxgamepublishing.com/info.php?id=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304261729.r3QHT5hO074258>