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-coldwar-demo | |
parent | d289177a526480ba884db77b9b7c1eb8fb9e20df (diff) | |
download | ports-740800e44363fe86cc9c6c424676fda4e326af00.tar.gz ports-740800e44363fe86cc9c6c424676fda4e326af00.zip |
Notes
Diffstat (limited to 'games/linux-coldwar-demo')
-rw-r--r-- | games/linux-coldwar-demo/Makefile | 16 | ||||
-rw-r--r-- | games/linux-coldwar-demo/pkg-descr | 2 |
2 files changed, 7 insertions, 11 deletions
diff --git a/games/linux-coldwar-demo/Makefile b/games/linux-coldwar-demo/Makefile index 981db86db1f9..9d6f5356d3f1 100644 --- a/games/linux-coldwar-demo/Makefile +++ b/games/linux-coldwar-demo/Makefile @@ -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}${PORTNAME} 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> diff --git a/games/linux-coldwar-demo/pkg-descr b/games/linux-coldwar-demo/pkg-descr index aa9409dfcce1..5ff360c05ec5 100644 --- a/games/linux-coldwar-demo/pkg-descr +++ b/games/linux-coldwar-demo/pkg-descr @@ -4,4 +4,4 @@ international conspiracy. Just after arriving in Moscow you are thrown into 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 |