diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-08-19 16:36:31 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-08-19 16:36:31 +0000 |
commit | ac70e7c7f9841880e79c2a6b961e6d172c3306df (patch) | |
tree | 9ae26b1bbda2463ca79809c71e4795c91f3b5ea4 /x11-themes | |
parent | f456a3317b0e71046d090d63d130719d72319b66 (diff) | |
download | ports-ac70e7c7f9841880e79c2a6b961e6d172c3306df.tar.gz ports-ac70e7c7f9841880e79c2a6b961e6d172c3306df.zip |
Notes
Diffstat (limited to 'x11-themes')
-rw-r--r-- | x11-themes/gtk-industrial-theme/Makefile | 60 | ||||
-rw-r--r-- | x11-themes/gtk-industrial-theme/distinfo | 1 | ||||
-rw-r--r-- | x11-themes/gtk-industrial-theme/files/Makefile-gtk1 | 46 | ||||
-rw-r--r-- | x11-themes/gtk-industrial-theme/pkg-descr | 3 | ||||
-rw-r--r-- | x11-themes/gtk-industrial-theme/pkg-plist | 4 |
5 files changed, 114 insertions, 0 deletions
diff --git a/x11-themes/gtk-industrial-theme/Makefile b/x11-themes/gtk-industrial-theme/Makefile new file mode 100644 index 000000000000..9475247d80ac --- /dev/null +++ b/x11-themes/gtk-industrial-theme/Makefile @@ -0,0 +1,60 @@ +# New ports collection makefile for: gtk-industrial-theme +# Date created: 2 August 2003 +# Whom: Frank Ruell +# +# $FreeBSD$ +# + +PORTNAME= gtk-industrial-theme +PORTVERSION= 0.2.26 +PORTREVISION= 2 +CATEGORIES= x11-toolkits +MASTER_SITES= http://ftp.ximian.com/pub/xd2/redhat-9-i386/source/ +DISTNAME= ximian-artwork-${PORTVERSION}-${XIMIAN_SUBVERSION}.ximian.${XIMIAN_DISTVERSION}.src +EXTRACT_SUFX= .rpm + +MAINTAINER= stoerte@dreamwarrior.net +COMMENT= Slick theme for GTK1 from Ximian + +BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio + +WRKSRC= ${WRKDIR}/ximian-artwork-${PORTVERSION} +USE_GMAKE= yes +USE_X_PREFIX= yes +USE_GNOME= gdkpixbuf +USE_REINPLACE= yes +USE_LIBTOOL= yes + +XIMIAN_SUBVERSION= 0 +XIMIAN_DISTVERSION= 6.1 +THEMES_SUBDIRS= ${WRKSRC}/gtk/gtk1-engine/ + +do-extract: + @${RM} -rf ${WRKDIR} + @${MKDIR} ${WRKDIR} + @if ! (cd ${WRKDIR} && rpm2cpio ${_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: + @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}/share/themes/Industrial && ${CHMOD} a+rx ${PREFIX}/share/themes/Industrial + @${MKDIR} ${PREFIX}/lib/gtk/themes/engines && ${CHMOD} a+rx ${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 && ${CHMOD} a+rx ${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 000000000000..ae495ea8a219 --- /dev/null +++ b/x11-themes/gtk-industrial-theme/distinfo @@ -0,0 +1 @@ +MD5 (ximian-artwork-0.2.26-0.ximian.6.1.src.rpm) = 40a4b551cab97860eead3cff519e7278 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 000000000000..d42a6d8f8da0 --- /dev/null +++ b/x11-themes/gtk-industrial-theme/files/Makefile-gtk1 @@ -0,0 +1,46 @@ +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 = 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/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 +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 000000000000..fc881d1b8440 --- /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 000000000000..e39493ecfaaa --- /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 +@dirrm share/themes/Industrial |