diff options
author | markd <markd@pkgsrc.org> | 2008-11-03 10:27:54 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2008-11-03 10:27:54 +0000 |
commit | 7ce9aa58c228777b08d44c2d30d8597df474421b (patch) | |
tree | f1077eae2ce47151932563288323d49e0fa3a675 | |
parent | 9ca9a2327f3314e6cc9b8ae65f43d6483dea34e9 (diff) | |
download | pkgsrc-7ce9aa58c228777b08d44c2d30d8597df474421b.tar.gz |
Import of kde4-dirs 1.0 from pkgsrc-wip.
kde4-dirs installs a set of shared directories used by many KDE4
applications. It is useful to simplify PLIST handling in other packages.
-rw-r--r-- | misc/kde4-dirs/DESCR | 2 | ||||
-rw-r--r-- | misc/kde4-dirs/Makefile | 30 | ||||
-rw-r--r-- | misc/kde4-dirs/dirs.mk | 117 |
3 files changed, 149 insertions, 0 deletions
diff --git a/misc/kde4-dirs/DESCR b/misc/kde4-dirs/DESCR new file mode 100644 index 00000000000..10c7b97b1ad --- /dev/null +++ b/misc/kde4-dirs/DESCR @@ -0,0 +1,2 @@ +kde4-dirs installs a set of shared directories used by many KDE4 +applications. It is useful to simplify PLIST handling in other packages. diff --git a/misc/kde4-dirs/Makefile b/misc/kde4-dirs/Makefile new file mode 100644 index 00000000000..444f975ebfe --- /dev/null +++ b/misc/kde4-dirs/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/11/03 10:27:54 markd Exp $ +# + +DISTNAME= kde4-dirs-1.0 +CATEGORIES= misc kde +MASTER_SITES= # empty +DISTFILES= # empty + +MAINTAINER= markd@NetBSD.org +HOMEPAGE= # empty +COMMENT= Shared KDE (v4) directories + +PKG_DESTDIR_SUPPORT= user-destdir + +WRKSRC= ${WRKDIR} +USE_LANGUAGES= # empty +NO_EXTRACT= yes +NO_CHECKSUM= yes +NO_CONFIGURE= yes +NO_BUILD= yes +PLIST_SRC= # empty + +.include "dirs.mk" +.include "../../mk/bsd.prefs.mk" + +REQD_DIRS+= ${KDE4_DIRS:O:S/^/${PREFIX}\//} + +do-install: # nothing + +.include "../../mk/bsd.pkg.mk" diff --git a/misc/kde4-dirs/dirs.mk b/misc/kde4-dirs/dirs.mk new file mode 100644 index 00000000000..d5bf401f178 --- /dev/null +++ b/misc/kde4-dirs/dirs.mk @@ -0,0 +1,117 @@ +# $NetBSD: dirs.mk,v 1.1.1.1 2008/11/03 10:27:54 markd Exp $ +# + +.if !defined(DIRS_KDE4_MK) +DIRS_KDE4_MK= #defined + +_USE_XDG_DIRS= 1.2 +.include "../../misc/xdg-dirs/dirs.mk" + +KDE4_DIRS= include/KDE +KDE4_DIRS+= include/dom +KDE4_DIRS+= include/kparts +KDE4_DIRS+= include/solid +KDE4_DIRS+= lib/kconf_update_bin +KDE4_DIRS+= lib/kde4 +KDE4_DIRS+= lib/kde4/libexec +KDE4_DIRS+= lib/kde4/plugins +KDE4_DIRS+= lib/kde4/plugins/designer +KDE4_DIRS+= lib/kde4/plugins/styles +KDE4_DIRS+= share/applications/kde4 +KDE4_DIRS+= share/doc/kde +KDE4_DIRS+= share/doc/kde/HTML + +.for lang in af ar az bg bn br bs ca cs cy da de el en en_GB eo es et eu \ + fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms \ + nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv \ + ta tg tr uk uz vi zh_CN zh_TW +KDE4_DIRS+= share/doc/kde/HTML/${lang} +KDE4_DIRS+= share/doc/kde/HTML/${lang}/common +.endfor + +KDE4_DIRS+= share/doc/kde/HTML/en/kcontrol + +_ICONCOLORS= crystalsvg locolor oxygen +_ICONSIZES= 16x16 22x22 32x32 48x48 64x64 128x128 scalable +_ICONDIRS= animations actions apps categories devices emblems +_ICONDIRS+= emotes filesystems intl mimetypes places status + +.for color in ${_ICONCOLORS} +KDE4_DIRS+= share/icons/${color} +. for size in ${_ICONSIZES} +KDE4_DIRS+= share/icons/${color}/${size} +. for dir in ${_ICONDIRS} +KDE4_DIRS+= share/icons/${color}/${size}/${dir} +. endfor +. endfor +.endfor + +KDE4_DIRS+= share/dbus-1/interfaces +KDE4_DIRS+= share/emoticons + +KDE4_DIRS+= share/kde +KDE4_DIRS+= share/kde/apps +KDE4_DIRS+= share/kde/apps/cmake +KDE4_DIRS+= share/kde/apps/cmake/modules +KDE4_DIRS+= share/kde/apps/color-schemes +KDE4_DIRS+= share/kde/apps/desktoptheme +KDE4_DIRS+= share/kde/apps/desktoptheme/default +KDE4_DIRS+= share/kde/apps/desktoptheme/default/widgets +KDE4_DIRS+= share/kde/apps/kabc +KDE4_DIRS+= share/kde/apps/kabc/formats +KDE4_DIRS+= share/kde/apps/katepart +KDE4_DIRS+= share/kde/apps/katepart/syntax +KDE4_DIRS+= share/kde/apps/kcm_componentchooser +KDE4_DIRS+= share/kde/apps/kcharselect +KDE4_DIRS+= share/kde/apps/kconf_update +KDE4_DIRS+= share/kde/apps/kcontrol +KDE4_DIRS+= share/kde/apps/kcontrol/pics +KDE4_DIRS+= share/kde/apps/kdesktop +KDE4_DIRS+= share/kde/apps/kdesktop/programs +KDE4_DIRS+= share/kde/apps/kdm +KDE4_DIRS+= share/kde/apps/kdm/pics +KDE4_DIRS+= share/kde/apps/kdm/pics/users +KDE4_DIRS+= share/kde/apps/khtml +KDE4_DIRS+= share/kde/apps/khtml/kpartplugins +KDE4_DIRS+= share/kde/apps/kicker +KDE4_DIRS+= share/kde/apps/kicker/applets +KDE4_DIRS+= share/kde/apps/konqueror +KDE4_DIRS+= share/kde/apps/konqsidebartng +KDE4_DIRS+= share/kde/apps/konqsidebartng/virtual_folders +KDE4_DIRS+= share/kde/apps/konqsidebartng/virtual_folders/services +KDE4_DIRS+= share/kde/apps/kstyle +KDE4_DIRS+= share/kde/apps/kstyle/themes +KDE4_DIRS+= share/kde/apps/kwin +KDE4_DIRS+= share/kde/apps/kworldclock +KDE4_DIRS+= share/kde/apps/kworldclock/maps +KDE4_DIRS+= share/kde/apps/nepomuk +KDE4_DIRS+= share/kde/apps/nepomuk/ontologies +KDE4_DIRS+= share/kde/apps/nepomuk/pics +KDE4_DIRS+= share/kde/apps/remoteview +KDE4_DIRS+= share/kde/autostart +KDE4_DIRS+= share/kde/config +KDE4_DIRS+= share/kde/config.kcfg +KDE4_DIRS+= share/kde/templates +KDE4_DIRS+= share/kde/templates/.source +KDE4_DIRS+= share/kde/wallpapers +KDE4_DIRS+= share/kde4 +KDE4_DIRS+= share/kde4/services +KDE4_DIRS+= share/kde4/services/ScreenSavers +KDE4_DIRS+= share/kde4/services/ServiceMenus +KDE4_DIRS+= share/kde4/services/kded +KDE4_DIRS+= share/kde4/services/kresources +KDE4_DIRS+= share/kde4/services/kresources/kabc +KDE4_DIRS+= share/kde4/services/kresources/kcal +KDE4_DIRS+= share/kde4/servicetypes + +.if defined(_USE_KDE4_DIRS) && !empty(_USE_KDE4_DIRS) +DEPENDS+= kde4-dirs>=${_USE_KDE4_DIRS}:../../wip/kde4-dirs + +. for dir in ${KDE4_DIRS} +PRINT_PLIST_AWK+= /^@exec \$${MKDIR} %D\/${dir:S|/|\\/|g}$$/ { next; } +PRINT_PLIST_AWK+= /^@dirrm ${dir:S|/|\\/|g}$$/ \ + { print "@comment in kde: " $$0; next; } +. endfor +.endif + +.endif # !defined(DIRS_KDE4_MK) |