diff options
author | bapt <bapt@FreeBSD.org> | 2015-03-03 08:37:28 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-03-03 08:37:28 +0800 |
commit | 77726892b9b88df7e1d4a7f7da4c6f1c2e5632f5 (patch) | |
tree | 9f04de89263be20c1b11cef25520d46751757a56 | |
parent | e063b0939a6e6f806157a917dd40830a5673986e (diff) | |
download | freebsd-ports-gnome-77726892b9b88df7e1d4a7f7da4c6f1c2e5632f5.tar.gz freebsd-ports-gnome-77726892b9b88df7e1d4a7f7da4c6f1c2e5632f5.tar.zst freebsd-ports-gnome-77726892b9b88df7e1d4a7f7da4c6f1c2e5632f5.zip |
Fix plist
Use @dir and @sample where possible
-rw-r--r-- | sysutils/yum/Makefile | 1 | ||||
-rw-r--r-- | sysutils/yum/pkg-plist | 35 |
2 files changed, 9 insertions, 27 deletions
diff --git a/sysutils/yum/Makefile b/sysutils/yum/Makefile index ec38137dea1c..287186447da8 100644 --- a/sysutils/yum/Makefile +++ b/sysutils/yum/Makefile @@ -3,6 +3,7 @@ PORTNAME= yum PORTVERSION= 3.4.3 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://yum.baseurl.org/download/${PORTVERSION:R}/ diff --git a/sysutils/yum/pkg-plist b/sysutils/yum/pkg-plist index 438811c8e8cd..adfedde51053 100644 --- a/sysutils/yum/pkg-plist +++ b/sysutils/yum/pkg-plist @@ -130,30 +130,11 @@ etc/rc.d/init.d/yum-updatesd etc/dbus-1/system.d/yum-updatesd.conf etc/bash_completion.d/yum.bash etc/yum/version-groups.conf -@unexec if cmp -s %D/etc/yum/yum.conf.sample %D/etc/yum/yum.conf; then rm -f %D/etc/yum/yum.conf; fi -etc/yum/yum.conf.sample -@exec if [ ! -f %D/etc/yum/yum.conf ]; then cp -p %D/%F %B/yum.conf; fi -@unexec if cmp -s %D/etc/yum/yum-updatesd.conf.sample %D/etc/yum/yum-updatesd.conf; then rm -f %D/etc/yum/yum-updatesd.conf; fi -etc/yum/yum-updatesd.conf.sample -@exec if [ ! -f %D/etc/yum/yum-updatesd.conf ]; then cp -p %D/%F %B/yum-updatesd.conf; fi -@dirrm share/yum-cli -@dirrm etc/yum/repos.d -@dirrm etc/yum/vars -@dirrm etc/yum/protected.d -@dirrm etc/yum -@dirrm %%PYTHON_SITELIBDIR%%/rpmUtils -@dirrm %%PYTHON_SITELIBDIR%%/yum -@dirrmtry etc/bash_completion.d -@dirrmtry etc/logrotate.d -@dirrmtry etc/rc.d/init.d -@dirrmtry share/locale/id_ID/LC_MESSAGES -@dirrmtry share/locale/id_ID -@dirrmtry share/locale/lt_LT/LC_MESSAGES -@dirrmtry share/locale/lt_LT -@dirrmtry share/locale/ur/LC_MESSAGES -@dirrmtry share/locale/ur -@dirrmtry etc/dbus-1/system.d -@dirrmtry etc/dbus-1 -@unexec rmdir /var/cache/yum 2>&1 >/dev/null || true -@unexec rmdir /var/lib/yum 2>&1 >/dev/null || true -@unexec rmdir /var/lib 2>&1 >/dev/null || true +@sample etc/yum/yum.conf.sample +@sample etc/yum/yum-updatesd.conf.sample +@dir /var/cache/yum +@dir /var/lib/yum +@dir /var/lib +@dir %%ETCDIR%%/protected.d +@dir %%ETCDIR%%/repos.d +@dir %%ETCDIR%%/vars |