summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2013-03-06 17:46:27 +0000
committerNicola Vitale <nivit@FreeBSD.org>2013-03-06 17:46:27 +0000
commitf0766b14e2fadb85ba0328e5b78ad5784596370a (patch)
tree957c655e7de172c2247c966381cc3615a591e7b0 /x11
parentAdios, setuptools. (diff)
- Disable check whether GTK3 is supported
- Disable color output of cmake - Remove DOCS and NLS from OPTIONS_DEFAULT
Notes
Notes: svn path=/head/; revision=313534
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome-pie/Makefile6
-rw-r--r--x11/gnome-pie/files/patch-CMakeLists.txt30
2 files changed, 19 insertions, 17 deletions
diff --git a/x11/gnome-pie/Makefile b/x11/gnome-pie/Makefile
index 9af6dee7e1c4..5fde88352cb1 100644
--- a/x11/gnome-pie/Makefile
+++ b/x11/gnome-pie/Makefile
@@ -21,14 +21,16 @@ LIB_DEPENDS= Xtst:${PORTSDIR}/x11/libXtst \
gee:${PORTSDIR}/devel/libgee \
unique:${PORTSDIR}/x11-toolkits/unique
+CMAKE_ARGS= -DCMAKE_COLOR_MAKEFILE:BOOL="OFF"
+
INSTALLS_ICONS= yes
OPTIONS_DEFINE= DOCS MANPAGES NLS
-OPTIONS_DEFAULT= DOCS MANPAGES NLS
+OPTIONS_DEFAULT= MANPAGES
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
-CMAKE_ARGS= -DINSTALL_DOCS:BOOL=ON
+CMAKE_ARGS+= -DINSTALL_DOCS:BOOL=ON
.endif
.if ${PORT_OPTIONS:MMANPAGES}
diff --git a/x11/gnome-pie/files/patch-CMakeLists.txt b/x11/gnome-pie/files/patch-CMakeLists.txt
index 107842398159..379bb596d833 100644
--- a/x11/gnome-pie/files/patch-CMakeLists.txt
+++ b/x11/gnome-pie/files/patch-CMakeLists.txt
@@ -1,30 +1,30 @@
---- ./CMakeLists.txt.orig 2013-01-23 23:33:16.000000000 +0100
-+++ ./CMakeLists.txt 2013-01-24 21:41:21.000000000 +0100
-@@ -32,13 +32,11 @@
+--- ./CMakeLists.txt.orig 2013-03-06 18:35:57.000000000 +0100
++++ ./CMakeLists.txt 2013-03-06 18:36:57.000000000 +0100
+@@ -26,7 +26,9 @@
+ find_package(PkgConfig)
+
+ # check whether GTK3 is supported
++if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
+ pkg_check_modules(GTK3 gtk+-3.0)
++endif (NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
+
+ if (${GTK3_FOUND})
pkg_check_modules(INDICATOR3 appindicator3-0.1)
- pkg_check_modules(UNIQUE REQUIRED unique-3.0)
- pkg_check_modules(WNCK REQUIRED libwnck-3.0)
-- pkg_check_modules(BAMF REQUIRED libbamf3)
- else (${GTK3_FOUND})
- pkg_check_modules(GTK2 REQUIRED gtk+-2.0)
+@@ -38,7 +40,7 @@
pkg_check_modules(INDICATOR appindicator-0.1)
pkg_check_modules(UNIQUE REQUIRED unique-1.0)
pkg_check_modules(WNCK REQUIRED libwnck-1.0)
- pkg_check_modules(BAMF REQUIRED libbamf)
++# pkg_check_modules(BAMF REQUIRED libbamf)
endif (${GTK3_FOUND})
pkg_check_modules(GIO REQUIRED gio-unix-2.0)
-@@ -180,13 +178,11 @@
- if (${GTK3_FOUND})
- LIST(APPEND VALA_PKGS gtk+-3.0)
- LIST(APPEND VALA_PKGS gdk-x11-3.0)
-- LIST(APPEND VALA_PKGS libbamf3)
- LIST(APPEND VALA_PKGS libwnck-3.0)
- LIST(APPEND VALA_PKGS unique-3.0)
+@@ -186,7 +188,7 @@
else (${GTK3_FOUND})
LIST(APPEND VALA_PKGS gtk+-2.0)
LIST(APPEND VALA_PKGS gdk-x11-2.0)
- LIST(APPEND VALA_PKGS bamf)
++# LIST(APPEND VALA_PKGS bamf)
LIST(APPEND VALA_PKGS libwnck-1.0)
LIST(APPEND VALA_PKGS unique-1.0)
endif (${GTK3_FOUND})