# New ports collection makefile for: linux-gtk-bluecurve-theme # Date created: 19 Jun 2004 # Whom: Jean-Yves lefort # # $FreeBSD$ # PORTNAME= gtk-bluecurve-theme DISTVERSION= 0.117-1 CATEGORIES= x11-themes linux MASTER_SITE_SUBDIR= 3/${LINUX_ARCH}/os/Fedora/RPMS/ 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 # 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} @${ECHO_CMD} '@unexec rmdir %D/${d} 2>/dev/null || true' >> ${PLIST} . 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 @${ECHO_CMD} '@unexec rmdir %D/usr/share/themes 2>/dev/null || true' >> ${PLIST} do-install: .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 .include "${.CURDIR}/../../audio/linux-openal/bsd.linux.mk"