Bug 47671

Summary: New port: x11-toolkits/gtk-qnxtheme
Product: Ports & Packages Reporter: Miguel Mendez <flynn>
Component: Individual Port(s)Assignee: Joe Marcus Clarke <marcus>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
gtk-qnxtheme.shar none

Description Miguel Mendez 2003-01-30 12:40:04 UTC
qnxtheme is a QNX-inspired theme for GTK1 and GTK2
Comment 1 Miguel Mendez 2003-01-30 12:52:13 UTC
On Thu, 30 Jan 2003 13:33:42 +0100 (CET)
Miguel Mendez <flynn@energyhq.homeip.net> wrote:

Do'h! Never send-pr before coffee. Use this shar instead...

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	gtk-qnxtheme
#	gtk-qnxtheme/Makefile
#	gtk-qnxtheme/distinfo
#	gtk-qnxtheme/pkg-comment
#	gtk-qnxtheme/pkg-descr
#	gtk-qnxtheme/pkg-plist
#	gtk-qnxtheme/Makefile~
#
echo c - gtk-qnxtheme
mkdir -p gtk-qnxtheme > /dev/null 2>&1
echo x - gtk-qnxtheme/Makefile
sed 's/^X//' >gtk-qnxtheme/Makefile << 'END-of-gtk-qnxtheme/Makefile'
X# New ports collection makefile for:	qnxtheme
X# Date created:         Thu Jan 30 13:27:44 CET 2003
X# Whom:                 Miguel Mendez <flynn@energyhq.homeip.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gtk-qnxtheme
XPORTVERSION=	0.1
XCATEGORIES=	x11-toolkits
XMASTER_SITES=	http://download.freshmeat.net/themes/qnxtheme/
XDISTNAME=	qnxtheme-default-${PORTVERSION}
X
XMAINTAINER=	flynn@energyhq.homeip.net
X
X.if defined(WITH_GTK2)
XLIB_DEPENDS+=	gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits/gtk20
XPLIST_SUB+=	GTK2=""
X.else
XPLIST_SUB+=	GTK2="@comment "
X.endif
X
XUSE_REINPLACE=	yes
XUSE_X_PREFIX=	yes
XUSE_GNOMENG=	yes
XNO_BUILD=	yes
XWRKSRC=		${WRKDIR}/QNX
X
Xpre-everything::
X	@${ECHO} ""
X	@${ECHO} "By default only gtk-1.2 theme engine will be built."
X	@${ECHO} "You may use the following build options:"
X	@${ECHO} ""
X	@${ECHO} "      WITH_GTK2=yes   Build gtk-2 theme"
X	@${ECHO} ""
X
Xdo-install:
X	@${REINPLACE_CMD} -e 's@/usr@${X11BASE}@g' ${WRKSRC}/gtk/gtkrc
X	@${REINPLACE_CMD} -e 's@QNX@qnxtheme@g' ${WRKSRC}/gtk/gtkrc
X	@${RM} -f ${WRKSRC}/gtk/gtkrc.bak
X	@${MKDIR} ${X11BASE}/share/themes/qnxtheme/gtk
X	@for i in ${WRKSRC}/gtk/*; do \
X		${INSTALL_DATA} $$i ${X11BASE}/share/themes/qnxtheme/gtk; \
X	done
X.if defined(WITH_GTK2)
X	@${REINPLACE_CMD} -e 's@/usr@${X11BASE}@g' ${WRKSRC}/gtk-2.0/gtkrc
X	@${REINPLACE_CMD} -e 's@QNX@qnxtheme@g' ${WRKSRC}/gtk-2.0/gtkrc
X	@${RM} -f ${WRKSRC}/gtk-2.0/gtkrc.bak
X	@${MKDIR} ${X11BASE}/share/themes/qnxtheme/gtk-2.0
X	@for i in ${WRKSRC}/gtk-2.0/*; do \
X		 ${INSTALL_DATA} $$i ${X11BASE}/share/themes/qnxtheme/gtk-2.0; \
X	done
X.endif
X
X.include <bsd.port.mk>
END-of-gtk-qnxtheme/Makefile
echo x - gtk-qnxtheme/distinfo
sed 's/^X//' >gtk-qnxtheme/distinfo << 'END-of-gtk-qnxtheme/distinfo'
XMD5 (qnxtheme-default-0.1.tar.gz) = e863ef52fb4a836f4c4c49bec9992d2f
END-of-gtk-qnxtheme/distinfo
echo x - gtk-qnxtheme/pkg-comment
sed 's/^X//' >gtk-qnxtheme/pkg-comment << 'END-of-gtk-qnxtheme/pkg-comment'
XQNX-inspired theme for GTK1 and GTK2
END-of-gtk-qnxtheme/pkg-comment
echo x - gtk-qnxtheme/pkg-descr
sed 's/^X//' >gtk-qnxtheme/pkg-descr << 'END-of-gtk-qnxtheme/pkg-descr'
Xqnxtheme is a QNX-inspired theme for GTK1 and GTK2
X
XMiguel Mendez <flynn@energyhq.homeip.net>
END-of-gtk-qnxtheme/pkg-descr
echo x - gtk-qnxtheme/pkg-plist
sed 's/^X//' >gtk-qnxtheme/pkg-plist << 'END-of-gtk-qnxtheme/pkg-plist'
Xshare/themes/qnxtheme/gtk/plus.png
Xshare/themes/qnxtheme/gtk/vbuttonbarpressed.png
Xshare/themes/qnxtheme/gtk/listheader.png
Xshare/themes/qnxtheme/gtk/listheaderpressed.png
Xshare/themes/qnxtheme/gtk/arrow_down2.png
Xshare/themes/qnxtheme/gtk/blank.png
Xshare/themes/qnxtheme/gtk/arrow_right2.png
Xshare/themes/qnxtheme/gtk/gtkrc
Xshare/themes/qnxtheme/gtk/mcheck1.png
Xshare/themes/qnxtheme/gtk/mcheck2.png
Xshare/themes/qnxtheme/gtk/arrow_right.png
Xshare/themes/qnxtheme/gtk/toolbutton.png
Xshare/themes/qnxtheme/gtk/arrow_left2.png
Xshare/themes/qnxtheme/gtk/toolbuttonpressed.png
Xshare/themes/qnxtheme/gtk/arrow_down.png
Xshare/themes/qnxtheme/gtk/trough.png
Xshare/themes/qnxtheme/gtk/mradio1.png
Xshare/themes/qnxtheme/gtk/mradio2.png
Xshare/themes/qnxtheme/gtk/checkfalse.png
Xshare/themes/qnxtheme/gtk/menuitem.png
Xshare/themes/qnxtheme/gtk/arrow_left.png
Xshare/themes/qnxtheme/gtk/button.png
Xshare/themes/qnxtheme/gtk/progressbar.png
Xshare/themes/qnxtheme/gtk/menubar.png
Xshare/themes/qnxtheme/gtk/minus.png
Xshare/themes/qnxtheme/gtk/arrow_up.png
Xshare/themes/qnxtheme/gtk/hline.png
Xshare/themes/qnxtheme/gtk/buttonpressed.png
Xshare/themes/qnxtheme/gtk/hbuttonbar.png
Xshare/themes/qnxtheme/gtk/scrollbar.png
Xshare/themes/qnxtheme/gtk/radiotrue.png
Xshare/themes/qnxtheme/gtk/radiofalse.png
Xshare/themes/qnxtheme/gtk/checktrue.png
Xshare/themes/qnxtheme/gtk/arrow_up2.png
Xshare/themes/qnxtheme/gtk/hbuttonbarpressed.png
Xshare/themes/qnxtheme/gtk/vbuttonbar.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/plus.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/vbuttonbarpressed.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/listheader.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/listheaderpressed.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/arrow_down2.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/blank.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/arrow_right2.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/gtkrc
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/mcheck1.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/mcheck2.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/arrow_right.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/toolbutton.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/arrow_left2.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/toolbuttonpressed.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/arrow_down.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/trough.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/mradio1.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/mradio2.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/checkfalse.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/menuitem.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/arrow_left.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/buttonbarpressed.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/button.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/progressbar.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/menubar.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/minus.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/arrow_up.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/hline.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/buttonpressed.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/hbuttonbar.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/scrollbar.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/radiotrue.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/buttonbar.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/radiofalse.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/checktrue.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/arrow_up2.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/hbuttonbarpressed.png
X%%GTK2%%share/themes/qnxtheme/gtk-2.0/vbuttonbar.png
X%%GTK2%%@dirrm share/themes/qnxtheme/gtk-2.0
X@dirrm share/themes/qnxtheme/gtk
X@dirrm share/themes/qnxtheme
END-of-gtk-qnxtheme/pkg-plist
echo x - gtk-qnxtheme/Makefile~
sed 's/^X//' >gtk-qnxtheme/Makefile~ << 'END-of-gtk-qnxtheme/Makefile~'
X# New ports collection makefile for:	qnxtheme
X# Date created:         Thu Jan 30 13:27:44 CET 2003
X# Whom:                 Miguel Mendez <flynn@energyhq.homeip.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gtk-qnxtheme
XPORTVERSION=	0.1
XCATEGORIES=	x11-toolkits
XMASTER_SITES=	http://download.freshmeat.net/themes/qnxtheme/
XDISTNAME=	qnxtheme-default-${PORTVERSION}
X
XMAINTAINER=	flynn@energyhq.homeip.net
X
X.if defined(WITH_GTK2)
XLIB_DEPENDS+=	gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits/gtk20
XPLIST_SUB+=	GTK2=""
X.else
XPLIST_SUB+=	GTK2="@comment "
X.endif
X
XUSE_REINPLACE=	yes
XUSE_X_PREFIX=	yes
XUSE_GNOMENG=	yes
XNO_BUILD=	yes
XWRKSRC=		${WRKDIR}/QNX
X
Xpre-everything::
X	@${ECHO} ""
X	@${ECHO} "By default only gtk-1.2 theme engine will be built."
X	@${ECHO} "You may use the following build options:"
X	@${ECHO} ""
X	@${ECHO} "      WITH_GTK2=yes   Build gtk-2 theme"
X	@${ECHO} ""
X
Xdo-install:
X	@${REINPLACE_CMD} -e 's@/usr@${X11BASE}@g' ${WRKSRC}/gtk/gtkrc
X	@${RM} -f ${WRKSRC}/gtk/gtkrc.bak
X	@${MKDIR} ${X11BASE}/share/themes/qnxtheme/gtk
X	@for i in ${WRKSRC}/gtk/*; do \
X		${INSTALL_DATA} $$i ${X11BASE}/share/themes/qnxtheme/gtk; \
X	done
X.if defined(WITH_GTK2)
X	@${REINPLACE_CMD} -e 's@/usr@${X11BASE}@g' ${WRKSRC}/gtk-2.0/gtkrc
X	@${RM} -f ${WRKSRC}/gtk-2.0/gtkrc.bak
X	@${MKDIR} ${X11BASE}/share/themes/qnxtheme/gtk-2.0
X	@for i in ${WRKSRC}/gtk-2.0/*; do \
X		 ${INSTALL_DATA} $$i ${X11BASE}/share/themes/qnxtheme/gtk-2.0; \
X	done
X.endif
X
X.include <bsd.port.mk>
END-of-gtk-qnxtheme/Makefile~
exit



-- 
        Miguel Mendez - flynn@energyhq.homeip.net
        GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
        EnergyHQ :: http://www.energyhq.tk
        Of course it runs NetBSD!
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2003-01-30 19:22:37 UTC
Responsible Changed
From-To: freebsd-ports-bugs->marcus

I'll take this.
Comment 3 Joe Marcus Clarke freebsd_committer freebsd_triage 2003-01-30 19:28:05 UTC
State Changed
From-To: open->closed

Committed, thanks!