From aac3282ed1bbc106102d1432640d14ba561b0f67 Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Sun, 15 Jan 2012 23:05:52 +0000 Subject: The switch to X11BASE happened so long ago that anyone who didn't already migrate has a darn good reason and should know how to fix it themselves Discussed with: kwm, dougb Not approved by: dougb --- x11/xorg-libraries/pkg-install | 53 ------------------------------------------ 1 file changed, 53 deletions(-) delete mode 100644 x11/xorg-libraries/pkg-install (limited to 'x11/xorg-libraries') 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 -- cgit v1.2.3