pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/kde4-dirs Import of kde4-dirs 1.0 from pkgsrc-wip.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4073e23b5561
branches:  trunk
changeset: 549452:4073e23b5561
user:      markd <markd%pkgsrc.org@localhost>
date:      Mon Nov 03 10:27:54 2008 +0000

description:
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.

diffstat:

 misc/kde4-dirs/DESCR    |    2 +
 misc/kde4-dirs/Makefile |   30 ++++++++++++
 misc/kde4-dirs/dirs.mk  |  117 ++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 149 insertions(+), 0 deletions(-)

diffs (161 lines):

diff -r 6b42cfc21702 -r 4073e23b5561 misc/kde4-dirs/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/kde4-dirs/DESCR      Mon Nov 03 10:27:54 2008 +0000
@@ -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 -r 6b42cfc21702 -r 4073e23b5561 misc/kde4-dirs/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/kde4-dirs/Makefile   Mon Nov 03 10:27:54 2008 +0000
@@ -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@localhost
+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 -r 6b42cfc21702 -r 4073e23b5561 misc/kde4-dirs/dirs.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/kde4-dirs/dirs.mk    Mon Nov 03 10:27:54 2008 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index