git: 9dea094bd627 - main - net/grilo-plugins: Fix plist when TRACKER option is off
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Nov 2021 09:06:21 UTC
The branch main has been updated by meta: URL: https://cgit.FreeBSD.org/ports/commit/?id=9dea094bd6272c31fccceffc83f42734ad2c3165 commit 9dea094bd6272c31fccceffc83f42734ad2c3165 Author: Koichiro Iwao <meta@FreeBSD.org> AuthorDate: 2021-10-29 07:46:56 +0000 Commit: Koichiro Iwao <meta@FreeBSD.org> CommitDate: 2021-11-01 09:06:04 +0000 net/grilo-plugins: Fix plist when TRACKER option is off --- net/grilo-plugins/Makefile | 10 +++++++++- net/grilo-plugins/pkg-plist | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/net/grilo-plugins/Makefile b/net/grilo-plugins/Makefile index 7569a8ed00dc..3a60266fd62b 100644 --- a/net/grilo-plugins/Makefile +++ b/net/grilo-plugins/Makefile @@ -42,4 +42,12 @@ DMAP_DESC= DMAP (DAAP, DPAP & DACP) support with libdmapsharing DMAP_MESON_YES= enable-dmap DMAP_LIB_DEPENDS= libdmapsharing-3.0.so:net/libdmapsharing -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PORT_OPTIONS:MTRACKER} +PLIST_SUB+= TRACKER="@comment " +.else +PLIST_SUB+= TRACKER="" +.endif + +.include <bsd.port.post.mk> diff --git a/net/grilo-plugins/pkg-plist b/net/grilo-plugins/pkg-plist index 4f49bcf2c6a2..36e4333336c9 100644 --- a/net/grilo-plugins/pkg-plist +++ b/net/grilo-plugins/pkg-plist @@ -15,7 +15,7 @@ lib/grilo-0.3/libgrlraitv.so lib/grilo-0.3/libgrlshoutcast.so lib/grilo-0.3/libgrlthetvdb.so lib/grilo-0.3/libgrltmdb.so -lib/grilo-0.3/libgrltracker.so +%%TRACKER%%lib/grilo-0.3/libgrltracker.so lib/grilo-0.3/libgrlyoutube.so libdata/pkgconfig/grilo-plugins-0.3.pc share/help/C/examples/example-tmdb.c