Skip to content

Instantly share code, notes, and snippets.

@lichray
Created December 1, 2012 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lichray/4183102 to your computer and use it in GitHub Desktop.
Save lichray/4183102 to your computer and use it in GitHub Desktop.
Updated x11-themes/linux-gtk-bluecurve-theme, works for linux-f10
# 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:
#
# linux-gtk-bluecurve-theme.fc7
# linux-gtk-bluecurve-theme.fc7/distinfo.i386
# linux-gtk-bluecurve-theme.fc7/Makefile
#
echo c - linux-gtk-bluecurve-theme.fc7
mkdir -p linux-gtk-bluecurve-theme.fc7 > /dev/null 2>&1
echo x - linux-gtk-bluecurve-theme.fc7/distinfo.i386
sed 's/^X//' >linux-gtk-bluecurve-theme.fc7/distinfo.i386 << '34ff571328bc1f18e0a9bf83c124a9dd'
XSHA256 (rpm/i386/fedora/7/redhat-artwork-7.0.0-11.fc7.i386.rpm) = 711f0c6aea3e0bb06c0a11eda986bf4264aba9c8f94987ad9801e87f1ccc0c4e
XSIZE (rpm/i386/fedora/7/redhat-artwork-7.0.0-11.fc7.i386.rpm) = 6368048
34ff571328bc1f18e0a9bf83c124a9dd
echo x - linux-gtk-bluecurve-theme.fc7/Makefile
sed 's/^X//' >linux-gtk-bluecurve-theme.fc7/Makefile << 'c36872175922e669ff8fd9f4f8662f18'
X# $FreeBSD$
X#
X
XPORTNAME= gtk-bluecurve-theme
XPORTVERSION= 7.0.0
XCATEGORIES= x11-themes linux
XDISTNAME= redhat-artwork-${DISTVERSION}-${RPMVERSION}
XMASTER_SITE_SUBDIR= ../updates/7/i386
X
XMAINTAINER= ports@FreeBSD.org
XCOMMENT= The Bluecurve GTK+ themes (Linux version)
X
XONLY_FOR_ARCHS= i386 amd64
XUSE_LINUX_RPM= yes
XLINUX_DIST_VER= 7
XRPMVERSION= 11.fc7
XDESCR= ${PORTSDIR}/${PKGCATEGORY}/${PORTNAME}/pkg-descr
XPLIST= ${WRKDIR}/.plist
X
X# GTK+ 2.x theme engine
XGTK2_RCDIR= gtk-2.0
XGTK2_ENGINEDIR= usr/lib/gtk-2.0/2.10.0/engines
XGTK2_ENGINEDIRS=${GTK2_ENGINEDIR} usr/lib/gtk-2.0/2.10.0 usr/lib/gtk-2.0
X
XEXTRA_STYLES= BerriesAndCream Gnome Grape Lime Slate Strawberry Tangerine
XTHEMES= Bluecurve ${EXTRA_STYLES:S|^|Bluecurve-|}
X
Xpre-install:
X @${RM} -f ${PLIST}
X.for v in 2
X @${ECHO_CMD} '${GTK${v}_ENGINEDIR}/libbluecurve.so' >> ${PLIST}
X. for d in ${GTK${v}_ENGINEDIRS}
X @${ECHO_CMD} '@dirrmtry ${d}' >> ${PLIST}
X. endfor
X. for t in ${THEMES}
X @${ECHO_CMD} 'usr/share/themes/${t}/${GTK${v}_RCDIR}/gtkrc' >> ${PLIST}
X @${ECHO_CMD} '@dirrm usr/share/themes/${t}/${GTK${v}_RCDIR}' >> ${PLIST}
X. endfor
X.endfor
X.for t in ${THEMES}
X @${ECHO_CMD} '@dirrm usr/share/themes/${t}' >> ${PLIST}
X.endfor
X @${ECHO_CMD} '@dirrmtry usr/share/themes' >> ${PLIST}
X
Xdo-install:
X.for v in 2
X ${MKDIR} ${PREFIX}/${GTK${v}_ENGINEDIR}
X ${INSTALL_PROGRAM} ${WRKSRC}/${GTK${v}_ENGINEDIR}/libbluecurve.so ${PREFIX}/${GTK${v}_ENGINEDIR}
X. for t in ${THEMES}
X ${MKDIR} ${PREFIX}/usr/share/themes/${t}/${GTK${v}_RCDIR}
X ${INSTALL_DATA} ${WRKSRC}/usr/share/themes/${t}/${GTK${v}_RCDIR}/gtkrc ${PREFIX}/usr/share/themes/${t}/${GTK${v}_RCDIR}
X. endfor
X.endfor
X
X.include <bsd.port.mk>
c36872175922e669ff8fd9f4f8662f18
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment