pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/theme-dirs Initial import of theme-dirs, version ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/48b6a97a64df
branches:  trunk
changeset: 486166:48b6a97a64df
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Fri Dec 24 10:05:53 2004 +0000

description:
Initial import of theme-dirs, version 1.0:

theme-dirs installs a set of shared directories used by GTK2+ (gtk2-engines)
and other GNOME packages (such as metacity and gnome-themes).  It is useful
to simplify PLIST handling in other packages.

diffstat:

 misc/theme-dirs/DESCR    |   3 +++
 misc/theme-dirs/Makefile |  31 +++++++++++++++++++++++++++++++
 misc/theme-dirs/PLIST    |   1 +
 misc/theme-dirs/dirs.mk  |  47 +++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 82 insertions(+), 0 deletions(-)

diffs (98 lines):

diff -r 4ca2833476f3 -r 48b6a97a64df misc/theme-dirs/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/theme-dirs/DESCR     Fri Dec 24 10:05:53 2004 +0000
@@ -0,0 +1,3 @@
+theme-dirs installs a set of shared directories used by GTK2+ (gtk2-engines)
+and other GNOME packages (such as metacity and gnome-themes).  It is useful
+to simplify PLIST handling in other packages.
diff -r 4ca2833476f3 -r 48b6a97a64df misc/theme-dirs/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/theme-dirs/Makefile  Fri Dec 24 10:05:53 2004 +0000
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/12/24 10:05:53 jmmv Exp $
+#
+
+DISTNAME=      theme-dirs-1.0
+CATEGORIES=    misc gnome kde
+MASTER_SITES=  # empty
+DISTFILES=     # empty
+
+MAINTAINER=    jmmv%NetBSD.org@localhost
+HOMEPAGE=      # empty
+COMMENT=       Shared theme directories
+
+NO_BUILD=      # defined
+NO_BUILDLINK=  # defined
+NO_CONFIGURE=  # defined
+NO_CHECKSUM=   # defined
+NO_EXTRACT=    # defined
+USE_DIRS=      xdg-1.1
+USE_LANGUAGES= # empty
+USE_PKGINSTALL=        yes
+WRKSRC=                ${WRKDIR}
+
+.include "dirs.mk"
+.include "../../mk/bsd.prefs.mk"
+
+_SORTED!=      ${ECHO} ${THEME_DIRS} | ${TR} -s ' \t' '\n' | ${SORT}
+MAKE_DIRS+=    ${_SORTED:S/^/${PREFIX}\//}
+
+do-install:    # nothing
+
+.include "../../mk/bsd.pkg.mk"
diff -r 4ca2833476f3 -r 48b6a97a64df misc/theme-dirs/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/theme-dirs/PLIST     Fri Dec 24 10:05:53 2004 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/12/24 10:05:53 jmmv Exp $
diff -r 4ca2833476f3 -r 48b6a97a64df misc/theme-dirs/dirs.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/theme-dirs/dirs.mk   Fri Dec 24 10:05:53 2004 +0000
@@ -0,0 +1,47 @@
+# $NetBSD: dirs.mk,v 1.1.1.1 2004/12/24 10:05:53 jmmv Exp $
+#
+# This file is intended to be included by mk/dirs.mk, not directly by packages.
+#
+
+.if !defined(DIRS_THEME_MK)
+DIRS_THEME_MK=         # defined
+
+THEME_DIRS=            share/themes/AgingGorilla
+THEME_DIRS+=           share/themes/Atlanta
+THEME_DIRS+=           share/themes/Bright
+THEME_DIRS+=           share/themes/Crux
+THEME_DIRS+=           share/themes/Esco
+THEME_DIRS+=           share/themes/Glider
+THEME_DIRS+=           share/themes/Grand-Canyon
+THEME_DIRS+=           share/themes/HighContrast
+THEME_DIRS+=           share/themes/HighContrastInverse
+THEME_DIRS+=           share/themes/HighContrastLargePrint
+THEME_DIRS+=           share/themes/HighContrastLargePrintInverse
+THEME_DIRS+=           share/themes/Industrial
+THEME_DIRS+=           share/themes/LargePrint
+THEME_DIRS+=           share/themes/LighthouseBlue
+THEME_DIRS+=           share/themes/LowContrast
+THEME_DIRS+=           share/themes/LowContrastLargePrint
+THEME_DIRS+=           share/themes/Metabox
+THEME_DIRS+=           share/themes/Metal
+THEME_DIRS+=           share/themes/Mist
+THEME_DIRS+=           share/themes/Ocean-Dream
+THEME_DIRS+=           share/themes/Redmond
+THEME_DIRS+=           share/themes/Sandwish
+THEME_DIRS+=           share/themes/Simple
+THEME_DIRS+=           share/themes/Smokey
+THEME_DIRS+=           share/themes/Smokey-Blue
+THEME_DIRS+=           share/themes/ThinIce
+THEME_DIRS+=           share/themes/Traditional
+
+.if defined(_USE_THEME_DIRS) && !empty(_USE_THEME_DIRS)
+DEPENDS+=              theme-dirs>=${_USE_THEME_DIRS}:../../misc/theme-dirs
+
+.  for dir in ${THEME_DIRS}
+PRINT_PLIST_AWK+=      /^@dirrm ${dir:S|/|\\/|g}$$/ \
+                               { print "@comment in theme-dirs: " $$0; next; }
+.  endfor
+.  undef dir
+.endif
+
+.endif                 # !defined(DIRS_THEME_MK)



Home | Main Index | Thread Index | Old Index