Date: Tue, 4 Feb 2020 14:16:32 +0000 (UTC) From: Mateusz Piotrowski <0mp@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r525168 - in head/ports-mgmt/pkg-provides: . files Message-ID: <202002041416.014EGW3W059535@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: 0mp Date: Tue Feb 4 14:16:32 2020 New Revision: 525168 URL: https://svnweb.freebsd.org/changeset/ports/525168 Log: Fix variable substitution in pkg-message Also, while here: - Update licenses. - Lint with portfmt and portclippy. - Fix typos in pkg-message. Approved by: portmgr (blanket approval) Added: head/ports-mgmt/pkg-provides/files/ head/ports-mgmt/pkg-provides/files/pkg-message.in - copied, changed from r525167, head/ports-mgmt/pkg-provides/pkg-message Deleted: head/ports-mgmt/pkg-provides/pkg-message Modified: head/ports-mgmt/pkg-provides/Makefile Modified: head/ports-mgmt/pkg-provides/Makefile ============================================================================== --- head/ports-mgmt/pkg-provides/Makefile Tue Feb 4 14:03:00 2020 (r525167) +++ head/ports-mgmt/pkg-provides/Makefile Tue Feb 4 14:16:32 2020 (r525168) @@ -3,27 +3,30 @@ PORTNAME= pkg-provides DISTVERSIONPREFIX= v DISTVERSION= 0.6.2 +PORTREVISION= 1 CATEGORIES= ports-mgmt MAINTAINER= rodrigo@FreeBSD.org COMMENT= Pkg plugin for querying which package provides a particular file -LICENSE= BSD2CLAUSE +LICENSE= BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE +LICENSE_COMB= multi NOT_FOR_ARCHS= armv6 mips mips64 -LIB_DEPENDS= libpcre.so:devel/pcre BUILD_DEPENDS= ${LOCALBASE}/include/uthash.h:devel/uthash +LIB_DEPENDS= libpcre.so:devel/pcre -USE_LDCONFIG= yes USE_GITHUB= yes - -SUB_LIST= LOCALBASE=${LOCALBASE} - GH_ACCOUNT= rosorio GH_TAGNAME= 71b876c +USE_LDCONFIG= yes -PLIST_FILES= lib/pkg/provides.so man/man8/pkg-provides.8.gz +SUB_FILES= pkg-message +SUB_LIST= LOCALBASE=${LOCALBASE} + +PLIST_FILES= lib/pkg/provides.so \ + man/man8/pkg-provides.8.gz do-install: ${MKDIR} ${STAGEDIR}${LOCALBASE}/lib/pkg/ Copied and modified: head/ports-mgmt/pkg-provides/files/pkg-message.in (from r525167, head/ports-mgmt/pkg-provides/pkg-message) ============================================================================== --- head/ports-mgmt/pkg-provides/pkg-message Tue Feb 4 14:03:00 2020 (r525167, copy source) +++ head/ports-mgmt/pkg-provides/files/pkg-message.in Tue Feb 4 14:16:32 2020 (r525168) @@ -3,19 +3,19 @@ message: <<EOM In order to use the pkg-provides plugin you need to enable plugins in pkg. To do this, uncomment the following lines in %%LOCALBASE%%/etc/pkg.conf file -and add pkg-provides to the supported plugin list +and add pkg-provides to the supported plugin list: PKG_PLUGINS_DIR = "%%LOCALBASE%%/lib/pkg/"; PKG_ENABLE_PLUGINS = true; PLUGINS [ provides ]; -After that run `pkg plugins' to see the plugins handled by pkg`. +After that run `pkg plugins' to see the plugins handled by pkg. EOM } { type: upgrade maximum_version: "0.6.0" message: <<EOM -To update the provides database run `pkg provides -u` +To update the provides database run `pkg provides -u`. EOM } { @@ -24,7 +24,7 @@ EOM message: <<EOM Pkg-provides from v0.6.0 introduces a new database file format. -To update the provides database run `pkg provides -uf` +To update the provides database run `pkg provides -uf`. EOM } ]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002041416.014EGW3W059535>