freebsd-ports/security/gcr/Makefile
Charlie Li db31f048cd
security/gcr: reroll patch
While here, add LICENSE

Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D34258
2022-02-12 16:33:09 -05:00

42 lines
1.1 KiB
Makefile

# Created by: Koop Mast <kwm@FreeBSD.org>
PORTNAME= gcr
PORTVERSION= 3.40.0
CATEGORIES= security gnome
MASTER_SITES= GNOME
LICENSE= LGPL20+
LICENSE_FILE= ${WRKSRC}/COPYING
PATCH_SITES= https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/
PATCHFILES+= b3ca1d02bb01.patch:-p1 # https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/81
MAINTAINER= gnome@FreeBSD.org
COMMENT= Library for bits of crypto UI and parsing
BUILD_DEPENDS= gpg2:security/gnupg \
vapigen:lang/vala
LIB_DEPENDS= libdbus-1.so:devel/dbus \
libgpg-error.so:security/libgpg-error \
libp11-kit.so:security/p11-kit \
libgcrypt.so:security/libgcrypt
CONFLICTS= gnome-keyring-2.[0-9]*
PORTSCOUT= limitw:1,even
USE_GNOME= cairo gtk30 intlhack introspection:build
USES= desktop-file-utils gettext gmake gnome libtool meson pathfix \
pkgconfig python:3.6+ shared-mime-info tar:xz
USE_LDCONFIG= yes
BINARY_ALIAS= python3=${PYTHON_VERSION}
INSTALL_TARGET= install-strip
GLIB_SCHEMAS= org.gnome.crypto.pgp.gschema.xml
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= gtk-doc>0:textproc/gtk-doc
DOCS_MESON_TRUE= gtk_doc
DOCSDIR= ${PREFIX}/share/gtk-doc/html/
.include <bsd.port.mk>