diff options
author | Marcus von Appen <mva@FreeBSD.org> | 2013-04-26 17:29:05 +0000 |
---|---|---|
committer | Marcus von Appen <mva@FreeBSD.org> | 2013-04-26 17:29:05 +0000 |
commit | 740800e44363fe86cc9c6c424676fda4e326af00 (patch) | |
tree | 2237c75efd91897967253c06558efcb93510ec6f /games/linux-gorky17-demo | |
parent | d289177a526480ba884db77b9b7c1eb8fb9e20df (diff) |
Notes
Diffstat (limited to 'games/linux-gorky17-demo')
-rw-r--r-- | games/linux-gorky17-demo/Makefile | 16 | ||||
-rw-r--r-- | games/linux-gorky17-demo/pkg-descr | 2 |
2 files changed, 7 insertions, 11 deletions
diff --git a/games/linux-gorky17-demo/Makefile b/games/linux-gorky17-demo/Makefile index d2f974814d6c..0589ceaed0ce 100644 --- a/games/linux-gorky17-demo/Makefile +++ b/games/linux-gorky17-demo/Makefile @@ -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> diff --git a/games/linux-gorky17-demo/pkg-descr b/games/linux-gorky17-demo/pkg-descr index 2520d4f8c406..75016a86408a 100644 --- a/games/linux-gorky17-demo/pkg-descr +++ b/games/linux-gorky17-demo/pkg-descr @@ -3,4 +3,4 @@ You command a small force of NATO soldiers trying to solve the mysteries 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 |