diff --git a/devel/Makefile b/devel/Makefile --- a/devel/Makefile +++ b/devel/Makefile @@ -1021,6 +1021,7 @@ SUBDIR += include-what-you-use SUBDIR += indi SUBDIR += indicators + SUBDIR += influx-pkg-config SUBDIR += inifiled SUBDIR += inih SUBDIR += inilib diff --git a/devel/influx-pkg-config/Makefile b/devel/influx-pkg-config/Makefile new file mode 100644 --- /dev/null +++ b/devel/influx-pkg-config/Makefile @@ -0,0 +1,20 @@ +PORTNAME= pkg-config +DISTVERSIONPREFIX= v +DISTVERSION= 0.2.11 +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 pkgconfig:run + +GO_MODULE= github.com/influxdata/pkg-config +GO_TARGET= ./:${PREFIX}/bin/influx-pkg-config + +PLIST_FILES= bin/influx-pkg-config + +.include diff --git a/devel/influx-pkg-config/distinfo b/devel/influx-pkg-config/distinfo new file mode 100644 --- /dev/null +++ b/devel/influx-pkg-config/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1643140363 +SHA256 (go/devel_influx-pkg-config/pkg-config-v0.2.11/v0.2.11.mod) = cb101f1b8f52a9d96c246dd29d91110d4fe712b2ad9e15bcbe127af5ba64c63f +SIZE (go/devel_influx-pkg-config/pkg-config-v0.2.11/v0.2.11.mod) = 277 +SHA256 (go/devel_influx-pkg-config/pkg-config-v0.2.11/v0.2.11.zip) = e744271589b353552719f93fe61b28390925ea3ed4602236264af7305071e9dd +SIZE (go/devel_influx-pkg-config/pkg-config-v0.2.11/v0.2.11.zip) = 51287 diff --git a/devel/influx-pkg-config/pkg-descr b/devel/influx-pkg-config/pkg-descr new file mode 100644 --- /dev/null +++ b/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