2005-01-20 07:23:13 +01:00
|
|
|
# New ports collection makefile for: linux-gtk-bluecurve-theme
|
|
|
|
# Date created: 19 Jun 2004
|
|
|
|
# Whom: Jean-Yves lefort
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2005-12-02 13:43:57 +01:00
|
|
|
PORTNAME= gtk-bluecurve-theme
|
|
|
|
DISTVERSION= 0.117-1
|
|
|
|
CATEGORIES= x11-themes linux
|
|
|
|
DISTNAME= redhat-artwork-${DISTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= jylefort@FreeBSD.org
|
|
|
|
COMMENT= The Bluecurve GTK+ 1.x and 2.x themes (Linux version)
|
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
2006-01-22 16:35:04 +01:00
|
|
|
USE_LINUX_RPM= yes
|
|
|
|
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
|
2006-01-22 16:40:23 +01:00
|
|
|
PLIST= ${WRKDIR}/.plist
|
2005-12-02 13:43:57 +01:00
|
|
|
|
|
|
|
# GTK+ 1.x theme engine
|
|
|
|
GTK1_RCDIR= gtk
|
|
|
|
GTK1_ENGINEDIR= usr/lib/gtk/themes/engines
|
|
|
|
GTK1_ENGINEDIRS=${GTK1_ENGINEDIR} usr/lib/gtk/themes usr/lib/gtk
|
|
|
|
|
|
|
|
# GTK+ 2.x theme engine
|
|
|
|
GTK2_RCDIR= gtk-2.0
|
|
|
|
GTK2_ENGINEDIR= usr/lib/gtk-2.0/2.4.0/engines
|
|
|
|
GTK2_ENGINEDIRS=${GTK2_ENGINEDIR} usr/lib/gtk-2.0/2.4.0 usr/lib/gtk-2.0
|
|
|
|
|
|
|
|
EXTRA_STYLES= BerriesAndCream Gnome Grape Lime Slate Strawberry Tangerine
|
|
|
|
THEMES= Bluecurve ${EXTRA_STYLES:S|^|Bluecurve-|}
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@${RM} -f ${PLIST}
|
|
|
|
.for v in 1 2
|
|
|
|
@${ECHO_CMD} '${GTK${v}_ENGINEDIR}/libbluecurve.so' >> ${PLIST}
|
|
|
|
. for d in ${GTK${v}_ENGINEDIRS}
|
2006-01-22 07:28:59 +01:00
|
|
|
@${ECHO_CMD} '@dirrmtry ${d}' >> ${PLIST}
|
2005-12-02 13:43:57 +01:00
|
|
|
. endfor
|
|
|
|
. for t in ${THEMES}
|
|
|
|
@${ECHO_CMD} 'usr/share/themes/${t}/${GTK${v}_RCDIR}/gtkrc' >> ${PLIST}
|
|
|
|
@${ECHO_CMD} '@dirrm usr/share/themes/${t}/${GTK${v}_RCDIR}' >> ${PLIST}
|
|
|
|
. endfor
|
|
|
|
.endfor
|
|
|
|
.for t in ${THEMES}
|
|
|
|
@${ECHO_CMD} '@dirrm usr/share/themes/${t}' >> ${PLIST}
|
|
|
|
.endfor
|
2006-01-22 07:28:59 +01:00
|
|
|
@${ECHO_CMD} '@dirrmtry usr/share/themes' >> ${PLIST}
|
2005-04-26 08:54:30 +02:00
|
|
|
|
2005-01-20 07:23:13 +01:00
|
|
|
do-install:
|
2005-12-02 13:43:57 +01:00
|
|
|
.for v in 1 2
|
|
|
|
${MKDIR} ${PREFIX}/${GTK${v}_ENGINEDIR}
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${GTK${v}_ENGINEDIR}/libbluecurve.so ${PREFIX}/${GTK${v}_ENGINEDIR}
|
|
|
|
. for t in ${THEMES}
|
|
|
|
${MKDIR} ${PREFIX}/usr/share/themes/${t}/${GTK${v}_RCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/usr/share/themes/${t}/${GTK${v}_RCDIR}/gtkrc ${PREFIX}/usr/share/themes/${t}/${GTK${v}_RCDIR}
|
|
|
|
. endfor
|
|
|
|
.endfor
|
|
|
|
|
2006-01-22 16:35:04 +01:00
|
|
|
.include <bsd.port.mk>
|