aboutsummaryrefslogtreecommitdiff
path: root/x11/xorg-libraries
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-01-15 23:05:52 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-01-15 23:05:52 +0000
commitaac3282ed1bbc106102d1432640d14ba561b0f67 (patch)
tree59bd00c4a2848043705334a1c298cc7c5aae8dc0 /x11/xorg-libraries
parent3c130abf7f507b096765d0d505ccab5d43baabc7 (diff)
downloadports-aac3282ed1bbc106102d1432640d14ba561b0f67.tar.gz
ports-aac3282ed1bbc106102d1432640d14ba561b0f67.zip
Notes
Diffstat (limited to 'x11/xorg-libraries')
-rw-r--r--x11/xorg-libraries/pkg-install53
1 files changed, 0 insertions, 53 deletions
diff --git a/x11/xorg-libraries/pkg-install b/x11/xorg-libraries/pkg-install
deleted file mode 100644
index 55c5c1550609..000000000000
--- a/x11/xorg-libraries/pkg-install
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/sh
-
-if [ "$2" != "POST-INSTALL" ]; then
- exit 0
-fi
-
-X11BASE=/usr/X11R6
-LOCALBASE=${LOCALBASE:-/usr/local}
-
-if [ ${X11BASE} -ef ${LOCALBASE} ]; then
- echo "Spamming files in /etc..."
-else
- exit 0
-fi
-
-# periodic.conf
-local_periodic=`. /etc/defaults/periodic.conf && source_periodic_confs ; echo ${local_periodic}`
-for lp in ${local_periodic}; do
- if (expr ${lp} : "^${X11BASE}" >/dev/null); then
- continue
- else
- new_periodic="${new_periodic} ${lp}"
- fi
-done
-if [ "${local_periodic}x" != "${new_periodic## }x" ]; then
- echo "==> Removing ${X11BASE}/etc/periodic from periodic setup..."
- echo "# added by xorg-libraries port" >> /etc/periodic.conf
- echo "local_periodic=\"${new_periodic## }\"" >> /etc/periodic.conf
- ppath_done=1
-fi
-
-# manpath.config
-if (PATH="/sbin:/bin:/usr/sbin:/usr/bin" manpath -q | grep -q "${X11BASE}");then echo "==> Removing ${X11BASE}/man from MANPATH..."
- sed -i ".bak.xorg" -e "s,^[^#]*${X11BASE}.*$,# (disabled by xorg-libraries port) &," \
- /etc/manpath.config
- mpath_done=1
-fi
-
-# rc.conf
-rcdirs=`. /etc/defaults/rc.conf && source_rc_confs && echo ${local_startup}`
-for rd in ${rcdirs}; do
- if (expr ${rd} : "${X11BASE}" >/dev/null); then
- continue
- else
- new_rcdirs="${new_rcdirs} ${rd}"
- fi
-done
-if [ "${rcdirs}x" != "${new_rcdirs## }x" ]; then
- echo "==> Removing ${X11BASE} from rc sequence..."
- echo "# added by xorg-libraries port" >> /etc/rc.conf
- echo "local_startup=\"${new_rcdirs## }\"" >> /etc/rc.conf
- rcconf_done=1
-fi