Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # $OpenBSD: Makefile,v 1.18 2016/03/11 20:28:31 naddy Exp $
  2. COMMENT= Open Crypto Development Kit
  3. VERSION= 0.6.6
  4. DISTNAME= opencdk-${VERSION}
  5. CATEGORIES= security
  6. SHARED_LIBS= opencdk 9.0 # .10.5
  7. REVISION= 2
  8. HOMEPAGE= http://www.gnutls.org/
  9. # GPLv2
  10. PERMIT_PACKAGE_CDROM= Yes
  11. WANTLIB= gpg-error z gcrypt>=13
  12. MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/opencdk/ \
  13. ftp://gd.tuwien.ac.at/privacy/gnupg/alpha/gnutls/opencdk/ \
  14. http://sunsite.dk/pub/security/gcrypt/alpha/gnutls/opencdk/ \
  15. http://ftp.linux.it/pub/mirrors/gnupg/alpha/gnutls/opencdk/
  16. EXTRACT_SUFX= .tar.bz2
  17. MODULES= devel/gettext
  18. LIB_DEPENDS= security/libgcrypt
  19. # for !shared...
  20. LIB_DEPENDS += security/libgpg-error
  21. CONFIGURE_STYLE=gnu
  22. CONFIGURE_ARGS= --enable-static \
  23. --with-libgcrypt-prefix=${LOCALBASE}
  24. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  25. LDFLAGS="-L${LOCALBASE}/lib"
  26. post-install:
  27. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/opencdk
  28. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/opencdk
  29. ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/opencdk
  30. ${INSTALL_DATA} ${WRKSRC}/doc/opencdk-api.html \
  31. ${PREFIX}/share/doc/opencdk
  32. ${INSTALL_DATA} ${WRKSRC}/tests/*.c \
  33. ${PREFIX}/share/examples/opencdk
  34. ${INSTALL_DATA} ${WRKSRC}/tests/*.gpg \
  35. ${PREFIX}/share/examples/opencdk
  36. .include <bsd.port.mk>