Files
ports/security/libsecret/Makefile
T
Po-Chuan Hsieh a5cba69a0f security/libsecret: Add DOCS and NLS options
- Mark PIE_UNSAFE
- Fix PLIST: add missing %%DOCSDIR%%-1/func.attributes_validate.html
- Bump PORTREVISION for package change

PR:		290602
Approved by:	maintainer (timeout, 14 days)
2025-11-11 15:17:11 +08:00

36 lines
1010 B
Makefile

PORTNAME= libsecret
PORTVERSION= 0.21.7
PORTREVISION= 2
CATEGORIES= security gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= Library to access the secret service API
WWW= https://gitlab.gnome.org/GNOME/libsecret
LICENSE= APACHE20 GPLv2+ LGPL21+
LICENSE_COMB= multi
BUILD_DEPENDS= docbook-xsl>=0:textproc/docbook-xsl
LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
libgpg-error.so:security/libgpg-error
USES= compiler gettext-runtime gnome meson pkgconfig python tar:xz vala:build
USE_GNOME= glib20 introspection:build libxslt:build
MESON_ARGS= -Dbash_completion=disabled
# see PR 287429 / https://gitlab.gnome.org/GNOME/libsecret/-/issues/106
MESON_ARGS+= -Dc_args="-DHAVE_CMSGCRED"
PIE_UNSAFE= yes
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gi-docgen>0:textproc/py-gi-docgen@${PY_FLAVOR}
DOCS_MESON_TRUE= gtk_doc
NLS_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-meson.build
NLS_USES= gettext-tools
.include <bsd.port.mk>