mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Add new port: ports-mgmt/pkg-provides
pkg-provides is a pkg plugin write in C for querying which package provides a particular file.
This commit is contained in:
parent
ee1cdeab01
commit
bc0fee8dc3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=459945
@ -28,6 +28,7 @@
|
||||
SUBDIR += pkg
|
||||
SUBDIR += pkg-devel
|
||||
SUBDIR += pkg-plist
|
||||
SUBDIR += pkg-provides
|
||||
SUBDIR += pkg-rmleaf
|
||||
SUBDIR += pkg_cleanup
|
||||
SUBDIR += pkg_cutleaves
|
||||
|
35
ports-mgmt/pkg-provides/Makefile
Normal file
35
ports-mgmt/pkg-provides/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= pkg-provides
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.3.1
|
||||
CATEGORIES= ports-mgmt
|
||||
|
||||
MAINTAINER= rodrigo@FreeBSD.org
|
||||
COMMENT= Pkg plugin for querying which package provides a particular file
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
NOT_FOR_ARCHS= armv6 mips mips64
|
||||
|
||||
LIB_DEPENDS= libpcre.so:devel/pcre
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/uthash.h:devel/uthash
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
USE_GITHUB= yes
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= LOCALBASE=${LOCALBASE}
|
||||
|
||||
GH_ACCOUNT= rosorio
|
||||
GH_PROJECT= pkg-provides
|
||||
GH_TAGNAME= cf5262b
|
||||
|
||||
PLIST_FILES= lib/pkg/provides.so man/man8/pkg-provides.8.gz
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${LOCALBASE}/lib/pkg/
|
||||
${INSTALL_LIB} ${WRKSRC}/provides.so ${STAGEDIR}${LOCALBASE}/lib/pkg/
|
||||
${INSTALL_MAN} ${WRKSRC}/pkg-provides.8 ${STAGEDIR}${PREFIX}/man/man8/
|
||||
|
||||
.include <bsd.port.mk>
|
3
ports-mgmt/pkg-provides/distinfo
Normal file
3
ports-mgmt/pkg-provides/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1516882559
|
||||
SHA256 (rosorio-pkg-provides-v0.3.1-cf5262b_GH0.tar.gz) = 8f63e37f835a687872c32ce0ec4ec469c2978986fe0be6b04af7617f73110eaf
|
||||
SIZE (rosorio-pkg-provides-v0.3.1-cf5262b_GH0.tar.gz) = 8322
|
14
ports-mgmt/pkg-provides/files/pkg-message.in
Normal file
14
ports-mgmt/pkg-provides/files/pkg-message.in
Normal file
@ -0,0 +1,14 @@
|
||||
======================= pkg plugin activation ========================
|
||||
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
|
||||
|
||||
PKG_PLUGINS_DIR = "%%LOCALBASE%%lib/pkg/";
|
||||
PKG_ENABLE_PLUGINS = true;
|
||||
PLUGINS [ provides ]
|
||||
|
||||
After that run `pkg plugins' to see the plugins handled by pkg`.
|
||||
|
||||
To update the provides database run `pkg provides -u`
|
||||
|
||||
====================================================================
|
3
ports-mgmt/pkg-provides/pkg-descr
Normal file
3
ports-mgmt/pkg-provides/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
Pkg plugin for querying which package provides a particular file
|
||||
|
||||
WWW: https://github.com/rosorio/pkg-provides
|
Loading…
Reference in New Issue
Block a user