diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2020-09-27 10:40:27 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2020-09-27 10:40:27 +0000 |
commit | e779ccecac6914a73e75246683177460c2a07465 (patch) | |
tree | d49d5d8e1197c69cb3bfe82283732f9b09ac6800 /sysutils | |
parent | 72990a759b031c9479830a600d99b83d6adfb445 (diff) | |
download | ports-e779ccecac6914a73e75246683177460c2a07465.tar.gz ports-e779ccecac6914a73e75246683177460c2a07465.zip |
Notes
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/dnf/Makefile | 6 | ||||
-rw-r--r-- | sysutils/dnf/pkg-plist | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sysutils/dnf/Makefile b/sysutils/dnf/Makefile index 173227ffdf21..3a4c52f46ee2 100644 --- a/sysutils/dnf/Makefile +++ b/sysutils/dnf/Makefile @@ -2,6 +2,7 @@ PORTNAME= dnf DISTVERSION= 4.2.23 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= yuri@FreeBSD.org @@ -30,4 +31,9 @@ NO_ARCH= yes post-patch: @${REINPLACE_CMD} -e "s|'/usr/bin'|'${PREFIX}/bin'|" ${WRKSRC}/bin/dnf*.in +post-install: + cd ${STAGEDIR}${PREFIX}/bin && \ + ${LN} -s dnf-3 dnf && \ + ${LN} -s dnf-automatic-3 dnf-automatic + .include <bsd.port.mk> diff --git a/sysutils/dnf/pkg-plist b/sysutils/dnf/pkg-plist index a362cb5fcc0b..02e1bcec2b4c 100644 --- a/sysutils/dnf/pkg-plist +++ b/sysutils/dnf/pkg-plist @@ -1,4 +1,6 @@ +bin/dnf bin/dnf-3 +bin/dnf-automatic bin/dnf-automatic-3 etc/bash_completion.d/dnf %%ETCDIR%%/aliases.d/zypper.conf |