Remove the yaml files as pkg 1.3.8 is now the minimal required version

This commit is contained in:
Baptiste Daroussin 2014-09-22 12:31:34 +00:00
parent 35ec8d2a75
commit 9fdabf9fb0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368889
7 changed files with 0 additions and 128 deletions

View File

@ -1,9 +0,0 @@
# $FreeBSD$
#
# MAINTAINER: x11@FreeBSD.org
actions: [dirrmtry]
post-install: |
fc-cache -s %D/%@ 2>/dev/null || true
post-deinstall: |
fc-cache -s %D/%@ 2>/dev/null || true

View File

@ -1,19 +0,0 @@
# $FreeBSD$
#
# MAINTAINER: x11@FreeBSD.org
actions: [dirrmtry]
post-install: |
fc-cache -s %D/%@ 2>/dev/null || true
mkfontscale %D/%@ 2>/dev/null || true
mkfontdir %D/%@ 2>/dev/null || true
post-deinstall: |
fc-cache -s %D/%@ 2>/dev/null || true
mkfontscale %D/%@ 2>/dev/null || true
if [ -e %D/%@/fonts.scale -a "`stat -f '%%z' %D/%@/fonts.scale 2>/dev/null`" = '2' ]; then
rm %D/%@/fonts.scale
fi
mkfontdir %D/%@ 2>/dev/null || true
if [ -e %D/%@/fonts.dir -a "`stat -f '%%z' %D/%@/fonts.dir 2>/dev/null`" = '2' ]; then
rm %D/%@/fonts.dir
fi

View File

@ -1,13 +0,0 @@
# $FreeBSD$
#
# MAINTAINER: portmgr@FreeBSD.org
actions: []
post-install: |
fmtutil-sys --missing >/dev/null
post-deinstall: |
set -- %@
for f in $@; do
rm -f $f
rmdir -p ${f%/*} 2>/dev/null
done

View File

@ -1,17 +0,0 @@
# $FreeBSD$
#
# MAINTAINER: x11@FreeBSD.org
actions: [dirrmtry]
post-install: |
mkfontscale %D/%@ 2>/dev/null || true
mkfontdir %D/%@ 2>/dev/null || true
post-deinstall: |
mkfontscale %D/%@ 2>/dev/null || true
if [ -e %D/%@/fonts.scale -a "`stat -f '%%z' %D/%@/fonts.scale 2>/dev/null`" = '2' ]; then
rm %D/%@/fonts.scale
fi
mkfontdir %D/%@ 2>/dev/null || true
if [ -e %D/%@/fonts.dir -a "`stat -f '%%z' %D/%@/fonts.dir 2>/dev/null`" = '2' ]; then
rm %D/%@/fonts.dir
fi

View File

@ -1,11 +0,0 @@
# $FreeBSD$
#
# MAINTAINER: portmgr@FreeBSD.org
actions: [file]
post-install: |
file=%D/%@
indexinfo ${file%/*}
post-deinstall: |
file=%D/%@
indexinfo ${file%/*}

View File

@ -1,37 +0,0 @@
# $FreeBSD$
#
# MAINTAINER: portmgr@FreeBSD.org
#
# @sample etc/somefile.conf.sample
#
# This will install the somefile.conf.sample and automatically copy to
# somefile.conf if it doesn't exist. On deinstall it will remove the
# somefile.conf if it still matches the sample, otherwise it is
# kept.
#
# This replaces the old pattern:
# @unexec if cmp -s %D/etc/pkgtools.conf %D/etc/pkgtools.conf.sample; then rm -f %D/etc/pkgtools.conf; fi
# etc/pkgtools.conf.sample
# @exec [ -f %B/pkgtools.conf ] || cp %B/%f %B/pkgtools.conf
actions: [file]
post-install: |
case "%@" in
/*) sample_file="%@" ;;
*) sample_file="%D/%@" ;;
esac
target_file="${sample_file%.sample}"
if ! [ -f "${target_file}" ]; then
/bin/cp -p "${sample_file}" "${target_file}"
fi
pre-deinstall: |
case "%@" in
/*) sample_file="%@" ;;
*) sample_file="%D/%@" ;;
esac
target_file="${sample_file%.sample}"
if cmp -s "${target_file}" "${sample_file}"; then
rm -f "${target_file}"
else
echo "You may need to manually remove ${target_file} if it's no longer needed."
fi

View File

@ -1,22 +0,0 @@
# $FreeBSD$
#
# MAINTAINER: portmgr@FreeBSD.org
#
# @shell bin/shell
#
# Handle adding and remove a path to a shell binary into /etc/shells
# it replaces the following code:
#
# bin/shell
# @exec echo "Updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells; rm -f /etc/shells.bak
# @unexec echo "Updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells; rm -f /etc/shells.bak
actions: [file]
post-install: |
cp /etc/shells /etc/shells.bak
(grep -v %D/%@ /etc/shells.bak; echo %D/%@) > /etc/shells
rm -f /etc/shells.bak
pre-deinstall: |
cp /etc/shells /etc/shells.bak
grep -v %D/%@ /etc/shells.bak > /etc/shells
rm -f /etc/shells.bak