summaryrefslogtreecommitdiffstats
path: root/x11-themes
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-01 01:13:51 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-01 01:13:51 +0800
commit1816c30edb22d4b38eefd13087fe52f046cbadca (patch)
tree4f8fecfba7ab744de807786ae52320c7f8faa342 /x11-themes
parent5ca88b64035a4a6bc6e38984a44982f253706cba (diff)
downloadmarcuscom-ports-1816c30edb22d4b38eefd13087fe52f046cbadca.tar
marcuscom-ports-1816c30edb22d4b38eefd13087fe52f046cbadca.tar.gz
marcuscom-ports-1816c30edb22d4b38eefd13087fe52f046cbadca.tar.bz2
marcuscom-ports-1816c30edb22d4b38eefd13087fe52f046cbadca.tar.lz
marcuscom-ports-1816c30edb22d4b38eefd13087fe52f046cbadca.tar.xz
marcuscom-ports-1816c30edb22d4b38eefd13087fe52f046cbadca.tar.zst
marcuscom-ports-1816c30edb22d4b38eefd13087fe52f046cbadca.zip
- Move qt-bluecurve-theme to right dir
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7428 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/qt-bluecurve-theme/Makefile48
-rw-r--r--x11-themes/qt-bluecurve-theme/files/pkg-message.in7
-rw-r--r--x11-themes/qt-bluecurve-theme/pkg-descr9
-rw-r--r--x11-themes/qt-bluecurve-theme/pkg-plist6
4 files changed, 70 insertions, 0 deletions
diff --git a/x11-themes/qt-bluecurve-theme/Makefile b/x11-themes/qt-bluecurve-theme/Makefile
new file mode 100644
index 000000000..4cd58dce5
--- /dev/null
+++ b/x11-themes/qt-bluecurve-theme/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: bluecurve-unified
+# Date created: 3 October 2002
+# Whom: Eugeney Ryzhyk
+#
+# $FreeBSD$
+#
+
+PORTNAME= qt-bluecurve-theme
+PORTREVISION= 1
+
+COMMENT= The Bluecurve QT theme
+
+MASTERDIR= ${.CURDIR}/../bluecurve-themes
+
+USE_QT_VER= 3
+BUILD_WRKSRC= ${WRKSRC}/art/qt/Bluecurve
+
+QT_CFLAGS= -I${X11BASE}/include -DQT_THREAD_SUPPORT ${PTHREAD_CFLAGS}
+QT_LIBS= -L${X11BASE}/lib -lqt-mt ${PTHREAD_LIBS}
+USE_X_PREFIX= yes
+
+SUB_FILES= pkg-message
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|GtkStyle|0|' ${BUILD_WRKSRC}/bluecurve.cpp
+ @${REINPLACE_CMD} -e \
+ 's|^\(libraryPath\)=.*|\1=${X11BASE}/lib/plugins|' \
+ ${WRKSRC}/art/qt/qtrc
+
+do-build:
+ cd ${BUILD_WRKSRC} && \
+ ${MOC} -o bluecurve.moc bluecurve.h && \
+ ${CXX} ${CXXFLAGS} -Wl,-export-dynamic -shared -fPIC \
+ ${QT_CFLAGS} ${QT_LIBS} -o bluecurve.so \
+ bluecurve.cpp plugin.cpp
+
+do-install:
+ ${MKDIR} ${PREFIX}/lib/plugins/styles
+ ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/bluecurve.so ${PREFIX}/lib/plugins/styles
+ ${MKDIR} ${PREFIX}/etc/settings
+ ${INSTALL_DATA} ${WRKSRC}/art/qt/qtrc ${PREFIX}/etc/settings/qtrc.bluecurve
+
+post-install:
+ [ -f ${PREFIX}/etc/settings/qtrc ] || \
+ ${INSTALL_DATA} ${WRKSRC}/art/qt/qtrc ${PREFIX}/etc/settings
+ @${CAT} ${PKGMESSAGE}
+
+.include "${MASTERDIR}/Makefile"
diff --git a/x11-themes/qt-bluecurve-theme/files/pkg-message.in b/x11-themes/qt-bluecurve-theme/files/pkg-message.in
new file mode 100644
index 000000000..f4ad48bf1
--- /dev/null
+++ b/x11-themes/qt-bluecurve-theme/files/pkg-message.in
@@ -0,0 +1,7 @@
+===============================================================================
+
+ If you want to use the Bluecurve QT theme, replace your ~/.qt/qtrc file:
+
+ cp -f %%PREFIX%%/etc/settings/qtrc.bluecurve ~/.qt/qtrc
+
+===============================================================================
diff --git a/x11-themes/qt-bluecurve-theme/pkg-descr b/x11-themes/qt-bluecurve-theme/pkg-descr
new file mode 100644
index 000000000..f1a4e79e7
--- /dev/null
+++ b/x11-themes/qt-bluecurve-theme/pkg-descr
@@ -0,0 +1,9 @@
+Bluecurve is a set of themes created by the Red Hat Artwork project.
+It attempts to provide an unified look for the open source desktop.
+
+This port contains the Bluecurve QT theme.
+
+WWW: http://fedora.redhat.com/projects/artwork/
+
+- Ryzhyk Eugeney
+rzheka@users.sourceforge.net
diff --git a/x11-themes/qt-bluecurve-theme/pkg-plist b/x11-themes/qt-bluecurve-theme/pkg-plist
new file mode 100644
index 000000000..d8409f19d
--- /dev/null
+++ b/x11-themes/qt-bluecurve-theme/pkg-plist
@@ -0,0 +1,6 @@
+@unexec if cmp -s %D/etc/settings/qtrc.bluecurve %D/etc/settings/qtrc; then rm -f %D/etc/settings/qtrc; fi
+etc/settings/qtrc.bluecurve
+@exec [ -f %B/qtrc ] || cp %B/qtrc.bluecurve %B/qtrc
+lib/plugins/styles/bluecurve.so
+@dirrmtry etc/settings
+@dirrmtry lib/plugins/styles