Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 2020 10:40:27 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r550263 - head/sysutils/dnf
Message-ID:  <202009271040.08RAeRv5006385@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009271040.08RAeRv5006385>