# Created by: Sergei Kolobov # $FreeBSD: head/security/opencdk/Makefile 412349 2016-04-01 14:25:16Z mat $ PORTNAME= opencdk PORTVERSION= 0.6.6 PORTREVISION= 8 PORTEPOCH= 1 CATEGORIES= security MASTER_SITES= http://josefsson.org/gnutls/releases/opencdk/ MAINTAINER= novel@FreeBSD.org COMMENT= Open Crypto Development Kit LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgcrypt.so:security/libgcrypt GNU_CONFIGURE= yes USES= libtool pathfix pkgconfig tar:bzip2 USE_LDCONFIG= yes CONFIGURE_ARGS= --with-libgcrypt-prefix=${LOCALBASE} DOCS= AUTHORS NEWS README THANKS doc/opencdk-api.html OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/^LDADD/ s/$$/ $$(LIBGCRYPT_LIBS)/' ${WRKSRC}/tests/Makefile.in post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/tests/*.c ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/tests/*.gpg ${STAGEDIR}${EXAMPLESDIR} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} .include