sthen 407eeca0ce Fix gpgme BUILD_DEPENDS to explicitly request gnupg 2.x (otherwise it also
matches 1.x).

Fix RUN_DEPENDS to allow either gnupg 1.x or 2.x (gpgme can use either version).

OK aja
2015-01-20 20:43:37 +00:00

39 lines
925 B
Makefile

# $OpenBSD: Makefile,v 1.32 2015/01/20 20:43:37 sthen Exp $
COMMENT= GnuPG Made Easy
DISTNAME= gpgme-1.5.1
REVISION= 0
CATEGORIES= security devel
SHARED_LIBS += gpgme 19.0 # 24.0
SHARED_LIBS += gpgme-pthread 19.0 # 24.0
HOMEPAGE= http://www.gnupg.org/gpgme.html
# GPLv2 - LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += assuan gpg-error
MASTER_SITES= ${MASTER_SITES_GNUPG:=gpgme/}
EXTRACT_SUFX= .tar.bz2
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
MODULES= devel/gettext
# Requires gpgsm (gnupg 2.x) during build, but can run with any gnupg.
BUILD_DEPENDS= gnupg->=2:security/gnupg2
# gnupg-* is normally the default anyway, but gnupg1 overrides PKGSPEC
# so we must be explicit here.
RUN_DEPENDS= gnupg-*:security/gnupg
LIB_DEPENDS= security/libgpg-error>=1.4 \
security/libassuan
# needed for the regression tests
USE_GMAKE= Yes
.include <bsd.port.mk>