1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/security/libcryptui/Makefile
Adriaan de Groot 48de6fdcb8 security/libcryptui: accept current gnupg 2.3 in configure
Massage our crummy REINPLACE to also accept the current version
of gnupg that is in ports, so this can build agani. While here,
fix the pkg-descr which was still a copy of seahorse (from which
this package was split several years ago).

Upstream has marked this as "likely to be deprecated", and there
has been no release in 4 years. There *has* been an upstream
commit doing what our REINPLACE does, up to gnupg 2.2.
2021-04-13 15:06:17 +02:00

47 lines
1.1 KiB
Makefile

# Created by: Dave McKay <dave@mu.org>
PORTNAME= libcryptui
PORTVERSION= 3.12.2
PORTREVISION= 2
CATEGORIES= security gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME application for managing encryption keys (PGP, SSH)
BUILD_DEPENDS= seahorse>=3.0.0:security/seahorse \
gpg:security/gnupg
LIB_DEPENDS= libgpgme.so:security/gpgme \
libdbus-glib-1.so:devel/dbus-glib \
libgnome-keyring.so:security/libgnome-keyring
RUN_DEPENDS= seahorse>=3.0.0:security/seahorse \
gpg:security/gnupg
USES= gettext gmake gnome libtool pathfix pkgconfig tar:xz xorg
USE_GNOME= intlhack gnomeprefix gtk30 introspection:build
USE_XORG= sm ice
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
GLIB_SCHEMAS= org.gnome.seahorse.recipients.gschema.xml
OPTIONS_DEFINE= NOTIFY
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNOTIFY}
LIB_DEPENDS+= libnotify.so:devel/libnotify
.else
CONFIGURE_ARGS+=--disable-libnotify
.endif
post-patch:
@${REINPLACE_CMD} -e 's|"1.2 1.4 2.0"|"1.2 1.4 2.0 2.1 2.2 2.3"|g' \
${WRKSRC}/configure
.include <bsd.port.mk>