diff options
-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 |