aboutsummaryrefslogtreecommitdiff
path: root/x11-themes/qt-bluecurve-theme
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-10-17 18:21:25 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-10-17 18:21:25 +0000
commitb0ccb5691ec85c0c970c73f3215f34503474d0f4 (patch)
treef2fef7b69add30159c49cda05251f28f9bbf40ef /x11-themes/qt-bluecurve-theme
parentb351230a03b9dcfa5fe07e411ed7b33fd0a89265 (diff)
downloadports-b0ccb5691ec85c0c970c73f3215f34503474d0f4.tar.gz
ports-b0ccb5691ec85c0c970c73f3215f34503474d0f4.zip
Notes
Diffstat (limited to 'x11-themes/qt-bluecurve-theme')
-rw-r--r--x11-themes/qt-bluecurve-theme/Makefile50
-rw-r--r--x11-themes/qt-bluecurve-theme/distinfo1
-rw-r--r--x11-themes/qt-bluecurve-theme/files/Makefile-qt347
-rw-r--r--x11-themes/qt-bluecurve-theme/pkg-comment1
-rw-r--r--x11-themes/qt-bluecurve-theme/pkg-descr6
-rw-r--r--x11-themes/qt-bluecurve-theme/pkg-plist2
6 files changed, 107 insertions, 0 deletions
diff --git a/x11-themes/qt-bluecurve-theme/Makefile b/x11-themes/qt-bluecurve-theme/Makefile
new file mode 100644
index 000000000000..4f2ef1e991ce
--- /dev/null
+++ b/x11-themes/qt-bluecurve-theme/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: bluecurve-unified
+# Date created: 3 October 2002
+# Whom: Eugeney Ryzhyk
+#
+# $FreeBSD$
+#
+
+PORTNAME= qt-bluecurve-theme
+PORTVERSION= 0.47
+CATEGORIES= x11-toolkits
+MASTER_SITES= ${MASTER_SITE_REDHAT_LINUX}
+MASTER_SITE_SUBDIR= 8.0/en/os/i386/SRPMS
+DISTFILES= redhat-artwork-${PORTVERSION}-${RH_SUBVERSION}.src.rpm
+
+MAINTAINER= rzheka@users.sourceforge.net
+
+BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio \
+ libtool:${PORTSDIR}/devel/libtool
+
+WRKSRC= ${WRKDIR}/redhat-artwork-${PORTVERSION}
+USE_GMAKE= yes
+USE_X_PREFIX= yes
+USE_REINPLACE= yes
+
+RH_SUBVERSION= 3
+
+USE_QT_VER= 3
+THEMES_SUBDIRS = ${WRKSRC}/art/qt/Bluecurve
+
+do-extract:
+ @${RM} -rf ${WRKDIR}
+ @${MKDIR} ${WRKDIR}
+ @if ! (cd ${WRKDIR} && rpm2cpio ${_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
+
+post-patch:
+ @${REINPLACE_CMD} -e 's#-O2#${CFLAGS}#' ${WRKSRC}/art/qt/Bluecurve/Makefile
+
+do-build:
+ @for theme_dir in ${THEMES_SUBDIRS};do \
+ (cd $$theme_dir; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}); \
+ done
+do-install:
+ @${MKDIR} ${PREFIX}/plugins/styles && ${CHMOD} a+rx ${PREFIX}/plugins/styles
+ @${INSTALL_PROGRAM} ${WRKSRC}/art/qt/Bluecurve/.libs/bluecurve.so ${PREFIX}/plugins/styles
+
+.include <bsd.port.mk>
diff --git a/x11-themes/qt-bluecurve-theme/distinfo b/x11-themes/qt-bluecurve-theme/distinfo
new file mode 100644
index 000000000000..9620f1139526
--- /dev/null
+++ b/x11-themes/qt-bluecurve-theme/distinfo
@@ -0,0 +1 @@
+MD5 (redhat-artwork-0.47-3.src.rpm) = dba00c3881499d5e7060aa6a3f33affe
diff --git a/x11-themes/qt-bluecurve-theme/files/Makefile-qt3 b/x11-themes/qt-bluecurve-theme/files/Makefile-qt3
new file mode 100644
index 000000000000..5b77b025b543
--- /dev/null
+++ b/x11-themes/qt-bluecurve-theme/files/Makefile-qt3
@@ -0,0 +1,47 @@
+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
+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/pkg-comment b/x11-themes/qt-bluecurve-theme/pkg-comment
new file mode 100644
index 000000000000..177f51bbed6e
--- /dev/null
+++ b/x11-themes/qt-bluecurve-theme/pkg-comment
@@ -0,0 +1 @@
+Bluecurve unified-look theme for QT3 from RedHat 8.0
diff --git a/x11-themes/qt-bluecurve-theme/pkg-descr b/x11-themes/qt-bluecurve-theme/pkg-descr
new file mode 100644
index 000000000000..1c601bbe3df5
--- /dev/null
+++ b/x11-themes/qt-bluecurve-theme/pkg-descr
@@ -0,0 +1,6 @@
+This is a port of RedHat 8.0 "Bluecurve" theme for QT/KDE.
+It won't install RedHat logos and pixmaps, but only the required
+theme engines.
+
+- 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 000000000000..01e79ac664da
--- /dev/null
+++ b/x11-themes/qt-bluecurve-theme/pkg-plist
@@ -0,0 +1,2 @@
+plugins/styles/bluecurve.so
+@dirrm plugins/styles