svn commit: r550263 - head/sysutils/dnf
Yuri Victorovich
yuri at FreeBSD.org
Sun Sep 27 10:40:28 UTC 2020
Author: yuri
Date: Sun Sep 27 10:40:27 2020
New Revision: 550263
URL: https://svnweb.freebsd.org/changeset/ports/550263
Log:
sysutils/dnf: Add symbolic links to executables for them to be named like in the documentation
Modified:
head/sysutils/dnf/Makefile
head/sysutils/dnf/pkg-plist
Modified: head/sysutils/dnf/Makefile
==============================================================================
--- head/sysutils/dnf/Makefile Sun Sep 27 10:39:50 2020 (r550262)
+++ head/sysutils/dnf/Makefile Sun Sep 27 10:40:27 2020 (r550263)
@@ -2,6 +2,7 @@
PORTNAME= dnf
DISTVERSION= 4.2.23
+PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= yuri at FreeBSD.org
@@ -29,5 +30,10 @@ 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>
Modified: head/sysutils/dnf/pkg-plist
==============================================================================
--- head/sysutils/dnf/pkg-plist Sun Sep 27 10:39:50 2020 (r550262)
+++ head/sysutils/dnf/pkg-plist Sun Sep 27 10:40:27 2020 (r550263)
@@ -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
More information about the svn-ports-all
mailing list