summaryrefslogtreecommitdiffstats
path: root/x11-themes/gtk-industrial-theme
diff options
context:
space:
mode:
Diffstat (limited to 'x11-themes/gtk-industrial-theme')
-rw-r--r--x11-themes/gtk-industrial-theme/Makefile59
-rw-r--r--x11-themes/gtk-industrial-theme/distinfo3
-rw-r--r--x11-themes/gtk-industrial-theme/files/Makefile-gtk144
-rw-r--r--x11-themes/gtk-industrial-theme/pkg-descr3
-rw-r--r--x11-themes/gtk-industrial-theme/pkg-plist4
5 files changed, 113 insertions, 0 deletions
diff --git a/x11-themes/gtk-industrial-theme/Makefile b/x11-themes/gtk-industrial-theme/Makefile
new file mode 100644
index 000000000..72767ead2
--- /dev/null
+++ b/x11-themes/gtk-industrial-theme/Makefile
@@ -0,0 +1,59 @@
+# New ports collection makefile for: gtk-industrial-theme
+# Date created: 2 August 2003
+# Whom: Frank Ruell
+#
+# $FreeBSD$
+#
+
+PORTNAME= gtk-industrial-theme
+PORTVERSION= 0.2.29
+PORTREVISION= 4
+CATEGORIES= x11-themes
+MASTER_SITES= http://ftp.ximian.com/pub/xd2/redhat-9-i386/source/ \
+ ${MASTER_SITE_GENTOO:S,%SUBDIR%,distfiles,}
+DISTNAME= ximian-artwork-${PORTVERSION}-${XIMIAN_SUBVERSION}.ximian.${XIMIAN_DISTVERSION}.src
+EXTRACT_SUFX= .rpm
+
+MAINTAINER= stoerte@dreamwarrior.net
+COMMENT= Slick theme for GTK1 from Ximian
+
+EXTRACT_DEPENDS=rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
+
+WRKSRC= ${WRKDIR}/ximian-artwork-${PORTVERSION}
+USE_GMAKE= yes
+USE_GNOME= gdkpixbuf
+USE_AUTOTOOLS= libtool:15
+
+XIMIAN_SUBVERSION= 0
+XIMIAN_DISTVERSION= 6.3
+
+do-extract:
+ @${RM} -rf ${WRKDIR}
+ @${MKDIR} ${WRKDIR}
+ @if ! (cd ${WRKDIR} && rpm2cpio.pl ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX}\
+ | ${CPIO} -i ximian-artwork-${PORTVERSION}.tar.gz 2>/dev/null \
+ && ${GZIP_CMD} -dc ximian-artwork-${PORTVERSION}.tar.gz \
+ | tar -xf - && ${RM} ximian-artwork-${PORTVERSION}.tar.gz);\
+ then \
+ exit 1; \
+ fi
+ @${CP} ${FILESDIR}/Makefile-gtk1 ${WRKSRC}/gtk/gtk1-engine/Makefile
+
+post-patch:
+ @${REINPLACE_CMD} -e 's#-O2#${CFLAGS}#' \
+ ${WRKSRC}/gtk/gtk1-engine/Makefile
+
+do-configure:
+ @${DO_NADA}
+
+do-build:
+ (cd ${WRKSRC}/gtk/gtk1-engine/;\
+ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
+
+do-install:
+ @${MKDIR} ${PREFIX}/lib/gtk/themes/engines
+ @${INSTALL_PROGRAM} ${WRKSRC}/gtk/gtk1-engine/.libs/libindustrial.so ${PREFIX}/lib/gtk/themes/engines
+ @${MKDIR} ${PREFIX}/share/themes/Industrial/gtk
+ @${INSTALL_DATA} ${WRKSRC}/gtk/gtk1-engine/gtk/gtkrc ${PREFIX}/share/themes/Industrial/gtk
+
+.include <bsd.port.mk>
diff --git a/x11-themes/gtk-industrial-theme/distinfo b/x11-themes/gtk-industrial-theme/distinfo
new file mode 100644
index 000000000..507c2cc64
--- /dev/null
+++ b/x11-themes/gtk-industrial-theme/distinfo
@@ -0,0 +1,3 @@
+MD5 (ximian-artwork-0.2.29-0.ximian.6.3.src.rpm) = e9cb7d70a2e86570b8f9b7fff730adbc
+SHA256 (ximian-artwork-0.2.29-0.ximian.6.3.src.rpm) = 3703f6b1da092890b9200cca8e2a6be6269eb5e0f016339e3d2e2880ba156fff
+SIZE (ximian-artwork-0.2.29-0.ximian.6.3.src.rpm) = 3824967
diff --git a/x11-themes/gtk-industrial-theme/files/Makefile-gtk1 b/x11-themes/gtk-industrial-theme/files/Makefile-gtk1
new file mode 100644
index 000000000..af33131c2
--- /dev/null
+++ b/x11-themes/gtk-industrial-theme/files/Makefile-gtk1
@@ -0,0 +1,44 @@
+CC = cc
+CPP = cc -E
+CXX = c++
+CXXCPP = c++ -E
+GDK_PIXBUF_CFLAGS = `$(GDK_PIXBUF_CONFIG) --cflags`
+GDK_PIXBUF_LIBS = `$(GDK_PIXBUF_CONFIG) --libs`
+GTK_CFLAGS = `$(GTK_CONFIG) --cflags`
+GTK_LIBS = `$(GTK_CONFIG) --libs`
+LN_S = ln -s
+INCLUDES = $(GTK_CFLAGS) $(GDK_PIXBUF_CFLAGS)
+XLIBDIR=$(X11BASE)/lib
+LOCALLIBDIR=$(LOCALBASE)/lib
+enginedir = $(XLIBDIR)/gtk/themes/engines
+engine_LTLIBRARIES = libindustrial.la
+libindustrial_la_LDFLAGS = -module -avoid-version
+libindustrial_la_LIBADD = $(GTK_LIBS) $(GDK_PIXBUF_LIBS)
+EXTRA_DIST = raleigh_dot.c
+LTLIBRARIES = $(engine_LTLIBRARIES)
+CPPFLAGS = -I$(XLIBDIR) -I$(LOCALLIBDIR) -D_GETOPT_H -D_THREAD_SAFE
+LDFLAGS =
+LIBS = -Wl,-export-dynamic -L$(XLIBDIR) -L$(LOCALLIBDIR)
+libindustrial_la_DEPENDENCIES =
+libindustrial_la_OBJECTS = industrial1_theme_main.lo \
+industrial_style.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 $<
+libindustrial.la: $(libindustrial_la_OBJECTS) $(libindustrial_la_DEPENDENCIES)
+ $(LINK) -rpath $(enginedir) $(libindustrial_la_LDFLAGS) $(libindustrial_la_OBJECTS) $(libindustrial_la_LIBADD) $(LIBS)
+all-am: $(LTLIBRARIES)
+.NOEXPORT:
diff --git a/x11-themes/gtk-industrial-theme/pkg-descr b/x11-themes/gtk-industrial-theme/pkg-descr
new file mode 100644
index 000000000..fc881d1b8
--- /dev/null
+++ b/x11-themes/gtk-industrial-theme/pkg-descr
@@ -0,0 +1,3 @@
+Ximian's Industrial theme for GTK1.
+
+Frank Ruell <stoerte@dreamwarrior.net>
diff --git a/x11-themes/gtk-industrial-theme/pkg-plist b/x11-themes/gtk-industrial-theme/pkg-plist
new file mode 100644
index 000000000..7be8930d3
--- /dev/null
+++ b/x11-themes/gtk-industrial-theme/pkg-plist
@@ -0,0 +1,4 @@
+lib/gtk/themes/engines/libindustrial.so
+share/themes/Industrial/gtk/gtkrc
+@dirrm share/themes/Industrial/gtk
+@dirrmtry share/themes/Industrial