diff options
author | bapt <bapt@FreeBSD.org> | 2014-09-22 20:31:34 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-09-22 20:31:34 +0800 |
commit | df726a7b8f428198e095e966ba484d0b211aa5ff (patch) | |
tree | 15eb3def95288fb9833b3d0db96a0a09436630c4 | |
parent | d67d70c38c5dc2f6a9ae914844ea4300de0587fd (diff) | |
download | freebsd-ports-gnome-df726a7b8f428198e095e966ba484d0b211aa5ff.tar.gz freebsd-ports-gnome-df726a7b8f428198e095e966ba484d0b211aa5ff.tar.zst freebsd-ports-gnome-df726a7b8f428198e095e966ba484d0b211aa5ff.zip |
Remove the yaml files as pkg 1.3.8 is now the minimal required version
-rw-r--r-- | Keywords/fc.yaml | 9 | ||||
-rw-r--r-- | Keywords/fcfontsdir.yaml | 19 | ||||
-rw-r--r-- | Keywords/fmtutil.yaml | 13 | ||||
-rw-r--r-- | Keywords/fontsdir.yaml | 17 | ||||
-rw-r--r-- | Keywords/info.yaml | 11 | ||||
-rw-r--r-- | Keywords/sample.yaml | 37 | ||||
-rw-r--r-- | Keywords/shell.yaml | 22 |
7 files changed, 0 insertions, 128 deletions
diff --git a/Keywords/fc.yaml b/Keywords/fc.yaml deleted file mode 100644 index 239bb4519572..000000000000 --- a/Keywords/fc.yaml +++ /dev/null @@ -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 diff --git a/Keywords/fcfontsdir.yaml b/Keywords/fcfontsdir.yaml deleted file mode 100644 index fdb00a8bf5f4..000000000000 --- a/Keywords/fcfontsdir.yaml +++ /dev/null @@ -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 diff --git a/Keywords/fmtutil.yaml b/Keywords/fmtutil.yaml deleted file mode 100644 index 6e43c183851f..000000000000 --- a/Keywords/fmtutil.yaml +++ /dev/null @@ -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 diff --git a/Keywords/fontsdir.yaml b/Keywords/fontsdir.yaml deleted file mode 100644 index 55357f7fd1ba..000000000000 --- a/Keywords/fontsdir.yaml +++ /dev/null @@ -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 diff --git a/Keywords/info.yaml b/Keywords/info.yaml deleted file mode 100644 index 37589b28a92a..000000000000 --- a/Keywords/info.yaml +++ /dev/null @@ -1,11 +0,0 @@ -# $FreeBSD$ -# -# MAINTAINER: portmgr@FreeBSD.org - -actions: [file] -post-install: | - file=%D/%@ - indexinfo ${file%/*} -post-deinstall: | - file=%D/%@ - indexinfo ${file%/*} diff --git a/Keywords/sample.yaml b/Keywords/sample.yaml deleted file mode 100644 index bf65c8a06a81..000000000000 --- a/Keywords/sample.yaml +++ /dev/null @@ -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 diff --git a/Keywords/shell.yaml b/Keywords/shell.yaml deleted file mode 100644 index 0b373d1c52a0..000000000000 --- a/Keywords/shell.yaml +++ /dev/null @@ -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 |