aboutsummaryrefslogtreecommitdiffstats
path: root/games/d2x-xl
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-05-31 22:40:56 +0800
committerjgh <jgh@FreeBSD.org>2013-05-31 22:40:56 +0800
commit5dd3688354ed6e74ed2c8c9e6a5d41dde98c70b6 (patch)
treefd7ac6263851705bfeae2fb7d9dce6af494453c8 /games/d2x-xl
parentf865d279ae89cb92e74059f7301e136a9da802d8 (diff)
downloadfreebsd-ports-gnome-5dd3688354ed6e74ed2c8c9e6a5d41dde98c70b6.tar.gz
freebsd-ports-gnome-5dd3688354ed6e74ed2c8c9e6a5d41dde98c70b6.tar.zst
freebsd-ports-gnome-5dd3688354ed6e74ed2c8c9e6a5d41dde98c70b6.zip
- adopt optionsNG for games
- trim historical headers and trim comments - some Makefile cleanup Approved by: portmgr (bapt)
Diffstat (limited to 'games/d2x-xl')
-rw-r--r--games/d2x-xl/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/games/d2x-xl/Makefile b/games/d2x-xl/Makefile
index b1897f463d5d..6fddcaab2841 100644
--- a/games/d2x-xl/Makefile
+++ b/games/d2x-xl/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: d2x-xl
-# Date created: 25 Feb 2009
-# Whom: Aragon Gouveia
-#
+# Created by: Aragon Gouveia
# $FreeBSD$
-#
PORTNAME= d2x-xl
PORTVERSION= 1.14.121
@@ -38,15 +34,16 @@ USE_DOS2UNIX= missing depcomp
SUB_FILES= pkg-message
-OPTIONS= OPENGL "Use OpenGL for 3D graphics" on
+OPTIONS_DEFINE= OPENGL
+OPTIONS_DEFAULT= OPENGL
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64
.endif
-.if !defined(WITHOUT_OPENGL)
+.if ${PORT_OPTIONS:MOPENGL}
USE_GL= gl glu
CONFIGURE_ARGS+=--with-opengl
CPPFLAGS+= -I${LOCALBASE}/include
@@ -74,4 +71,4 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/d2x-xl ${PREFIX}/bin/d2x-xl
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>