diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2013-05-31 14:40:56 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2013-05-31 14:40:56 +0000 |
commit | 8199e9dc487a0e6b99c306fa637033bf11374c41 (patch) | |
tree | fd7ac6263851705bfeae2fb7d9dce6af494453c8 /games/d2x-xl | |
parent | fe6302c7633911c7e779bee40e0b1c093ff8260a (diff) | |
download | ports-8199e9dc487a0e6b99c306fa637033bf11374c41.tar.gz ports-8199e9dc487a0e6b99c306fa637033bf11374c41.zip |
Notes
Diffstat (limited to 'games/d2x-xl')
-rw-r--r-- | games/d2x-xl/Makefile | 15 |
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> |