diff options
-rw-r--r-- | audio/gnome-media/pkg-plist | 2 | ||||
-rw-r--r-- | audio/pulseaudio/pkg-plist | 2 | ||||
-rw-r--r-- | misc/gnomehier/Makefile | 62 | ||||
-rw-r--r-- | misc/gnomehier/files/dirlist | 101 | ||||
-rw-r--r-- | misc/gnomehier/files/pkg-install.in | 8 | ||||
-rw-r--r-- | misc/gnomehier/pkg-descr | 3 | ||||
-rw-r--r-- | net/vino/pkg-plist | 2 | ||||
-rw-r--r-- | security/gnome-keyring/pkg-plist | 2 | ||||
-rw-r--r-- | security/seahorse/pkg-plist | 2 | ||||
-rw-r--r-- | sysutils/gnome-control-center/pkg-plist | 1 | ||||
-rw-r--r-- | sysutils/gnome-settings-daemon/pkg-plist | 2 | ||||
-rw-r--r-- | sysutils/tracker-client/pkg-plist | 2 | ||||
-rw-r--r-- | www/gnome-user-share/pkg-plist | 2 | ||||
-rw-r--r-- | x11/gnome-menus/pkg-plist | 2 | ||||
-rw-r--r-- | x11/gnome-session/pkg-plist | 2 |
15 files changed, 174 insertions, 21 deletions
diff --git a/audio/gnome-media/pkg-plist b/audio/gnome-media/pkg-plist index 3cc0aafd8..eb439b726 100644 --- a/audio/gnome-media/pkg-plist +++ b/audio/gnome-media/pkg-plist @@ -277,8 +277,6 @@ share/sounds/gnome/default/alerts/sonar.ogg @dirrmtry share/applications @dirrm include/gnome-media/profiles @dirrm include/gnome-media -@dirrmtry etc/xdg/autostart -@dirrmtry etc/xdg @dirrmtry share/locale/zh_HK/LC_MESSAGES @dirrmtry share/locale/zh_HK @dirrmtry share/locale/xh/LC_MESSAGES diff --git a/audio/pulseaudio/pkg-plist b/audio/pulseaudio/pkg-plist index cc1f9da74..719377892 100644 --- a/audio/pulseaudio/pkg-plist +++ b/audio/pulseaudio/pkg-plist @@ -156,6 +156,4 @@ share/locale/sv/LC_MESSAGES/pulseaudio.mo @dirrm lib/pulse-%%PULSE_VERSION%%/modules @dirrm lib/pulse-%%PULSE_VERSION%% @dirrm include/pulse -@dirrmtry etc/xdg/autostart -@dirrmtry etc/xdg @dirrm etc/pulse diff --git a/misc/gnomehier/Makefile b/misc/gnomehier/Makefile new file mode 100644 index 000000000..c5a70c43b --- /dev/null +++ b/misc/gnomehier/Makefile @@ -0,0 +1,62 @@ +# New ports collection makefile for: gnomehier +# Date created: 2 July 2002 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD: ports/misc/gnomehier/Makefile,v 1.40 2009/01/10 05:21:39 marcus Exp $ +# $MCom: ports/misc/gnomehier/Makefile,v 1.31 2008/12/26 23:27:22 marcus Exp $ +# +# !!DON'T BUMP PORTREVISION ON MTREE CHANGES ANYMORE!! + +PORTNAME= gnomehier +PORTVERSION= 2.3 +PORTREVISION= 12 +CATEGORIES= misc gnome +MASTER_SITES= # none +DISTFILES= # none + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A utility port that creates the GNOME directory tree + +NO_BUILD= yes +PLIST?= ${WRKDIR}/pkg-plist +PKGINSTALL= ${WRKDIR}/pkg-install + +GNOME_MTREE= BSD.gnome.dist +GNOME_MTREE_ARGS=${MTREE_ARGS:S|${MTREE_FILE}|${PREFIX}/etc/mtree/${GNOME_MTREE}|} + +do-fetch: + @${DO_NADA} + +pre-install: + @${CP} -f ${FILESDIR}/dirlist ${WRKDIR} + @${RM} -f ${PLIST} ${WRKDIR}/${GNOME_MTREE} + @${TOUCH} -f ${PLIST} + @${ECHO_CMD} etc/mtree/${GNOME_MTREE} >> ${PLIST} + @${MKDIR} ${WRKSRC} + @${CAT} ${FILESDIR}/dirlist | ${SORT} -r | ${SED} -e \ + 's|^|@dirrm |' >> ${PLIST} + @${ECHO_CMD} "@unexec ${RMDIR} %D/etc/mtree 2>/dev/null || ${TRUE}" >> ${PLIST} + @for dir in `${CAT} ${WRKDIR}/dirlist`; \ + do \ + ${MKDIR} ${WRKSRC}/$${dir}; \ + done + @${SED} -e 's|%%MTREE_ARGS%%|${GNOME_MTREE_ARGS}|' \ + < ${FILESDIR}/pkg-install.in > ${PKGINSTALL} + +pre-su-install: + ${CHGRP} games ${WRKSRC}/share/games + ${CHMOD} g=rwXs ${WRKSRC}/share/games + cd ${WRKSRC} && \ + ${MTREE_CMD} -U -d -n -i -c -k "uname, gname, mode" | \ + ${SED} -e 's|uname=[A-Za-z0-9_]*|uname=root|' \ + -e 's|gname=[A-Za-z0-9_]*|gname=wheel|' \ + > ${WRKDIR}/${GNOME_MTREE} + +do-install: + ${MKDIR} ${PREFIX}/etc/mtree + ${INSTALL_DATA} ${WRKDIR}/${GNOME_MTREE} ${PREFIX}/etc/mtree + +post-install: + @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + +.include <bsd.port.mk> diff --git a/misc/gnomehier/files/dirlist b/misc/gnomehier/files/dirlist new file mode 100644 index 000000000..9ef1b4c8f --- /dev/null +++ b/misc/gnomehier/files/dirlist @@ -0,0 +1,101 @@ +etc/CORBA +etc/CORBA/servers +etc/X11 +etc/X11/serverconfig +etc/X11/starthere +etc/X11/sysconfig +etc/gconf +etc/gconf/gconf.xml.defaults +etc/gconf/gconf.xml.mandatory +etc/gconf/gconf.xml.system +etc/gconf/schemas +etc/gnome +etc/gnome-vfs-2.0 +etc/gnome-vfs-2.0/modules +etc/gnome/config +etc/sound +etc/sound/events +etc/vfs +etc/vfs/modules +etc/xdg +etc/xdg/autostart +include/gconf +include/gdkcardimage +include/gnome-1.0 +lib/GConf +lib/bonobo +lib/bonobo/monikers +lib/bonobo/plugin +lib/gnome-vfs-2.0 +lib/gnome-vfs-2.0/modules +lib/vfs +lib/vfs/modules +libdata/bonobo +libdata/bonobo/servers +share/applets +share/applets/Amusements +share/applets/Clocks +share/applets/Monitors +share/applets/Multimedia +share/applets/Network +share/applets/Utility +share/application-registry +share/capplets +share/control-center +share/control-center-2.0 +share/control-center-2.0/capplets +share/control-center/Desktop +share/control-center/Documents +share/control-center/Peripherals +share/control-center/Session +share/control-center/capplets +share/control-center/keybindings +share/doc/libgda +share/games +share/gnome +share/gnome-2.0 +share/gnome-2.0/ui +share/gnome-about +share/gnome-control-center +share/gnome-control-center/keybindings +share/gnome/apps +share/gnome/apps/Applications +share/gnome/apps/Audio +share/gnome/apps/Development +share/gnome/apps/Games +share/gnome/apps/Graphics +share/gnome/apps/Internet +share/gnome/apps/Multimedia +share/gnome/apps/Settings +share/gnome/apps/Settings/Desktop +share/gnome/apps/Settings/Documents +share/gnome/apps/Settings/Peripherals +share/gnome/apps/Settings/Session +share/gnome/apps/System +share/gnome/apps/Utilities +share/gnome/autostart +share/gnome/help +share/gnome/help/fdl +share/gnome/help/fdl/C +share/gnome/help/gpl +share/gnome/help/gpl/C +share/gnome/help/lgpl +share/gnome/help/lgpl/C +share/gnome/panel +share/gnome/ui +share/gnome/wm-properties +share/images +share/mc +share/mc/templates +share/mime-info +share/oaf +share/omf +share/pixmaps/document-icons +share/pixmaps/splash +share/sgml/docbook +share/sgml/docbook/gnome-customization-0.1 +share/sounds +share/vala +share/vala/vapi +share/vfolders +share/xmodmap diff --git a/misc/gnomehier/files/pkg-install.in b/misc/gnomehier/files/pkg-install.in new file mode 100644 index 000000000..20e30328e --- /dev/null +++ b/misc/gnomehier/files/pkg-install.in @@ -0,0 +1,8 @@ +#!/bin/sh + +case $2 in +POST-INSTALL) + /usr/sbin/mtree %%MTREE_ARGS%% ${PKG_PREFIX} + exit 0 + ;; +esac diff --git a/misc/gnomehier/pkg-descr b/misc/gnomehier/pkg-descr new file mode 100644 index 000000000..ec27b1ee2 --- /dev/null +++ b/misc/gnomehier/pkg-descr @@ -0,0 +1,3 @@ +This is a utility port that creates the common GNOME directory +structure. This way, the existence of the directories can be +ensured before applications attempt to install into them. diff --git a/net/vino/pkg-plist b/net/vino/pkg-plist index 98373ac86..1cde68375 100644 --- a/net/vino/pkg-plist +++ b/net/vino/pkg-plist @@ -84,8 +84,6 @@ share/locale/zh_TW/LC_MESSAGES/vino.mo %%DATADIR%%/webservices @dirrm %%DATADIR%% @dirrmtry share/applications -@dirrmtry etc/xdg/autostart -@dirrmtry etc/xdg @dirrmtry share/locale/zh_HK/LC_MESSAGES @dirrmtry share/locale/zh_HK @dirrmtry share/locale/xh/LC_MESSAGES diff --git a/security/gnome-keyring/pkg-plist b/security/gnome-keyring/pkg-plist index b007f4680..9ba05cb2f 100644 --- a/security/gnome-keyring/pkg-plist +++ b/security/gnome-keyring/pkg-plist @@ -172,8 +172,6 @@ share/locale/zh_TW/LC_MESSAGES/gnome-keyring.mo @dirrm include/gcr @dirrm share/gcr/ui @dirrm share/gcr -@dirrmtry etc/xdg/autostart -@dirrmtry etc/xdg @dirrmtry share/locale/zh_HK/LC_MESSAGES @dirrmtry share/locale/zh_HK @dirrmtry share/locale/xh/LC_MESSAGES diff --git a/security/seahorse/pkg-plist b/security/seahorse/pkg-plist index c879d0b2b..e9ead0d75 100644 --- a/security/seahorse/pkg-plist +++ b/security/seahorse/pkg-plist @@ -238,8 +238,6 @@ share/pixmaps/seahorse/scalable/seahorse-sign.svg @dirrmtry share/applications @dirrm lib/seahorse @dirrm include/libcryptui -@dirrmtry etc/xdg/autostart -@dirrmtry etc/xdg @dirrmtry share/locale/zh_HK/LC_MESSAGES @dirrmtry share/locale/zh_HK @dirrmtry share/locale/te/LC_MESSAGES diff --git a/sysutils/gnome-control-center/pkg-plist b/sysutils/gnome-control-center/pkg-plist index 5238aed21..6038c761f 100644 --- a/sysutils/gnome-control-center/pkg-plist +++ b/sysutils/gnome-control-center/pkg-plist @@ -270,7 +270,6 @@ share/omf/control-center/control-center-zh_CN.omf @dirrmtry share/applications @dirrm lib/window-manager-settings @dirrm include/gnome-window-settings-2.0 -@dirrmtry etc/xdg/autostart @exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime @unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime @exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true diff --git a/sysutils/gnome-settings-daemon/pkg-plist b/sysutils/gnome-settings-daemon/pkg-plist index 9bb72e9a3..a2d1262f6 100644 --- a/sysutils/gnome-settings-daemon/pkg-plist +++ b/sysutils/gnome-settings-daemon/pkg-plist @@ -172,8 +172,6 @@ share/locale/zu/LC_MESSAGES/gnome-settings-daemon.mo @dirrm lib/gnome-settings-daemon-2.0 @dirrm include/gnome-settings-daemon-2.0/gnome-settings-daemon @dirrm include/gnome-settings-daemon-2.0 -@dirrmtry etc/xdg/autostart -@dirrmtry etc/xdg @dirrmtry share/locale/zu/LC_MESSAGES @dirrmtry share/locale/zu @dirrmtry share/locale/zh_HK/LC_MESSAGES diff --git a/sysutils/tracker-client/pkg-plist b/sysutils/tracker-client/pkg-plist index 64784a540..3daea5a6c 100644 --- a/sysutils/tracker-client/pkg-plist +++ b/sysutils/tracker-client/pkg-plist @@ -171,8 +171,6 @@ share/locale/zh_CN/LC_MESSAGES/tracker.mo @dirrm lib/tracker/filters @dirrm lib/tracker/extract-modules @dirrm lib/tracker -@dirrmtry etc/xdg/autostart -@dirrmtry etc/xdg @dirrmtry share/locale/oc/LC_MESSAGES @dirrmtry share/locale/oc @dirrmtry share/locale/dz/LC_MESSAGES diff --git a/www/gnome-user-share/pkg-plist b/www/gnome-user-share/pkg-plist index a5f2dc317..69cf3212e 100644 --- a/www/gnome-user-share/pkg-plist +++ b/www/gnome-user-share/pkg-plist @@ -115,8 +115,6 @@ share/omf/gnome-user-share/gnome-user-share-sv.omf @dirrm share/gnome/help/gnome-user-share @dirrm %%DATADIR%% @dirrmtry share/applications -@dirrmtry etc/xdg/autostart -@dirrmtry etc/xdg @dirrmtry share/locale/zh_HK/LC_MESSAGES @dirrmtry share/locale/zh_HK @dirrmtry share/locale/rw/LC_MESSAGES diff --git a/x11/gnome-menus/pkg-plist b/x11/gnome-menus/pkg-plist index 1655b5f93..a3342b2ba 100644 --- a/x11/gnome-menus/pkg-plist +++ b/x11/gnome-menus/pkg-plist @@ -128,8 +128,6 @@ share/locale/zh_TW/LC_MESSAGES/gnome-menus.mo @dirrm share/gnome-menus @dirrmtry share/desktop-directories @dirrm include/gnome-menus -@dirrmtry etc/xdg/menus -@dirrmtry etc/xdg @dirrmtry share/locale/zh_HK/LC_MESSAGES @dirrmtry share/locale/zh_HK @dirrmtry share/locale/yo/LC_MESSAGES diff --git a/x11/gnome-session/pkg-plist b/x11/gnome-session/pkg-plist index 36b132ca6..f2537fd18 100644 --- a/x11/gnome-session/pkg-plist +++ b/x11/gnome-session/pkg-plist @@ -137,8 +137,6 @@ share/xsessions/gnome.desktop @dirrmtry share/applications @dirrm lib/gnome-session/helpers @dirrm lib/gnome-session -@dirrmtry etc/xdg/autostart -@dirrmtry etc/xdg @dirrmtry share/locale/zu/LC_MESSAGES @dirrmtry share/locale/zu @dirrmtry share/locale/zh_HK/LC_MESSAGES |