diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-05-30 13:30:12 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-05-30 13:30:12 +0000 |
commit | 51c69fad3ae50709ce3b70dad0251c46ca0e1b27 (patch) | |
tree | f6a11e3490518151fbaa3011564198471d5a50c4 /x11-themes/bluecurve-themes | |
parent | daac81028d933c4acfcaf90a4c825713ad096a6d (diff) |
Notes
Diffstat (limited to 'x11-themes/bluecurve-themes')
-rw-r--r-- | x11-themes/bluecurve-themes/Makefile | 94 | ||||
-rw-r--r-- | x11-themes/bluecurve-themes/bsd.bluecurve.mk | 5 | ||||
-rw-r--r-- | x11-themes/bluecurve-themes/distinfo | 2 | ||||
-rw-r--r-- | x11-themes/bluecurve-themes/pkg-descr | 14 |
4 files changed, 115 insertions, 0 deletions
diff --git a/x11-themes/bluecurve-themes/Makefile b/x11-themes/bluecurve-themes/Makefile new file mode 100644 index 000000000000..b5fae89088e1 --- /dev/null +++ b/x11-themes/bluecurve-themes/Makefile @@ -0,0 +1,94 @@ +# New ports collection makefile for: bluecurve-themes +# Date created: 29 May 2005 +# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME?= bluecurve-themes +CATEGORIES= x11-themes + +MAINTAINER= jylefort@FreeBSD.org +COMMENT?= Meta-port for Bluecurve themes + +.if ${PORTNAME} == "bluecurve-themes" # meta-port + +PORTVERSION= 1.0 +MASTER_SITES= # empty +DISTFILES= # empty +EXTRACT_ONLY= # empty + +# note: gtk-/icon-/metacity- are brought in by gnome- +RUN_DEPENDS= ${X11BASE}/lib/X11/icons/Bluecurve/cursors/X_cursor:${PORTSDIR}/x11-themes/cursor-bluecurve-theme \ + ${X11BASE}/share/themes/Bluecurve/index.theme:${PORTSDIR}/x11-themes/gnome-bluecurve-theme \ + ${LINUXBASE}/usr/share/themes/Bluecurve/gtk-2.0/gtkrc:${PORTSDIR}/x11-themes/linux-gtk-bluecurve-theme \ + ${X11BASE}/lib/plugins/styles/bluecurve.so:${PORTSDIR}/x11-themes/qt-bluecurve-theme \ + ${X11BASE}/share/xmms/Skins/Bluecurve-xmms.zip:${PORTSDIR}/x11-themes/xmms-bluecurve-theme + +NO_BUILD= yes + +do-install: # empty + +.else # master port + +PORTVERSION= 0.122 +CATEGORIES= x11-themes +MASTER_SITES= ${MASTER_SITE_FEDORA_LINUX} +MASTER_SITE_SUBDIR= development/SRPMS +DISTFILES= redhat-artwork-${PORTVERSION}-10.src.rpm + +EXTRACT_DEPENDS+= rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio + +WRKSRC= ${WRKDIR}/redhat-artwork-${PORTVERSION} +PREFIX?= ${X11BASE} # USE_X_PREFIX would pull in USE_XLIB + +# the slave ports use their own pkg files and dirs +DESCR?= ${.CURDIR}/pkg-descr +PLIST?= ${.CURDIR}/pkg-plist +FILESDIR= ${.CURDIR}/files + +do-extract: + @${MKDIR} ${WRKDIR} + @cd ${WRKDIR} && \ + rpm2cpio.pl ${_DISTDIR}/${DISTFILES} | ${CPIO} -i --quiet redhat-artwork-${PORTVERSION}.tar.gz && \ + ${TAR} -zxf redhat-artwork-${PORTVERSION}.tar.gz && \ + ${RM} redhat-artwork-${PORTVERSION}.tar.gz + +.if defined(BC_HIERS) + +PLIST= ${WRKDIR}/pkg-plist + +pre-install: bc-generate-plist + +bc-generate-plist: + @${RM} -f ${PLIST} + @for h in ${BC_HIERS}; do \ + src=`${ECHO_CMD} "$$h" | ${CUT} -f 1 -d ':'` && \ + dst_rel=`${ECHO_CMD} "$$h" | ${CUT} -f 2 -d ':' | ${SED} -e 's|^${PREFIX}/||'` && \ + cd "$$src" && \ + ${FIND} * ! -type d | ${SORT} \ + | ${SED} -e "s|^|$$dst_rel/|" >> ${PLIST} && \ + ${FIND} * -type d ! -empty | ${SORT} -r \ + | ${SED} -e "s|^|@dirrm $$dst_rel/|" >> ${PLIST}; \ + done + +do-install: + for h in ${BC_HIERS}; do \ + src=`${ECHO_CMD} "$$h" | ${CUT} -f 1 -d ':'` && \ + dst=`${ECHO_CMD} "$$h" | ${CUT} -f 2 -d ':'` && \ + ${MKDIR} "$$dst" && cd "$$src" && \ + ${FIND} * -type d ! -empty -exec \ + ${MKDIR} "$$dst/{}" \; && \ + ${FIND} * -type l -exec \ + ${CP} -Rf "{}" "$$dst/{}" \; && \ + ${FIND} * ! -type d ! -type l -exec \ + ${INSTALL_DATA} "{}" "$$dst/{}" \; ; \ + done + +.endif # BC_HIERS + +.endif # master port + +.if !defined(_BC_MK_INCLUDED) +.include <bsd.port.mk> +.endif diff --git a/x11-themes/bluecurve-themes/bsd.bluecurve.mk b/x11-themes/bluecurve-themes/bsd.bluecurve.mk new file mode 100644 index 000000000000..e59b03257f3f --- /dev/null +++ b/x11-themes/bluecurve-themes/bsd.bluecurve.mk @@ -0,0 +1,5 @@ +# $FreeBSD$ + +_BC_MK_INCLUDED= yes + +.include "${MASTERDIR}/Makefile" diff --git a/x11-themes/bluecurve-themes/distinfo b/x11-themes/bluecurve-themes/distinfo new file mode 100644 index 000000000000..931d019678dc --- /dev/null +++ b/x11-themes/bluecurve-themes/distinfo @@ -0,0 +1,2 @@ +MD5 (redhat-artwork-0.122-10.src.rpm) = 3c05cc9272b46ab923626f7987fc41f5 +SIZE (redhat-artwork-0.122-10.src.rpm) = 7846926 diff --git a/x11-themes/bluecurve-themes/pkg-descr b/x11-themes/bluecurve-themes/pkg-descr new file mode 100644 index 000000000000..ec6dece35915 --- /dev/null +++ b/x11-themes/bluecurve-themes/pkg-descr @@ -0,0 +1,14 @@ +Bluecurve is a set of themes created by the Red Hat Artwork project. +It attempts to provide an unified look for the open source desktop. + +This meta-port installs all the Bluecurve ports, namely: + + - the GTK+ themes (1.x and 2.x, native and Linux versions) + - the QT theme + - the Metacity themes + - the icon set + - the X cursor themes + - the XMMS skin + +- Jean-Yves Lefort +jylefort@FreeBSD.org |