Makefile 1000 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # $OpenBSD: Makefile,v 1.38 2017/05/11 00:29:50 espie Exp $
  2. COMMENT= GnuPG Made Easy
  3. DISTNAME= gpgme-1.6.0
  4. REVISION= 0
  5. CATEGORIES= security devel
  6. SHARED_LIBS += gpgme 20.0 # 25.0
  7. SHARED_LIBS += gpgme-pthread 20.0 # 25.0
  8. HOMEPAGE= http://www.gnupg.org/gpgme.html
  9. # GPLv2 - LGPLv2.1
  10. PERMIT_PACKAGE_CDROM= Yes
  11. WANTLIB += assuan c gpg-error iconv intl pthread
  12. MASTER_SITES= ${MASTER_SITE_GNUPG:=gpgme/}
  13. EXTRACT_SUFX= .tar.bz2
  14. CONFIGURE_STYLE= gnu
  15. # not without -pthread
  16. CONFIGURE_ENV += gpgme_cv_tls_works=no
  17. # Requires gpgsm (gnupg 2.x) during build, but can run with any gnupg.
  18. BUILD_DEPENDS= gnupg->=2:security/gnupg2
  19. # gnupg-* is normally the default anyway, but gnupg1 overrides PKGSPEC
  20. # so we must be explicit here.
  21. RUN_DEPENDS= gnupg-*:security/gnupg
  22. LIB_DEPENDS= devel/gettext \
  23. security/libgpg-error>=1.4 \
  24. security/libassuan
  25. TEST_DEPENDS += security/gnupg
  26. # needed for the regression tests
  27. USE_GMAKE= Yes
  28. .include <bsd.port.mk>