aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-01-31 03:27:51 +0800
committermarcus <marcus@FreeBSD.org>2003-01-31 03:27:51 +0800
commit417c0f903f2a323f92fb5196f79bb8e587e2d31a (patch)
tree84eb0409006b744d7e141c1d5344517673db0077 /x11-toolkits
parent2d10d109ed9e4abc538adc9b4a4d054a3ab94644 (diff)
downloadfreebsd-ports-gnome-417c0f903f2a323f92fb5196f79bb8e587e2d31a.tar.gz
freebsd-ports-gnome-417c0f903f2a323f92fb5196f79bb8e587e2d31a.tar.zst
freebsd-ports-gnome-417c0f903f2a323f92fb5196f79bb8e587e2d31a.zip
Add gtk-qnxtheme, a QNX-inspired theme for GTK 1 and 2.
PR: 47671 Submitted by: Miguel Mendez <flynn@energyhq.homeip.net>
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/Makefile1
-rw-r--r--x11-toolkits/gtk-qnxtheme/Makefile54
-rw-r--r--x11-toolkits/gtk-qnxtheme/distinfo1
-rw-r--r--x11-toolkits/gtk-qnxtheme/pkg-comment1
-rw-r--r--x11-toolkits/gtk-qnxtheme/pkg-descr3
-rw-r--r--x11-toolkits/gtk-qnxtheme/pkg-plist77
6 files changed, 137 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index e7d4c316eb8a..9699dc3ea75d 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -44,6 +44,7 @@
SUBDIR += gtk-engines2
SUBDIR += gtk-flat-theme
SUBDIR += gtk-qn-x11-theme
+ SUBDIR += gtk-qnxtheme
SUBDIR += gtk-sharp
SUBDIR += gtk-xfce-engine
SUBDIR += gtk-zenith-theme
diff --git a/x11-toolkits/gtk-qnxtheme/Makefile b/x11-toolkits/gtk-qnxtheme/Makefile
new file mode 100644
index 000000000000..c4e7812296fc
--- /dev/null
+++ b/x11-toolkits/gtk-qnxtheme/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: qnxtheme
+# Date created: Thu Jan 30 13:27:44 CET 2003
+# Whom: Miguel Mendez <flynn@energyhq.homeip.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gtk-qnxtheme
+PORTVERSION= 0.1
+CATEGORIES= x11-toolkits
+MASTER_SITES= http://download.freshmeat.net/themes/qnxtheme/
+DISTNAME= qnxtheme-default-${PORTVERSION}
+
+MAINTAINER= flynn@energyhq.homeip.net
+
+.if defined(WITH_GTK2)
+LIB_DEPENDS+= gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits/gtk20
+PLIST_SUB+= GTK2=""
+.else
+PLIST_SUB+= GTK2="@comment "
+.endif
+
+USE_REINPLACE= yes
+USE_X_PREFIX= yes
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/QNX
+
+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-install:
+ @${REINPLACE_CMD} -e 's@/usr@${X11BASE}@g' ${WRKSRC}/gtk/gtkrc
+ @${REINPLACE_CMD} -e 's@QNX@qnxtheme@g' ${WRKSRC}/gtk/gtkrc
+ @${RM} -f ${WRKSRC}/gtk/gtkrc.bak
+ @${MKDIR} ${X11BASE}/share/themes/qnxtheme/gtk
+ @for i in ${WRKSRC}/gtk/*; do \
+ ${INSTALL_DATA} $$i ${X11BASE}/share/themes/qnxtheme/gtk; \
+ done
+.if defined(WITH_GTK2)
+ @${REINPLACE_CMD} -e 's@/usr@${X11BASE}@g' ${WRKSRC}/gtk-2.0/gtkrc
+ @${REINPLACE_CMD} -e 's@QNX@qnxtheme@g' ${WRKSRC}/gtk-2.0/gtkrc
+ @${RM} -f ${WRKSRC}/gtk-2.0/gtkrc.bak
+ @${MKDIR} ${X11BASE}/share/themes/qnxtheme/gtk-2.0
+ @for i in ${WRKSRC}/gtk-2.0/*; do \
+ ${INSTALL_DATA} $$i ${X11BASE}/share/themes/qnxtheme/gtk-2.0; \
+ done
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/gtk-qnxtheme/distinfo b/x11-toolkits/gtk-qnxtheme/distinfo
new file mode 100644
index 000000000000..94b3ca471166
--- /dev/null
+++ b/x11-toolkits/gtk-qnxtheme/distinfo
@@ -0,0 +1 @@
+MD5 (qnxtheme-default-0.1.tar.gz) = e863ef52fb4a836f4c4c49bec9992d2f
diff --git a/x11-toolkits/gtk-qnxtheme/pkg-comment b/x11-toolkits/gtk-qnxtheme/pkg-comment
new file mode 100644
index 000000000000..b6b1c3c1e3cd
--- /dev/null
+++ b/x11-toolkits/gtk-qnxtheme/pkg-comment
@@ -0,0 +1 @@
+QNX-inspired theme for GTK1 and GTK2
diff --git a/x11-toolkits/gtk-qnxtheme/pkg-descr b/x11-toolkits/gtk-qnxtheme/pkg-descr
new file mode 100644
index 000000000000..702cb901fa0a
--- /dev/null
+++ b/x11-toolkits/gtk-qnxtheme/pkg-descr
@@ -0,0 +1,3 @@
+qnxtheme is a QNX-inspired theme for GTK1 and GTK2.
+
+Miguel Mendez <flynn@energyhq.homeip.net>
diff --git a/x11-toolkits/gtk-qnxtheme/pkg-plist b/x11-toolkits/gtk-qnxtheme/pkg-plist
new file mode 100644
index 000000000000..14f3c6649596
--- /dev/null
+++ b/x11-toolkits/gtk-qnxtheme/pkg-plist
@@ -0,0 +1,77 @@
+share/themes/qnxtheme/gtk/plus.png
+share/themes/qnxtheme/gtk/vbuttonbarpressed.png
+share/themes/qnxtheme/gtk/listheader.png
+share/themes/qnxtheme/gtk/listheaderpressed.png
+share/themes/qnxtheme/gtk/arrow_down2.png
+share/themes/qnxtheme/gtk/blank.png
+share/themes/qnxtheme/gtk/arrow_right2.png
+share/themes/qnxtheme/gtk/gtkrc
+share/themes/qnxtheme/gtk/mcheck1.png
+share/themes/qnxtheme/gtk/mcheck2.png
+share/themes/qnxtheme/gtk/arrow_right.png
+share/themes/qnxtheme/gtk/toolbutton.png
+share/themes/qnxtheme/gtk/arrow_left2.png
+share/themes/qnxtheme/gtk/toolbuttonpressed.png
+share/themes/qnxtheme/gtk/arrow_down.png
+share/themes/qnxtheme/gtk/trough.png
+share/themes/qnxtheme/gtk/mradio1.png
+share/themes/qnxtheme/gtk/mradio2.png
+share/themes/qnxtheme/gtk/checkfalse.png
+share/themes/qnxtheme/gtk/menuitem.png
+share/themes/qnxtheme/gtk/arrow_left.png
+share/themes/qnxtheme/gtk/button.png
+share/themes/qnxtheme/gtk/progressbar.png
+share/themes/qnxtheme/gtk/menubar.png
+share/themes/qnxtheme/gtk/minus.png
+share/themes/qnxtheme/gtk/arrow_up.png
+share/themes/qnxtheme/gtk/hline.png
+share/themes/qnxtheme/gtk/buttonpressed.png
+share/themes/qnxtheme/gtk/hbuttonbar.png
+share/themes/qnxtheme/gtk/scrollbar.png
+share/themes/qnxtheme/gtk/radiotrue.png
+share/themes/qnxtheme/gtk/radiofalse.png
+share/themes/qnxtheme/gtk/checktrue.png
+share/themes/qnxtheme/gtk/arrow_up2.png
+share/themes/qnxtheme/gtk/hbuttonbarpressed.png
+share/themes/qnxtheme/gtk/vbuttonbar.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/plus.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/vbuttonbarpressed.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/listheader.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/listheaderpressed.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/arrow_down2.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/blank.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/arrow_right2.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/gtkrc
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/mcheck1.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/mcheck2.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/arrow_right.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/toolbutton.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/arrow_left2.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/toolbuttonpressed.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/arrow_down.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/trough.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/mradio1.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/mradio2.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/checkfalse.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/menuitem.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/arrow_left.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/buttonbarpressed.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/button.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/progressbar.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/menubar.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/minus.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/arrow_up.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/hline.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/buttonpressed.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/hbuttonbar.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/scrollbar.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/radiotrue.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/buttonbar.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/radiofalse.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/checktrue.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/arrow_up2.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/hbuttonbarpressed.png
+%%GTK2%%share/themes/qnxtheme/gtk-2.0/vbuttonbar.png
+%%GTK2%%@dirrm share/themes/qnxtheme/gtk-2.0
+@dirrm share/themes/qnxtheme/gtk
+@dirrm share/themes/qnxtheme