diff options
author | jmmv <jmmv> | 2004-12-24 10:05:53 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2004-12-24 10:05:53 +0000 |
commit | 82249fe9a2eaa967ba5e9af0d98e86ea59c92628 (patch) | |
tree | 11f13cbbdf5f8e865e7f9049529faddb4e4f3cbf /misc | |
parent | f645736bdb3a75fbd8303096c4ee5a0d3d261a62 (diff) | |
download | pkgsrc-82249fe9a2eaa967ba5e9af0d98e86ea59c92628.tar.gz |
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 (limited to 'misc')
-rw-r--r-- | misc/theme-dirs/DESCR | 3 | ||||
-rw-r--r-- | misc/theme-dirs/Makefile | 31 | ||||
-rw-r--r-- | misc/theme-dirs/PLIST | 1 | ||||
-rw-r--r-- | misc/theme-dirs/dirs.mk | 47 |
4 files changed, 82 insertions, 0 deletions
diff --git a/misc/theme-dirs/DESCR b/misc/theme-dirs/DESCR new file mode 100644 index 00000000000..af5fb839902 --- /dev/null +++ b/misc/theme-dirs/DESCR @@ -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 --git a/misc/theme-dirs/Makefile b/misc/theme-dirs/Makefile new file mode 100644 index 00000000000..2c64c2011d3 --- /dev/null +++ b/misc/theme-dirs/Makefile @@ -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 +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 --git a/misc/theme-dirs/PLIST b/misc/theme-dirs/PLIST new file mode 100644 index 00000000000..3da55c9aa11 --- /dev/null +++ b/misc/theme-dirs/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/12/24 10:05:53 jmmv Exp $ diff --git a/misc/theme-dirs/dirs.mk b/misc/theme-dirs/dirs.mk new file mode 100644 index 00000000000..9327c073518 --- /dev/null +++ b/misc/theme-dirs/dirs.mk @@ -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) |