summaryrefslogtreecommitdiffstats
path: root/graphics/evas/Makefile
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2006-07-06 15:48:49 +0000
committervanilla <vanilla@FreeBSD.org>2006-07-06 15:48:49 +0000
commit03add8ae48ce4f1a76d3130d0c90f69625024bc6 (patch)
tree08c5c28faad432373907eebcb0a900d11732104d /graphics/evas/Makefile
parentb5d15ad56df0bbd9863dceed11421bd9275e4b6e (diff)
downloadFreeBSD-ports-03add8ae48ce4f1a76d3130d0c90f69625024bc6.zip
FreeBSD-ports-03add8ae48ce4f1a76d3130d0c90f69625024bc6.tar.gz
Add gl support.
Submitted by: Volodymyr Kostyrko <arcade at synergetica.dn.ua>
Diffstat (limited to 'graphics/evas/Makefile')
-rw-r--r--graphics/evas/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/graphics/evas/Makefile b/graphics/evas/Makefile
index ecca50e..6cf7237 100644
--- a/graphics/evas/Makefile
+++ b/graphics/evas/Makefile
@@ -7,7 +7,7 @@
PORTNAME= evas
PORTVERSION= 0.9.9.029
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://enlightenment.freedesktop.org/files/
@@ -26,4 +26,16 @@ USE_GNOME= gnomehack pkgconfig gnometarget
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
-.include <bsd.port.mk>
+OPTIONS= GL "Enable GL support" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_GL)
+CONFIGURE_ARGS+= --enable-gl-x11
+PLIST_SUB+= WITH_GL=""
+USE_GL= yes
+.else
+PLIST_SUB+= WITH_GL="@comment "
+.endif
+
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud