aboutsummaryrefslogtreecommitdiff
path: root/x11-themes
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-05-30 13:30:12 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-05-30 13:30:12 +0000
commit51c69fad3ae50709ce3b70dad0251c46ca0e1b27 (patch)
treef6a11e3490518151fbaa3011564198471d5a50c4 /x11-themes
parentdaac81028d933c4acfcaf90a4c825713ad096a6d (diff)
downloadports-51c69fad3ae50709ce3b70dad0251c46ca0e1b27.tar.gz
ports-51c69fad3ae50709ce3b70dad0251c46ca0e1b27.zip
- Update gtk-bluecurve-theme and qt-bluecurve-theme to 0.122, take
maintainership [1] - Add bluecurve-themes - Add cursor-bluecurve-theme - Add gnome-bluecurve-theme - Add icon-bluecurve-theme - Add metacity-bluecurve-theme - Add xmms-bluecurve-theme Approved by: former maintainer [1]
Notes
Notes: svn path=/head/; revision=136429
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/Makefile6
-rw-r--r--x11-themes/bluecurve-themes/Makefile94
-rw-r--r--x11-themes/bluecurve-themes/bsd.bluecurve.mk5
-rw-r--r--x11-themes/bluecurve-themes/distinfo2
-rw-r--r--x11-themes/bluecurve-themes/pkg-descr14
-rw-r--r--x11-themes/cursor-bluecurve-theme/Makefile43
-rw-r--r--x11-themes/cursor-bluecurve-theme/pkg-descr7
-rw-r--r--x11-themes/gnome-bluecurve-theme/Makefile25
-rw-r--r--x11-themes/gnome-bluecurve-theme/pkg-descr11
-rw-r--r--x11-themes/gtk-bluecurve-theme/Makefile117
-rw-r--r--x11-themes/gtk-bluecurve-theme/distinfo2
-rw-r--r--x11-themes/gtk-bluecurve-theme/files/Makefile-gtk146
-rw-r--r--x11-themes/gtk-bluecurve-theme/files/Makefile-gtk243
-rw-r--r--x11-themes/gtk-bluecurve-theme/pkg-descr7
-rw-r--r--x11-themes/gtk-bluecurve-theme/pkg-plist7
-rw-r--r--x11-themes/icon-bluecurve-theme/Makefile35
-rw-r--r--x11-themes/icon-bluecurve-theme/pkg-descr7
-rw-r--r--x11-themes/metacity-bluecurve-theme/Makefile22
-rw-r--r--x11-themes/metacity-bluecurve-theme/pkg-descr7
-rw-r--r--x11-themes/qt-bluecurve-theme/Makefile66
-rw-r--r--x11-themes/qt-bluecurve-theme/distinfo2
-rw-r--r--x11-themes/qt-bluecurve-theme/files/Makefile-qt347
-rw-r--r--x11-themes/qt-bluecurve-theme/files/pkg-message.in7
-rw-r--r--x11-themes/qt-bluecurve-theme/pkg-descr7
-rw-r--r--x11-themes/qt-bluecurve-theme/pkg-plist6
-rw-r--r--x11-themes/xmms-bluecurve-theme/Makefile25
-rw-r--r--x11-themes/xmms-bluecurve-theme/pkg-descr7
27 files changed, 416 insertions, 251 deletions
diff --git a/x11-themes/Makefile b/x11-themes/Makefile
index 5e762c6a7151..7c0e1b1066e5 100644
--- a/x11-themes/Makefile
+++ b/x11-themes/Makefile
@@ -5,6 +5,7 @@
COMMENT = X Windows System themes
SUBDIR += baghira
+ SUBDIR += bluecurve-themes
SUBDIR += buffy
SUBDIR += clean-theme-gtk
SUBDIR += clearlooks
@@ -12,6 +13,7 @@
SUBDIR += clearlooks-themes
SUBDIR += clearlooks-themes-extras
SUBDIR += colorstep
+ SUBDIR += cursor-bluecurve-theme
SUBDIR += engradient
SUBDIR += enlightenment-theme-BlueSteel
SUBDIR += enlightenment-theme-BrushedMetal-Tigert
@@ -24,6 +26,7 @@
SUBDIR += geramik
SUBDIR += gnome-art
SUBDIR += gnome-backgrounds
+ SUBDIR += gnome-bluecurve-theme
SUBDIR += gnome-icons
SUBDIR += gnome-icons-aqua-fusion
SUBDIR += gnome-icons-cool-gorilla
@@ -74,6 +77,7 @@
SUBDIR += gtkstep
SUBDIR += gtkstep-pastel
SUBDIR += icegradient
+ SUBDIR += icon-bluecurve-theme
SUBDIR += indubstrial
SUBDIR += kde-icons-amaranth
SUBDIR += kde-icons-amaranth-althaea
@@ -111,6 +115,7 @@
SUBDIR += metacity-aluminumalloy-volcanic-theme
SUBDIR += metacity-ana-theme
SUBDIR += metacity-aquaextremesunken-theme
+ SUBDIR += metacity-bluecurve-theme
SUBDIR += metacity-longhorninspirat-theme
SUBDIR += metacity-milk-theme
SUBDIR += metacity-theme-6nome
@@ -131,5 +136,6 @@
SUBDIR += whistlerk
SUBDIR += xenophilia
SUBDIR += xenostep
+ SUBDIR += xmms-bluecurve-theme
.include <bsd.port.subdir.mk>
diff --git a/x11-themes/bluecurve-themes/Makefile b/x11-themes/bluecurve-themes/Makefile
new file mode 100644
index 000000000000..b5fae89088e1
--- /dev/null
+++ b/x11-themes/bluecurve-themes/Makefile
@@ -0,0 +1,94 @@
+# New ports collection makefile for: bluecurve-themes
+# Date created: 29 May 2005
+# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME?= bluecurve-themes
+CATEGORIES= x11-themes
+
+MAINTAINER= jylefort@FreeBSD.org
+COMMENT?= Meta-port for Bluecurve themes
+
+.if ${PORTNAME} == "bluecurve-themes" # meta-port
+
+PORTVERSION= 1.0
+MASTER_SITES= # empty
+DISTFILES= # empty
+EXTRACT_ONLY= # empty
+
+# note: gtk-/icon-/metacity- are brought in by gnome-
+RUN_DEPENDS= ${X11BASE}/lib/X11/icons/Bluecurve/cursors/X_cursor:${PORTSDIR}/x11-themes/cursor-bluecurve-theme \
+ ${X11BASE}/share/themes/Bluecurve/index.theme:${PORTSDIR}/x11-themes/gnome-bluecurve-theme \
+ ${LINUXBASE}/usr/share/themes/Bluecurve/gtk-2.0/gtkrc:${PORTSDIR}/x11-themes/linux-gtk-bluecurve-theme \
+ ${X11BASE}/lib/plugins/styles/bluecurve.so:${PORTSDIR}/x11-themes/qt-bluecurve-theme \
+ ${X11BASE}/share/xmms/Skins/Bluecurve-xmms.zip:${PORTSDIR}/x11-themes/xmms-bluecurve-theme
+
+NO_BUILD= yes
+
+do-install: # empty
+
+.else # master port
+
+PORTVERSION= 0.122
+CATEGORIES= x11-themes
+MASTER_SITES= ${MASTER_SITE_FEDORA_LINUX}
+MASTER_SITE_SUBDIR= development/SRPMS
+DISTFILES= redhat-artwork-${PORTVERSION}-10.src.rpm
+
+EXTRACT_DEPENDS+= rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
+
+WRKSRC= ${WRKDIR}/redhat-artwork-${PORTVERSION}
+PREFIX?= ${X11BASE} # USE_X_PREFIX would pull in USE_XLIB
+
+# the slave ports use their own pkg files and dirs
+DESCR?= ${.CURDIR}/pkg-descr
+PLIST?= ${.CURDIR}/pkg-plist
+FILESDIR= ${.CURDIR}/files
+
+do-extract:
+ @${MKDIR} ${WRKDIR}
+ @cd ${WRKDIR} && \
+ rpm2cpio.pl ${_DISTDIR}/${DISTFILES} | ${CPIO} -i --quiet redhat-artwork-${PORTVERSION}.tar.gz && \
+ ${TAR} -zxf redhat-artwork-${PORTVERSION}.tar.gz && \
+ ${RM} redhat-artwork-${PORTVERSION}.tar.gz
+
+.if defined(BC_HIERS)
+
+PLIST= ${WRKDIR}/pkg-plist
+
+pre-install: bc-generate-plist
+
+bc-generate-plist:
+ @${RM} -f ${PLIST}
+ @for h in ${BC_HIERS}; do \
+ src=`${ECHO_CMD} "$$h" | ${CUT} -f 1 -d ':'` && \
+ dst_rel=`${ECHO_CMD} "$$h" | ${CUT} -f 2 -d ':' | ${SED} -e 's|^${PREFIX}/||'` && \
+ cd "$$src" && \
+ ${FIND} * ! -type d | ${SORT} \
+ | ${SED} -e "s|^|$$dst_rel/|" >> ${PLIST} && \
+ ${FIND} * -type d ! -empty | ${SORT} -r \
+ | ${SED} -e "s|^|@dirrm $$dst_rel/|" >> ${PLIST}; \
+ done
+
+do-install:
+ for h in ${BC_HIERS}; do \
+ src=`${ECHO_CMD} "$$h" | ${CUT} -f 1 -d ':'` && \
+ dst=`${ECHO_CMD} "$$h" | ${CUT} -f 2 -d ':'` && \
+ ${MKDIR} "$$dst" && cd "$$src" && \
+ ${FIND} * -type d ! -empty -exec \
+ ${MKDIR} "$$dst/{}" \; && \
+ ${FIND} * -type l -exec \
+ ${CP} -Rf "{}" "$$dst/{}" \; && \
+ ${FIND} * ! -type d ! -type l -exec \
+ ${INSTALL_DATA} "{}" "$$dst/{}" \; ; \
+ done
+
+.endif # BC_HIERS
+
+.endif # master port
+
+.if !defined(_BC_MK_INCLUDED)
+.include <bsd.port.mk>
+.endif
diff --git a/x11-themes/bluecurve-themes/bsd.bluecurve.mk b/x11-themes/bluecurve-themes/bsd.bluecurve.mk
new file mode 100644
index 000000000000..e59b03257f3f
--- /dev/null
+++ b/x11-themes/bluecurve-themes/bsd.bluecurve.mk
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+_BC_MK_INCLUDED= yes
+
+.include "${MASTERDIR}/Makefile"
diff --git a/x11-themes/bluecurve-themes/distinfo b/x11-themes/bluecurve-themes/distinfo
new file mode 100644
index 000000000000..931d019678dc
--- /dev/null
+++ b/x11-themes/bluecurve-themes/distinfo
@@ -0,0 +1,2 @@
+MD5 (redhat-artwork-0.122-10.src.rpm) = 3c05cc9272b46ab923626f7987fc41f5
+SIZE (redhat-artwork-0.122-10.src.rpm) = 7846926
diff --git a/x11-themes/bluecurve-themes/pkg-descr b/x11-themes/bluecurve-themes/pkg-descr
new file mode 100644
index 000000000000..ec6dece35915
--- /dev/null
+++ b/x11-themes/bluecurve-themes/pkg-descr
@@ -0,0 +1,14 @@
+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 meta-port installs all the Bluecurve ports, namely:
+
+ - the GTK+ themes (1.x and 2.x, native and Linux versions)
+ - the QT theme
+ - the Metacity themes
+ - the icon set
+ - the X cursor themes
+ - the XMMS skin
+
+- Jean-Yves Lefort
+jylefort@FreeBSD.org
diff --git a/x11-themes/cursor-bluecurve-theme/Makefile b/x11-themes/cursor-bluecurve-theme/Makefile
new file mode 100644
index 000000000000..a9fe12ce7f38
--- /dev/null
+++ b/x11-themes/cursor-bluecurve-theme/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: cursor-bluecurve-theme
+# Date created: 29 May 2005
+# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cursor-bluecurve-theme
+
+COMMENT= The Bluecurve X cursor themes
+
+# we only need gdk-pixbuf for building cursorthemegen, so do not USE_GNOME
+BUILD_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdk-pixbuf-2.0.pc:${PORTSDIR}/x11-toolkits/gtk20
+
+MASTERDIR= ${.CURDIR}/../bluecurve-themes
+
+THEMES= Bluecurve Bluecurve-inverse
+
+.for t in ${THEMES}
+BC_HIERS+= ${WRKSRC}/art/cursor/${t}/${t}:${PREFIX}/lib/X11/icons/${t}/cursors
+PLIST_DIRS+= lib/X11/icons/${t}/cursors lib/X11/icons/${t}
+.endfor
+
+do-build:
+ cd ${WRKSRC}/art/cursor/cursorthemegen \
+ && ${CC} ${CFLAGS} `pkg-config --cflags --libs gdk-pixbuf-2.0` \
+ -o ${WRKSRC}/cursorthemegen main.c themefile.c
+.for t in ${THEMES}
+ cd ${WRKSRC}/art/cursor/${t} \
+ && ${WRKSRC}/cursorthemegen ${t}.cursortheme ${t}
+.endfor
+
+.include "${MASTERDIR}/bsd.bluecurve.mk"
+.include <bsd.port.pre.mk>
+
+.if ${X_WINDOW_SYSTEM:L} != xfree86-3
+BUILD_DEPENDS+= xcursorgen:${X_CLIENTS_PORT} # needed by cursorthemegen
+RUN_DEPENDS+= xcursorgen:${X_CLIENTS_PORT} # for the lib/X11/icons directory
+.else
+IGNORE= your X Window System is too old; install x11/xorg or x11/XFree86-4 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/x11-themes/cursor-bluecurve-theme/pkg-descr b/x11-themes/cursor-bluecurve-theme/pkg-descr
new file mode 100644
index 000000000000..e88ae92482fe
--- /dev/null
+++ b/x11-themes/cursor-bluecurve-theme/pkg-descr
@@ -0,0 +1,7 @@
+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 X cursor themes.
+
+- Jean-Yves Lefort
+jylefort@FreeBSD.org
diff --git a/x11-themes/gnome-bluecurve-theme/Makefile b/x11-themes/gnome-bluecurve-theme/Makefile
new file mode 100644
index 000000000000..255fb3c1944d
--- /dev/null
+++ b/x11-themes/gnome-bluecurve-theme/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: gnome-bluecurve-theme
+# Date created: 29 May 2005
+# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnome-bluecurve-theme
+
+COMMENT= The Bluecurve GNOME meta-theme
+
+RUN_DEPENDS= ${X11BASE}/share/themes/Bluecurve/gtk-2.0/gtkrc:${PORTSDIR}/x11-themes/gtk-bluecurve-theme \
+ ${X11BASE}/share/icons/Bluecurve/index.theme:${PORTSDIR}/x11-themes/icon-bluecurve-theme \
+ ${X11BASE}/share/gnome/themes/Bluecurve/metacity-1/metacity-theme-1.xml:${PORTSDIR}/x11-themes/metacity-bluecurve-theme
+
+MASTERDIR= ${.CURDIR}/../bluecurve-themes
+
+NO_BUILD= yes
+PLIST_FILES= share/themes/Bluecurve/index.theme
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/themes/Bluecurve
+ ${INSTALL_DATA} ${WRKSRC}/art/index.theme ${PREFIX}/share/themes/Bluecurve
+
+.include "${MASTERDIR}/Makefile"
diff --git a/x11-themes/gnome-bluecurve-theme/pkg-descr b/x11-themes/gnome-bluecurve-theme/pkg-descr
new file mode 100644
index 000000000000..9c54c9c09647
--- /dev/null
+++ b/x11-themes/gnome-bluecurve-theme/pkg-descr
@@ -0,0 +1,11 @@
+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 GNOME meta-theme, which includes:
+
+ - the GTK+ themes (1.x and 2.x)
+ - the Metacity themes
+ - the icon set
+
+- Jean-Yves Lefort
+jylefort@FreeBSD.org
diff --git a/x11-themes/gtk-bluecurve-theme/Makefile b/x11-themes/gtk-bluecurve-theme/Makefile
index 325be6c59ae8..3fc277ef194a 100644
--- a/x11-themes/gtk-bluecurve-theme/Makefile
+++ b/x11-themes/gtk-bluecurve-theme/Makefile
@@ -6,77 +6,76 @@
#
PORTNAME= gtk-bluecurve-theme
-PORTVERSION= 0.73
-PORTREVISION= 1
-CATEGORIES= x11-themes
-MASTER_SITES= ${MASTER_SITE_REDHAT_LINUX}
-MASTER_SITE_SUBDIR= 9/en/os/i386/SRPMS
-DISTFILES= redhat-artwork-${PORTVERSION}-${RH_SUBVERSION}.src.rpm
-MAINTAINER= rzheka@users.sourceforge.net
-COMMENT= Bluecurve unified-look theme for GTK1 and GTK2 from RedHat 8.0
+COMMENT= The Bluecurve GTK+ 1.x and 2.x themes
-EXTRACT_DEPENDS= rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
+MASTERDIR= ${.CURDIR}/../bluecurve-themes
-WRKSRC= ${WRKDIR}/redhat-artwork-${PORTVERSION}
-USE_GMAKE= yes
-USE_X_PREFIX= yes
-USE_GNOME= gdkpixbuf
USE_REINPLACE= yes
-USE_LIBTOOL_VER=13
-RH_SUBVERSION= 1
-THEMES_SUBDIRS= ${WRKSRC}/art/gtk/Bluecurve1
+# GTK+ 1.x theme engine
+USE_GNOME+= gdkpixbuf
+GTK1_CFLAGS= `${X11BASE}/bin/gdk-pixbuf-config --cflags`
+GTK1_LIBS= `${X11BASE}/bin/gdk-pixbuf-config --libs`
+GTK1_WRKSRC= ${WRKSRC}/art/gtk/Bluecurve1
+GTK1_RCDIR= gtk
+GTK1_SOURCES= bluecurve1_theme_main.c bluecurve1_theme_draw.c
+GTK1_ENGINEDIR= lib/gtk/themes/engines
-.if defined(WITH_GTK2)
+# GTK+ 2.x theme engine
USE_GNOME+= gtk20
-THEMES_SUBDIRS+= ${WRKSRC}/art/gtk/Bluecurve
-PLIST_SUB+= GTK2="" GTKVERSION="2.4.0"
-.else
-PLIST_SUB+= GTK2="@comment "
-.endif
+GTK2_CFLAGS= `${LOCALBASE}/bin/pkg-config --cflags gtk+-2.0`
+GTK2_LIBS= `${LOCALBASE}/bin/pkg-config --libs gtk+-2.0`
+GTK2_WRKSRC= ${WRKSRC}/art/gtk/Bluecurve
+GTK2_RCDIR= gtk-2.0
+GTK2_SOURCES= bluecurve_rc_style.c bluecurve_style.c bluecurve_theme_main.c
+GTK2_ENGINEDIR= lib/gtk-2.0/2.4.0/engines
-pre-everything::
- @${ECHO} ""
- @${ECHO} "By default only gtk-1.2 theme engine will be built."
- @${ECHO} "You may use the following build options:"
- @${ECHO} ""
- @${ECHO} " WITH_GTK2=yes Build gtk-2 theme"
- @${ECHO} ""
-
-do-extract:
- @${RM} -rf ${WRKDIR}
- @${MKDIR} ${WRKDIR}
- @if ! (cd ${WRKDIR} && rpm2cpio.pl ${_DISTDIR}/${DISTFILES} | cpio -i redhat-artwork-${PORTVERSION}.tar.gz 2>/dev/null && ${GZIP_CMD} -dc redhat-artwork-${PORTVERSION}.tar.gz | tar -xf - && ${RM} redhat-artwork-${PORTVERSION}.tar.gz);\
- then \
- exit 1; \
- fi
- ${CP} ${FILESDIR}/Makefile-gtk1 ${WRKSRC}/art/gtk/Bluecurve1/Makefile
- ${CP} ${FILESDIR}/Makefile-gtk2 ${WRKSRC}/art/gtk/Bluecurve/Makefile
+PLIST= ${WRKDIR}/pkg-plist
+EXTRA_STYLES= BerriesAndCream Gnome Grape Lime Slate Strawberry Tangerine
post-patch:
- @${REINPLACE_CMD} -e 's#-O2#${CFLAGS}#' ${WRKSRC}/art/gtk/Bluecurve1/Makefile
- @${REINPLACE_CMD} -e 's#-O2#${CFLAGS}#' ${WRKSRC}/art/gtk/Bluecurve/Makefile
-
-do-configure:
- @${DO_NADA}
+.for v in 1 2
+. for s in ${EXTRA_STYLES}
+ @${REINPLACE_CMD} -e 's|/usr|${X11BASE}|' \
+ ${WRKSRC}/art/gtk/Bluecurve-${s}/${GTK${v}_RCDIR}/gtkrc
+. endfor
+.endfor
do-build:
- @for theme_dir in ${THEMES_SUBDIRS};do \
- (cd $$theme_dir; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}); \
- done
+.for v in 1 2
+ cd ${GTK${v}_WRKSRC} && \
+ ${CC} ${CFLAGS} -Wl,-export-dynamic -shared \
+ ${GTK${v}_CFLAGS} ${GTK${v}_LIBS} -o libbluecurve.so \
+ ${GTK${v}_SOURCES}
+.endfor
+
+pre-install:
+ @${RM} -f ${PLIST}
+.for v in 1 2
+ @${ECHO_CMD} "${GTK${v}_ENGINEDIR}/libbluecurve.so" >> ${PLIST}
+ @${ECHO_CMD} "share/themes/Bluecurve/${GTK${v}_RCDIR}/gtkrc" >> ${PLIST}
+ @${ECHO_CMD} "@dirrm share/themes/Bluecurve/${GTK${v}_RCDIR}" >> ${PLIST}
+. for s in ${EXTRA_STYLES}
+ @${ECHO_CMD} "share/themes/Bluecurve-${s}/${GTK${v}_RCDIR}/gtkrc" >> ${PLIST}
+ @${ECHO_CMD} "@dirrm share/themes/Bluecurve-${s}/${GTK${v}_RCDIR}" >> ${PLIST}
+. endfor
+.endfor
+ @${ECHO_CMD} "@unexec rmdir %D/share/themes/Bluecurve 2>/dev/null || true" >> ${PLIST}
+.for s in ${EXTRA_STYLES}
+ @${ECHO_CMD} "@dirrm share/themes/Bluecurve-${s}" >> ${PLIST}
+.endfor
do-install:
- @${MKDIR} ${PREFIX}/share/themes/Bluecurve && ${CHMOD} a+rx ${PREFIX}/share/themes/Bluecurve
-.if defined(WITH_GTK2)
- @${MKDIR} ${PREFIX}/lib/gtk-2.0/2.4.0/engines && ${CHMOD} a+rx ${PREFIX}/lib/gtk-2.0/2.4.0/engines
- @${MKDIR} ${PREFIX}/share/themes/Bluecurve/gtk-2.0 && ${CHMOD} a+rx ${PREFIX}/share/themes/Bluecurve/gtk-2.0
- @${INSTALL_PROGRAM} ${WRKSRC}/art/gtk/Bluecurve/.libs/libbluecurve.so ${PREFIX}/lib/gtk-2.0/2.4.0/engines
- @${INSTALL_DATA} ${WRKSRC}/art/gtk/Bluecurve/gtk-2.0/gtkrc ${PREFIX}/share/themes/Bluecurve/gtk-2.0
-.endif
- @${MKDIR} ${PREFIX}/lib/gtk/themes/engines && ${CHMOD} a+rx ${PREFIX}/lib/gtk/themes/engines
- @${INSTALL_PROGRAM} ${WRKSRC}/art/gtk/Bluecurve1/.libs/libbluecurve.so ${PREFIX}/lib/gtk/themes/engines
- @${MKDIR} ${PREFIX}/share/themes/Bluecurve/gtk && ${CHMOD} a+rx ${PREFIX}/share/themes/Bluecurve/gtk
- @${INSTALL_DATA} ${WRKSRC}/art/gtk/Bluecurve1/gtk/gtkrc ${PREFIX}/share/themes/Bluecurve/gtk
+.for v in 1 2
+ ${MKDIR} ${PREFIX}/${GTK${v}_ENGINEDIR}
+ ${INSTALL_PROGRAM} ${GTK${v}_WRKSRC}/libbluecurve.so ${PREFIX}/${GTK${v}_ENGINEDIR}
+ ${MKDIR} ${PREFIX}/share/themes/Bluecurve/${GTK${v}_RCDIR}
+ ${INSTALL_DATA} ${GTK${v}_WRKSRC}/${GTK${v}_RCDIR}/gtkrc ${PREFIX}/share/themes/Bluecurve/${GTK${v}_RCDIR}
+. for s in ${EXTRA_STYLES}
+ ${MKDIR} ${PREFIX}/share/themes/Bluecurve-${s}/${GTK${v}_RCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/art/gtk/Bluecurve-${s}/${GTK${v}_RCDIR}/gtkrc ${PREFIX}/share/themes/Bluecurve-${s}/${GTK${v}_RCDIR}
+. endfor
+.endfor
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"
diff --git a/x11-themes/gtk-bluecurve-theme/distinfo b/x11-themes/gtk-bluecurve-theme/distinfo
deleted file mode 100644
index 3157687d17ff..000000000000
--- a/x11-themes/gtk-bluecurve-theme/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 (redhat-artwork-0.73-1.src.rpm) = 8928ed251e5f997bbf51b6011c459310
-SIZE (redhat-artwork-0.73-1.src.rpm) = 9227635
diff --git a/x11-themes/gtk-bluecurve-theme/files/Makefile-gtk1 b/x11-themes/gtk-bluecurve-theme/files/Makefile-gtk1
deleted file mode 100644
index d1df167fe446..000000000000
--- a/x11-themes/gtk-bluecurve-theme/files/Makefile-gtk1
+++ /dev/null
@@ -1,46 +0,0 @@
-CC = cc
-CPP = cc -E
-CXX = c++
-CXXCPP = c++ -E
-GDK_PIXBUF_CFLAGS = `$(GDK_PIXBUF_CONFIG) --cflags`
-GDK_PIXBUF_CONFIG = /usr/X11R6/bin/gdk-pixbuf-config
-GDK_PIXBUF_LIBS = `$(GDK_PIXBUF_CONFIG) --libs`
-GTK_CFLAGS = `$(GTK_CONFIG) --cflags`
-GTK_CONFIG = /usr/X11R6/bin/gtk12-config
-GTK_LIBS = `$(GTK_CONFIG) --libs`
-LIBTOOL = libtool
-LN_S = ln -s
-INCLUDES = $(GTK_CFLAGS) $(GDK_PIXBUF_CFLAGS)
-libdir=/usr/X11R6/lib
-enginedir = $(libdir)/gtk/themes/engines
-engine_LTLIBRARIES = libbluecurve.la
-libbluecurve_la_LDFLAGS = -module -avoid-version
-libbluecurve_la_LIBADD = $(GTK_LIBS) $(GDK_PIXBUF_LIBS)
-EXTRA_DIST = raleigh_dot.c
-LTLIBRARIES = $(engine_LTLIBRARIES)
-CPPFLAGS = -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE
-LDFLAGS =
-LIBS = -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib
-libbluecurve_la_DEPENDENCIES =
-libbluecurve_la_OBJECTS = bluecurve1_theme_main.lo \
-bluecurve1_theme_draw.lo
-CFLAGS = -O2
-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
-CCLD = $(CC)
-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
-all: all-am
-.SUFFIXES:
-.SUFFIXES: .S .c .lo .o .obj .s
-.c.o:
- $(COMPILE) -c $<
-.c.lo:
- $(LIBTOOL) --mode=compile $(COMPILE) -c $<
-.s.lo:
- $(LIBTOOL) --mode=compile $(COMPILE) -c $<
-.S.lo:
- $(LIBTOOL) --mode=compile $(COMPILE) -c $<
-libbluecurve.la: $(libbluecurve_la_OBJECTS) $(libbluecurve_la_DEPENDENCIES)
- $(LINK) -rpath $(enginedir) $(libbluecurve_la_LDFLAGS) $(libbluecurve_la_OBJECTS) $(libbluecurve_la_LIBADD) $(LIBS)
-all-am: $(LTLIBRARIES)
-.NOEXPORT:
diff --git a/x11-themes/gtk-bluecurve-theme/files/Makefile-gtk2 b/x11-themes/gtk-bluecurve-theme/files/Makefile-gtk2
deleted file mode 100644
index 5e99070a92ef..000000000000
--- a/x11-themes/gtk-bluecurve-theme/files/Makefile-gtk2
+++ /dev/null
@@ -1,43 +0,0 @@
-libdir = ${exec_prefix}/lib
-CC = cc
-CPP = cc -E
-CXX = c++
-CXXCPP = c++ -E
-GTK2_CFLAGS = `$(PKG_CONFIG) gtk+-2.0 --cflags`
-GTK2_LIBS = `$(PKG_CONFIG) gtk+-2.0 --libs`
-LN_S = ln -s
-PKG_CONFIG = /usr/local/bin/pkg-config
-INCLUDES = $(GTK2_CFLAGS)
-enginedir = /usr/X11R6/lib/gtk-2.0/2.0.0/engines
-engine_LTLIBRARIES = libbluecurve.la
-libbluecurve_la_LDFLAGS = -module -avoid-version
-libbluecurve_la_LIBADD = $(GTK2_LIBS)
-EXTRA_DIST = bits.c
-LTLIBRARIES = $(engine_LTLIBRARIES)
-CPPFLAGS = -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE
-LDFLAGS =
-LIBS = -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib
-libbluecurve_la_DEPENDENCIES =
-libbluecurve_la_OBJECTS = bluecurve_rc_style.lo bluecurve_style.lo \
-bluecurve_theme_main.lo
-CFLAGS = -O2
-LIBTOOL = libtool
-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
-CCLD = $(CC)
-LINK = $(LIBTOOL) --mode=link $(CCLD) $(CFLAGS) $(LDFLAGS) -o $@
-all: all-am
-.SUFFIXES:
-.SUFFIXES: .S .c .lo .o .obj .s
-.c.o:
- $(COMPILE) -c $<
-.c.lo:
- $(LIBTOOL) --mode=compile $(COMPILE) -c $<
-.s.lo:
- $(LIBTOOL) --mode=compile $(COMPILE) -c $<
-.S.lo:
- $(LIBTOOL) --mode=compile $(COMPILE) -c $<
-libbluecurve.la: $(libbluecurve_la_OBJECTS) $(libbluecurve_la_DEPENDENCIES)
- $(LINK) -rpath $(enginedir) $(libbluecurve_la_LDFLAGS) $(libbluecurve_la_OBJECTS) $(libbluecurve_la_LIBADD) $(LIBS)
-all-am: $(LTLIBRARIES)
-.NOEXPORT:
diff --git a/x11-themes/gtk-bluecurve-theme/pkg-descr b/x11-themes/gtk-bluecurve-theme/pkg-descr
index 823cb48bb867..2efd2fd19cb1 100644
--- a/x11-themes/gtk-bluecurve-theme/pkg-descr
+++ b/x11-themes/gtk-bluecurve-theme/pkg-descr
@@ -1,6 +1,7 @@
-This is a port of RedHat 8.0 "Bluecurve" theme for GTK/GNOME.
-It won't install RedHat logos and pixmaps, but only the required
-theme engines.
+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 GTK+ 1.x and 2.x themes.
- Ryzhyk Eugeney
rzheka@users.sourceforge.net
diff --git a/x11-themes/gtk-bluecurve-theme/pkg-plist b/x11-themes/gtk-bluecurve-theme/pkg-plist
deleted file mode 100644
index cdae50e88ebf..000000000000
--- a/x11-themes/gtk-bluecurve-theme/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-lib/gtk/themes/engines/libbluecurve.so
-%%GTK2%%lib/gtk-2.0/%%GTKVERSION%%/engines/libbluecurve.so
-share/themes/Bluecurve/gtk/gtkrc
-%%GTK2%%share/themes/Bluecurve/gtk-2.0/gtkrc
-@dirrm share/themes/Bluecurve/gtk
-%%GTK2%%@dirrm share/themes/Bluecurve/gtk-2.0
-@dirrm share/themes/Bluecurve
diff --git a/x11-themes/icon-bluecurve-theme/Makefile b/x11-themes/icon-bluecurve-theme/Makefile
new file mode 100644
index 000000000000..19a4cb54273c
--- /dev/null
+++ b/x11-themes/icon-bluecurve-theme/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: icon-bluecurve-theme
+# Date created: 29 May 2005
+# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= icon-bluecurve-theme
+
+COMMENT= The Bluecurve icon set
+
+BUILD_DEPENDS= icon-slicer:${PORTSDIR}/graphics/icon-slicer
+
+MASTERDIR= ${.CURDIR}/../bluecurve-themes
+
+BUILD_WRKSRC= ${WRKSRC}/art/icon/Bluecurve/sheets
+BC_HIERS= ${BUILD_WRKSRC}/Bluecurve:${PREFIX}/share/icons/Bluecurve
+
+do-build:
+ ${MKDIR} ${BUILD_WRKSRC}/Bluecurve
+.for t in added apps dialogs emblems files stock ooo
+ ${LOCALBASE}/bin/icon-slicer \
+ --output-dir=${BUILD_WRKSRC}/Bluecurve \
+ --image-dir=${BUILD_WRKSRC} \
+ ${BUILD_WRKSRC}/icons-${t}.icontheme
+.endfor
+ ${MKDIR} ${BUILD_WRKSRC}/Bluecurve/36x36/apps
+ ${CP} -f ${BUILD_WRKSRC}/gnome-spinner*.png ${BUILD_WRKSRC}/Bluecurve/36x36/apps
+ ${CP} -f ${WRKSRC}/art/icon/Bluecurve/index.theme ${BUILD_WRKSRC}/Bluecurve
+
+pre-install:
+ @${ECHO_CMD} "@dirrm share/icons/Bluecurve" >> ${PLIST}
+ @${ECHO_CMD} "@unexec rmdir %D/share/icons 2>/dev/null || true" >> ${PLIST}
+
+.include "${MASTERDIR}/Makefile"
diff --git a/x11-themes/icon-bluecurve-theme/pkg-descr b/x11-themes/icon-bluecurve-theme/pkg-descr
new file mode 100644
index 000000000000..38100ce33541
--- /dev/null
+++ b/x11-themes/icon-bluecurve-theme/pkg-descr
@@ -0,0 +1,7 @@
+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 icon set.
+
+- Jean-Yves Lefort
+jylefort@FreeBSD.org
diff --git a/x11-themes/metacity-bluecurve-theme/Makefile b/x11-themes/metacity-bluecurve-theme/Makefile
new file mode 100644
index 000000000000..92723ec7c6e6
--- /dev/null
+++ b/x11-themes/metacity-bluecurve-theme/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: metacity-bluecurve-theme
+# Date created: 29 May 2005
+# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= metacity-bluecurve-theme
+
+COMMENT= The Bluecurve Metacity themes
+
+MASTERDIR= ${.CURDIR}/../bluecurve-themes
+
+NO_BUILD= yes
+USE_GNOME= gnomehier
+
+.for t in Bluecurve Bluecurve-classic
+BC_HIERS+= ${WRKSRC}/art/metacity/${t}:${PREFIX}/share/gnome/themes/${t}/metacity-1
+PLIST_DIRS+= share/gnome/themes/${t}/metacity-1 share/gnome/themes/${t}
+.endfor
+
+.include "${MASTERDIR}/Makefile"
diff --git a/x11-themes/metacity-bluecurve-theme/pkg-descr b/x11-themes/metacity-bluecurve-theme/pkg-descr
new file mode 100644
index 000000000000..a52b3a1e703c
--- /dev/null
+++ b/x11-themes/metacity-bluecurve-theme/pkg-descr
@@ -0,0 +1,7 @@
+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 Metacity themes.
+
+- Jean-Yves Lefort
+jylefort@FreeBSD.org
diff --git a/x11-themes/qt-bluecurve-theme/Makefile b/x11-themes/qt-bluecurve-theme/Makefile
index de283e4c3abc..5eeb1fda5652 100644
--- a/x11-themes/qt-bluecurve-theme/Makefile
+++ b/x11-themes/qt-bluecurve-theme/Makefile
@@ -6,52 +6,42 @@
#
PORTNAME= qt-bluecurve-theme
-PORTVERSION= 0.88
-CATEGORIES= x11-themes
-MASTER_SITES= ${MASTER_SITE_FEDORA_LINUX}
-MASTER_SITE_SUBDIR= fedora/fedora/1/i386/SRPMS.os
-DISTFILES= redhat-artwork-${PORTVERSION}-${RH_SUBVERSION}.src.rpm
-
-MAINTAINER= rzheka@users.sourceforge.net
-COMMENT= Bluecurve unified-look theme for QT3 from Fedora
-
-EXTRACT_DEPENDS= rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
-
-WRKSRC= ${WRKDIR}/redhat-artwork-${PORTVERSION}
-USE_LIBTOOL_VER=13
-#LIBTOOLFILES= # none
-USE_GMAKE= yes
-USE_X_PREFIX= yes
-USE_REINPLACE= yes
-RH_SUBVERSION= 1
+COMMENT= The Bluecurve QT theme
+
+MASTERDIR= ${.CURDIR}/../bluecurve-themes
+USE_REINPLACE= yes
USE_QT_VER= 3
-THEMES_SUBDIRS = ${WRKSRC}/art/qt/Bluecurve
+BUILD_WRKSRC= ${WRKSRC}/art/qt/Bluecurve
-do-extract:
- @${RM} -rf ${WRKDIR}
- @${MKDIR} ${WRKDIR}
- @if ! (cd ${WRKDIR} && rpm2cpio.pl ${_DISTDIR}/${DISTFILES} | cpio -i redhat-artwork-${PORTVERSION}.tar.gz 2>/dev/null && ${GZIP_CMD} -dc redhat-artwork-${PORTVERSION}.tar.gz | tar -xf - && ${RM} redhat-artwork-${PORTVERSION}.tar.gz);\
- then \
- exit 1; \
- fi
- ${CP} ${FILESDIR}/Makefile-qt3 ${WRKSRC}/art/qt/Bluecurve/Makefile
+QT_CFLAGS= -I${X11BASE}/include -DQT_THREAD_SUPPORT ${PTHREAD_CFLAGS}
+QT_LIBS= -L${X11BASE}/lib -lqt-mt ${PTHREAD_LIBS}
-# There's no configure script, but we need libtool to build
-do-configure:
- @${DO_NADA}
+SUB_FILES= pkg-message
post-patch:
- @${REINPLACE_CMD} -e 's#-O2#${CFLAGS}#' ${WRKSRC}/art/qt/Bluecurve/Makefile
- @${RM} ${THEMES_SUBDIRS}/bluecurve.moc
+ @${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:
- @for theme_dir in ${THEMES_SUBDIRS};do \
- (cd $$theme_dir; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}); \
- done
+ cd ${BUILD_WRKSRC} && \
+ ${MOC} -o bluecurve.moc bluecurve.h && \
+ ${CXX} ${CXXFLAGS} -Wl,-export-dynamic -shared \
+ ${QT_CFLAGS} ${QT_LIBS} -o bluecurve.so \
+ bluecurve.cpp plugin.cpp
+
do-install:
- @${MKDIR} ${PREFIX}/lib/plugins/styles && ${CHMOD} a+rx ${PREFIX}/lib/plugins/styles
- @${INSTALL_PROGRAM} ${WRKSRC}/art/qt/Bluecurve/.libs/bluecurve.so ${PREFIX}/lib/plugins/styles
+ ${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 <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"
diff --git a/x11-themes/qt-bluecurve-theme/distinfo b/x11-themes/qt-bluecurve-theme/distinfo
deleted file mode 100644
index 629291aa0abe..000000000000
--- a/x11-themes/qt-bluecurve-theme/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 (redhat-artwork-0.88-1.src.rpm) = 022ae5389cdfe5b0a741a1351125c92d
-SIZE (redhat-artwork-0.88-1.src.rpm) = 8273914
diff --git a/x11-themes/qt-bluecurve-theme/files/Makefile-qt3 b/x11-themes/qt-bluecurve-theme/files/Makefile-qt3
deleted file mode 100644
index bb005ff1a2b4..000000000000
--- a/x11-themes/qt-bluecurve-theme/files/Makefile-qt3
+++ /dev/null
@@ -1,47 +0,0 @@
-CC = cc
-CPP = cc -E
-CXX = c++
-CXXCPP = c++ -E
-ECHO = echo
-EXEEXT =
-LIBJPEG = -ljpeg
-LIBPNG = -lpng -lz -lm
-LIBTOOL = libtool
-LIB_QT = -lqt-mt $(LIBPNG) -lXext $(LIB_X11) $(LIBSM)
-LN_S = ln -s
-INCLUDES = -I/usr/X11R6/include
-styledir = /usr/X11R6/plugins/styles
-style_LTLIBRARIES = bluecurve.la
-bluecurve_la_LDFLAGS = -module -avoid-version -no-undefined
-bluecurve_la_LIBADD = -L/usr/X11R6/lib -lqt-mt
-bluecurve_la_SOURCES = plugin.cpp bluecurve.cpp bluecurve.moc
-LTLIBRARIES = $(style_LTLIBRARIES)
-DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I../../..
-CPPFLAGS = -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE
-LDFLAGS =
-LIBS = -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib
-bluecurve_la_DEPENDENCIES =
-bluecurve_la_OBJECTS = plugin.lo bluecurve.lo
-CFLAGS = -O2
-CXXFLAGS = -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -fno-exceptions -fno-check-new
-CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) $(CFLAGS)
-LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) $(CFLAGS)
-CXXLD = $(CXX)
-CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
-all: all-redirect
-.SUFFIXES:
-.SUFFIXES: .S .c .cpp .lo .o .obj .s
-bluecurve.la: $(bluecurve_la_OBJECTS) $(bluecurve_la_DEPENDENCIES)
- $(CXXLINK) -rpath $(styledir) $(bluecurve_la_LDFLAGS) $(bluecurve_la_OBJECTS) $(bluecurve_la_LIBADD) $(LIBS)
-.cpp.o:
- $(CXXCOMPILE) -c $<
-.cpp.lo:
- $(LTCXXCOMPILE) -c $<
-bluecurve.lo bluecurve.o : bluecurve.cpp bluecurve.moc bluecurve.h bits.cpp
-plugin.lo plugin.o : plugin.cpp bluecurve.h
-all-am: $(LTLIBRARIES)
-all-redirect: all-am
-bluecurve.moc: bluecurve.h
- moc -o bluecurve.moc bluecurve.h
-$(bluecurve_la_OBJECTS): bluecurve.moc
-.NOEXPORT:
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 000000000000..f4ad48bf1db6
--- /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
index ba9f038ea8f2..903bee70277c 100644
--- a/x11-themes/qt-bluecurve-theme/pkg-descr
+++ b/x11-themes/qt-bluecurve-theme/pkg-descr
@@ -1,6 +1,7 @@
-This is a port of the Fedora "Bluecurve" theme for QT/KDE.
-It won't install RedHat logos and pixmaps, but only the required
-theme engines.
+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.
- Ryzhyk Eugeney
rzheka@users.sourceforge.net
diff --git a/x11-themes/qt-bluecurve-theme/pkg-plist b/x11-themes/qt-bluecurve-theme/pkg-plist
index 485c6cf936bb..32bdf57828be 100644
--- a/x11-themes/qt-bluecurve-theme/pkg-plist
+++ b/x11-themes/qt-bluecurve-theme/pkg-plist
@@ -1,2 +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
-@dirrm lib/plugins/styles
+@unexec rmdir %D/etc/settings 2>/dev/null || true
+@unexec rmdir %D/lib/plugins/styles 2>/dev/null || true
diff --git a/x11-themes/xmms-bluecurve-theme/Makefile b/x11-themes/xmms-bluecurve-theme/Makefile
new file mode 100644
index 000000000000..96e11a45191b
--- /dev/null
+++ b/x11-themes/xmms-bluecurve-theme/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: xmms-bluecurve-theme
+# Date created: 29 May 2005
+# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xmms-bluecurve-theme
+
+COMMENT= The Bluecurve XMMS skin
+
+RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
+
+MASTERDIR= ${.CURDIR}/../bluecurve-themes
+
+NO_BUILD= yes
+
+SKIN= Bluecurve-xmms.zip
+PLIST_FILES= share/xmms/Skins/${SKIN}
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/xmms/Skins
+ ${INSTALL_DATA} ${WRKSRC}/art/xmms/${SKIN} ${PREFIX}/share/xmms/Skins
+
+.include "${MASTERDIR}/Makefile"
diff --git a/x11-themes/xmms-bluecurve-theme/pkg-descr b/x11-themes/xmms-bluecurve-theme/pkg-descr
new file mode 100644
index 000000000000..2d24d0f4e580
--- /dev/null
+++ b/x11-themes/xmms-bluecurve-theme/pkg-descr
@@ -0,0 +1,7 @@
+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 XMMS skin.
+
+- Jean-Yves Lefort
+jylefort@FreeBSD.org