aboutsummaryrefslogtreecommitdiff
path: root/games/gltron
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-03-07 16:53:45 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-03-07 16:53:45 +0000
commitb7df0651651ef059fd4db24d7b77113e72ad6c15 (patch)
treee492c56fa7379da1ca224d6c3b1e9a31bdf1f7d9 /games/gltron
parentf391ca611e4a642fc3b0e7df30f4a60b63f60b71 (diff)
downloadports-b7df0651651ef059fd4db24d7b77113e72ad6c15.tar.gz
ports-b7df0651651ef059fd4db24d7b77113e72ad6c15.zip
Notes
Diffstat (limited to 'games/gltron')
-rw-r--r--games/gltron/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/games/gltron/Makefile b/games/gltron/Makefile
index 56f673f5ddf9..66c37c98455d 100644
--- a/games/gltron/Makefile
+++ b/games/gltron/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: gltron
-# Date created: 24 July 1999
-# Whom: Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
# $FreeBSD$
-#
PORTNAME= gltron
PORTVERSION= 0.70
@@ -26,7 +22,8 @@ CONFIGURE_ARGS= --disable-warn
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-OPTIONS= SDL_NET "With network support" off
+OPTIONS_DEFINE= SDL_NET
+SDL_NET_DESC= Network Support
DESKTOP_ENTRIES= "GLtron" \
"3D lightcycle game" \
@@ -37,7 +34,7 @@ DESKTOP_ENTRIES= "GLtron" \
.include <bsd.port.options.mk>
-.if defined(WITH_SDL_NET)
+.if ${PORT_OPTIONS:MSDL_NET}
USE_SDL+= net
CONFIGURE_ARGS+= --enable-network
.endif
@@ -51,7 +48,7 @@ post-patch:
s|-ansi -pedantic||g'
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for file in ChangeLog README
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}