Date: Mon, 22 Aug 2022 16:21:17 GMT From: Felix Palmen <zirias@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 85b9e25367ff - main - archivers/zpaqfranz: Add option for installing dir Message-ID: <202208221621.27MGLH44054828@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by zirias: URL: https://cgit.FreeBSD.org/ports/commit/?id=85b9e25367ffc7e74cff4e9800fb02232679220e commit 85b9e25367ffc7e74cff4e9800fb02232679220e Author: Felix Palmen <zirias@FreeBSD.org> AuthorDate: 2022-08-22 11:27:18 +0000 Commit: Felix Palmen <zirias@FreeBSD.org> CommitDate: 2022-08-22 16:20:22 +0000 archivers/zpaqfranz: Add option for installing dir bin/dir is just a shorthand for a subcommand of zpaqfranz. Installing it would conflict with misc/gnuls, so make it optional and disabled by default. PR: 265651 Reported by: diizzy (on IRC) Approved by: Franco Corbelli <franco@francocorbelli.com> (maintainer) Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D36292 --- archivers/zpaqfranz/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/archivers/zpaqfranz/Makefile b/archivers/zpaqfranz/Makefile index 94d1c17e34fb..ff36141c6c91 100644 --- a/archivers/zpaqfranz/Makefile +++ b/archivers/zpaqfranz/Makefile @@ -1,5 +1,6 @@ PORTNAME= zpaqfranz DISTVERSION= 55.12 +PORTREVISION= 1 CATEGORIES= archivers MASTER_SITES= http://www.francocorbelli.it/zpaqfranz/freebsd/ @@ -11,8 +12,16 @@ LICENSE_COMB= dual NO_WRKSUBDIR= yes -PLIST_FILES= bin/dir \ - bin/zpaqfranz +OPTIONS_DEFINE= DIRCOMMAND +DIRCOMMAND_DESC= Add a symlink to call the dir subcommand directly + +PLIST_FILES= bin/zpaqfranz + +DIRCOMMAND_PLIST_FILES= bin/dir +DIRCOMMAND_CONFLICTS_INSTALL= gnuls + +post-install-DIRCOMMAND-off: + ${RM} ${STAGEDIR}${LOCALBASE}/bin/dir .include <bsd.port.pre.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208221621.27MGLH44054828>