# Created by: Sergei Kolobov # $FreeBSD$ PORTNAME= opencdk PORTVERSION= 0.6.6 PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= security MASTER_SITES= http://josefsson.org/gnutls/releases/opencdk/ MASTER_SITE_SUBDIR= alpha/gnutls/opencdk MAINTAINER= novel@FreeBSD.org COMMENT= Open Crypto Development Kit OPTIONS_DEFINE= DOCS LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt GNU_CONFIGURE= yes USES= libtool:keepla pathfix pkgconfig USE_BZIP2= yes USE_LDCONFIG= yes CONFIGURE_ARGS= --with-libgcrypt-prefix=${LOCALBASE} DOCS= AUTHORS NEWS README THANKS doc/opencdk-api.html 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} @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} .include