aboutsummaryrefslogtreecommitdiff
path: root/x11-themes
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-05-27 22:12:09 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-05-27 22:12:09 +0000
commit18dd6954f3060c12b7882f4cb2a1f68dbfc0f102 (patch)
tree51edb00936e1a3da263df313cad16c1fa2858d19 /x11-themes
parenteb37a12fc9841da5f3a397814fbb99436d82a988 (diff)
downloadports-18dd6954f3060c12b7882f4cb2a1f68dbfc0f102.tar.gz
ports-18dd6954f3060c12b7882f4cb2a1f68dbfc0f102.zip
Notes
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/gtk-qt-engine/Makefile11
-rw-r--r--x11-themes/gtk-qt-engine/files/patch-CMakeLists.txt11
-rw-r--r--x11-themes/gtk-qt4-engine/Makefile11
-rw-r--r--x11-themes/gtk-qt4-engine/files/patch-CMakeLists.txt11
4 files changed, 24 insertions, 20 deletions
diff --git a/x11-themes/gtk-qt-engine/Makefile b/x11-themes/gtk-qt-engine/Makefile
index 87ab9c21a049..ca7bdb4de180 100644
--- a/x11-themes/gtk-qt-engine/Makefile
+++ b/x11-themes/gtk-qt-engine/Makefile
@@ -15,8 +15,6 @@ MASTER_SITES= http://gtk-qt.ecs.soton.ac.uk/files/${PORTVERSION}/ \
MAINTAINER= danny@ricin.com
COMMENT= GTK-QT Theme Engine allows GTK2 apps to use QT/KDE themes
-BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake
-
USE_BZIP2= yes
USE_GETTEXT= yes
USE_GMAKE= yes
@@ -24,15 +22,11 @@ USE_GNOME= gtk20
USE_QT_VER= 3
USE_KDEBASE_VER=3
HAS_CONFIGURE= yes
+USE_CMAKE= yes
OPTIONS= LIBBONOBOUI "Install libbonoboui if missing" off
WRKSRC= ${WRKDIR}/${PORTNAME}
-CMAKE?= ${LOCALBASE}/bin/cmake
-CMAKE_ARGS= -DCMAKE_C_COMPILER:STRING="${CC}"\
- -DCMAKE_CXX_COMPILER:STRING="${CXX}"\
- -DCMAKE_C_FLAGS:STRING="${CFLAGS}"\
- -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}"
.include <bsd.port.pre.mk>
@@ -40,7 +34,4 @@ CMAKE_ARGS= -DCMAKE_C_COMPILER:STRING="${CC}"\
USE_GNOME+= libbonoboui
.endif
-do-configure:
- cd ${WRKSRC} && ${CMAKE} ${CMAKE_ARGS} .
-
.include <bsd.port.post.mk>
diff --git a/x11-themes/gtk-qt-engine/files/patch-CMakeLists.txt b/x11-themes/gtk-qt-engine/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..b744c10ad78a
--- /dev/null
+++ b/x11-themes/gtk-qt-engine/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orgi 2008-05-21 13:40:34.000000000 +0200
++++ CMakeLists.txt 2008-05-21 13:41:09.000000000 +0200
+@@ -1,6 +1,8 @@
+ PROJECT (gtk-qt-engine)
+ INCLUDE (UsePkgConfig)
+
++cmake_minimum_required(VERSION 2.4.8)
++
+ # Find KDE
+ FIND_PACKAGE(KDE3 REQUIRED)
+
diff --git a/x11-themes/gtk-qt4-engine/Makefile b/x11-themes/gtk-qt4-engine/Makefile
index 87ab9c21a049..ca7bdb4de180 100644
--- a/x11-themes/gtk-qt4-engine/Makefile
+++ b/x11-themes/gtk-qt4-engine/Makefile
@@ -15,8 +15,6 @@ MASTER_SITES= http://gtk-qt.ecs.soton.ac.uk/files/${PORTVERSION}/ \
MAINTAINER= danny@ricin.com
COMMENT= GTK-QT Theme Engine allows GTK2 apps to use QT/KDE themes
-BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake
-
USE_BZIP2= yes
USE_GETTEXT= yes
USE_GMAKE= yes
@@ -24,15 +22,11 @@ USE_GNOME= gtk20
USE_QT_VER= 3
USE_KDEBASE_VER=3
HAS_CONFIGURE= yes
+USE_CMAKE= yes
OPTIONS= LIBBONOBOUI "Install libbonoboui if missing" off
WRKSRC= ${WRKDIR}/${PORTNAME}
-CMAKE?= ${LOCALBASE}/bin/cmake
-CMAKE_ARGS= -DCMAKE_C_COMPILER:STRING="${CC}"\
- -DCMAKE_CXX_COMPILER:STRING="${CXX}"\
- -DCMAKE_C_FLAGS:STRING="${CFLAGS}"\
- -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}"
.include <bsd.port.pre.mk>
@@ -40,7 +34,4 @@ CMAKE_ARGS= -DCMAKE_C_COMPILER:STRING="${CC}"\
USE_GNOME+= libbonoboui
.endif
-do-configure:
- cd ${WRKSRC} && ${CMAKE} ${CMAKE_ARGS} .
-
.include <bsd.port.post.mk>
diff --git a/x11-themes/gtk-qt4-engine/files/patch-CMakeLists.txt b/x11-themes/gtk-qt4-engine/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..b744c10ad78a
--- /dev/null
+++ b/x11-themes/gtk-qt4-engine/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orgi 2008-05-21 13:40:34.000000000 +0200
++++ CMakeLists.txt 2008-05-21 13:41:09.000000000 +0200
+@@ -1,6 +1,8 @@
+ PROJECT (gtk-qt-engine)
+ INCLUDE (UsePkgConfig)
+
++cmake_minimum_required(VERSION 2.4.8)
++
+ # Find KDE
+ FIND_PACKAGE(KDE3 REQUIRED)
+