aboutsummaryrefslogtreecommitdiff
path: root/misc/kdehier4/files/make-plist.sh
diff options
context:
space:
mode:
Diffstat (limited to 'misc/kdehier4/files/make-plist.sh')
-rw-r--r--misc/kdehier4/files/make-plist.sh39
1 files changed, 0 insertions, 39 deletions
diff --git a/misc/kdehier4/files/make-plist.sh b/misc/kdehier4/files/make-plist.sh
deleted file mode 100644
index c2ce85dc5535..000000000000
--- a/misc/kdehier4/files/make-plist.sh
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-if [ ! -e dirlist -o ! -e ../Makefile ]; then
- echo "Wrong directory; this script needs to be called from"
- echo "${PORTSDIR}/misc/kdehier4/files"
- echo "directory!"
- exit 1
-fi
-
-echo "@comment Do not edit this file!
-@comment It is generated by maintainer-generate-plist target." > ../pkg-plist
-
-echo "%%MTREE%%etc/dbus-1/session-kde4.conf
-%%MTREE%%etc/dbus-1/system-kde4.conf
-%%MTREE%%@dirrmtry etc/dbus-1" >> ../pkg-plist
-
-echo "%%MTREE%%@exec mkdir -p %%KDE4_PREFIX%%
-%%MTREE%%@cwd %%KDE4_PREFIX%%
-%%MTREE%%etc/pam.d
-%%MTREE%%etc/polkit-1
-%%MTREE%%etc/rc.d
-%%MTREE%%%%LDCONFIG_DIR%%
-%%MTREE%%%%LDCONFIG32_DIR%%
-%%MTREE%%libdata/pkgconfig
-%%MTREE%%share/dbus-1/services
-%%MTREE%%share/dbus-1/system-services
-%%MTREE%%share/polkit-1/actions" >> ../pkg-plist
-
-(
-grep -v "^@comment" dirlist | sed -e "s,^,@exec mkdir -p %%KDE4_PREFIX%%/," ;
-grep -v "^@comment" mtree-dirlist | sed -e "s,^,%%MTREE%%@exec mkdir -p %%KDE4_PREFIX%%/,"
-)| sort | uniq >> ../pkg-plist
-
-(
-grep -v "^@comment" dirlist | sed -e "s,^,@dirrmtry ," ;
-grep -v "^@comment" mtree-dirlist | sed -e "s,^,%%MTREE%%@dirrm ,"
-)| sort -r | uniq >> ../pkg-plist
-
-echo "%%MTREE%%@cwd /
-%%MTREE%%@dirrmtry %%KDE4_PREFIX%%" >> ../pkg-plist