mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Chase the linux-gtk2 update by updating to 0.117-1 [1]
- Simplify the port by using audio/linux-openal/bsd.linux.mk - Add amd64 to ONLY_FOR_ARCHS - Relayout the Makefile (one tab less between variables and values) Reported by: daichi [1]
This commit is contained in:
parent
d46f58640a
commit
214ba76e5f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150225
@ -5,42 +5,55 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= linux-gtk-bluecurve-theme
|
||||
PORTVERSION= 0.88
|
||||
CATEGORIES= x11-themes
|
||||
MASTER_SITES= ${MASTER_SITE_FEDORA_LINUX}
|
||||
MASTER_SITE_SUBDIR= 1/${ARCH}/os/Fedora/RPMS
|
||||
DISTFILES= redhat-artwork-${PORTVERSION}-1.${ARCH}.rpm
|
||||
DIST_SUBDIR= rpm
|
||||
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= Bluecurve theme for GTK1 and GTK2 from Fedora Core (Linux version)
|
||||
MAINTAINER= jylefort@FreeBSD.org
|
||||
COMMENT= The Bluecurve GTK+ 1.x and 2.x themes (Linux version)
|
||||
|
||||
EXTRACT_DEPENDS= rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
|
||||
ONLY_FOR_ARCHS= i386 amd64
|
||||
|
||||
EXTRACT_CMD= rpm2cpio.pl
|
||||
EXTRACT_BEFORE_ARGS=
|
||||
EXTRACT_AFTER_ARGS= | ${CPIO} -id --quiet
|
||||
# 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
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
USE_LINUX_PREFIX= yes
|
||||
NO_BUILD= yes
|
||||
USE_REINPLACE= yes
|
||||
ONLY_FOR_ARCHS= i386
|
||||
# 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
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|include "iconrc"||' \
|
||||
${WRKSRC}/usr/share/themes/Bluecurve/gtk-2.0/gtkrc
|
||||
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:
|
||||
${MKDIR} ${PREFIX}/usr/share/themes/Bluecurve
|
||||
${MKDIR} ${PREFIX}/usr/lib/gtk-2.0/2.2.0/engines
|
||||
${MKDIR} ${PREFIX}/usr/share/themes/Bluecurve/gtk-2.0
|
||||
${INSTALL_DATA} ${WRKSRC}/usr/lib/gtk-2.0/2.2.0/engines/libbluecurve.so ${PREFIX}/usr/lib/gtk-2.0/2.2.0/engines
|
||||
${INSTALL_DATA} ${WRKSRC}/usr/share/themes/Bluecurve/gtk-2.0/gtkrc ${PREFIX}/usr/share/themes/Bluecurve/gtk-2.0
|
||||
${MKDIR} ${PREFIX}/usr/lib/gtk/themes/engines
|
||||
${INSTALL_DATA} ${WRKSRC}/usr/lib/gtk/themes/engines/libbluecurve.so ${PREFIX}/usr/lib/gtk/themes/engines
|
||||
${MKDIR} ${PREFIX}/usr/share/themes/Bluecurve/gtk
|
||||
${INSTALL_DATA} ${WRKSRC}/usr/share/themes/Bluecurve/gtk/gtkrc ${PREFIX}/usr/share/themes/Bluecurve/gtk
|
||||
.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 <bsd.port.mk>
|
||||
.include "${.CURDIR}/../../audio/linux-openal/bsd.linux.mk"
|
||||
|
@ -1,2 +0,0 @@
|
||||
MD5 (rpm/redhat-artwork-0.88-1.i386.rpm) = ac1cf87dacc478d6f90f6f056c1c3806
|
||||
SIZE (rpm/redhat-artwork-0.88-1.i386.rpm) = 4164330
|
3
x11-themes/linux-gtk-bluecurve-theme/distinfo.i386
Normal file
3
x11-themes/linux-gtk-bluecurve-theme/distinfo.i386
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (redhat-artwork-0.117-1.i386.rpm) = a1cc4cac4fcf2cff9256ab26a6b47a34
|
||||
SHA256 (redhat-artwork-0.117-1.i386.rpm) = 8bced4d34ec57725fcacb090f837ac85511fc449e0da6dacf296c1b2ef834482
|
||||
SIZE (redhat-artwork-0.117-1.i386.rpm) = 4922403
|
@ -1,10 +0,0 @@
|
||||
This is a port of Fedora Core "Bluecurve" theme for GTK/GNOME. It will not
|
||||
install RedHat logos and pixmaps, but only the required theme engines.
|
||||
|
||||
This is the Linux version, for use with x11-toolkits/linux-gtk and
|
||||
x11-toolkits/linux-gtk2.
|
||||
|
||||
WWW: http://fedora.redhat.com/projects/artwork/
|
||||
|
||||
- Jean-Yves Lefort
|
||||
jylefort@FreeBSD.org
|
@ -1,18 +0,0 @@
|
||||
usr/lib/gtk/themes/engines/libbluecurve.so
|
||||
usr/lib/gtk-2.0/2.2.0/engines/libbluecurve.so
|
||||
usr/share/themes/Bluecurve/gtk/gtkrc
|
||||
usr/share/themes/Bluecurve/gtk-2.0/gtkrc
|
||||
@unexec rmdir %D/usr/lib/gtk/themes/engines 2>/dev/null || true
|
||||
@unexec rmdir %D/usr/lib/gtk/themes 2>/dev/null || true
|
||||
@unexec rmdir %D/usr/lib/gtk 2>/dev/null || true
|
||||
@unexec rmdir %D/usr/lib/gtk-2.0/2.2.0/engines 2>/dev/null || true
|
||||
@unexec rmdir %D/usr/lib/gtk-2.0/2.2.0 2>/dev/null || true
|
||||
@unexec rmdir %D/usr/lib/gtk-2.0 2>/dev/null || true
|
||||
@unexec rmdir %D/usr/lib 2>/dev/null || true
|
||||
@dirrm usr/share/themes/Bluecurve/gtk
|
||||
@dirrm usr/share/themes/Bluecurve/gtk-2.0
|
||||
@dirrm usr/share/themes/Bluecurve
|
||||
@unexec rmdir %D/usr/share/themes 2>/dev/null || true
|
||||
@unexec rmdir %D/usr/share 2>/dev/null || true
|
||||
@unexec rmdir %D/usr 2>/dev/null || true
|
||||
@unexec rmdir %D 2>/dev/null || true
|
Loading…
Reference in New Issue
Block a user