Index: devel/Makefile =================================================================== --- devel/Makefile +++ devel/Makefile @@ -1015,6 +1015,7 @@ SUBDIR += include-what-you-use SUBDIR += indi SUBDIR += indicators + SUBDIR += influx-pkg-config SUBDIR += inifiled SUBDIR += inih SUBDIR += inilib Index: devel/influx-pkg-config/Makefile =================================================================== --- /dev/null +++ devel/influx-pkg-config/Makefile @@ -0,0 +1,20 @@ +PORTNAME= pkg-config +DISTVERSIONPREFIX= v +DISTVERSION= 0.2.10 +CATEGORIES= devel +PKGNAMEPREFIX= influx + +MAINTAINER= driesm@FreeBSD.org +COMMENT= Drop-in pkg-config replacement for compiling C libraries for InfluxData + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules + +GO_MODULE= github.com/influxdata/pkg-config +GO_TARGET= ./:${PREFIX}/bin/influx-pkg-config + +PLIST_FILES= bin/influx-pkg-config + +.include Index: devel/influx-pkg-config/distinfo =================================================================== --- /dev/null +++ devel/influx-pkg-config/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1639994606 +SHA256 (go/devel_influx-pkg-config/pkg-config-v0.2.10/v0.2.10.mod) = cb101f1b8f52a9d96c246dd29d91110d4fe712b2ad9e15bcbe127af5ba64c63f +SIZE (go/devel_influx-pkg-config/pkg-config-v0.2.10/v0.2.10.mod) = 277 +SHA256 (go/devel_influx-pkg-config/pkg-config-v0.2.10/v0.2.10.zip) = c40ec48eb41f1698e49d7cc5dacb61677c6fd057dd8f9696680b2597b9b903e9 +SIZE (go/devel_influx-pkg-config/pkg-config-v0.2.10/v0.2.10.zip) = 51281 Index: devel/influx-pkg-config/pkg-descr =================================================================== --- /dev/null +++ devel/influx-pkg-config/pkg-descr @@ -0,0 +1,9 @@ +This binary is intended as an easier way to include C code in your Go program. + +This binary can be installed and Go can be told to use this binary when it +invokes pkg-config. If it finds a library that is known by the program, +it will compile and output the location for that binary. If it doesn't know +what the program is, it will default to invoking the system pkg-config to +obtain the compilation flags. + +WWW: https://github.com/influxdata/pkg-config