Index: head/security/opencdk/Makefile =================================================================== --- head/security/opencdk/Makefile (revision 400750) +++ head/security/opencdk/Makefile (revision 400751) @@ -1,35 +1,40 @@ # Created by: Sergei Kolobov # $FreeBSD$ 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 -OPTIONS_DEFINE= DOCS +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/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 Index: head/security/opencdk/pkg-descr =================================================================== --- head/security/opencdk/pkg-descr (revision 400750) +++ head/security/opencdk/pkg-descr (revision 400751) @@ -1,15 +1,15 @@ OpenCDK - Open Crypto Development Kit This library provides basic parts of the OpenPGP message format. The aim of the library is *not* to replace any available OpenPGP version. There will be no real support for key management (sign, revoke, alter preferences, ...) and some other parts are only rudimentary available. The main purpose is to handle and understand OpenPGP packets and to use basic operations. For example to encrypt/decrypt or to sign/verify and packet routines. Hint: Because of the fact that sentensive data is used, the library doesn't contain any real cryptographic code. For all crypto routines we referring to the Libgcrypt library! -WWW: http://www.gnutls.org/ +WWW: http://www.gnutls.org/ Index: head/security/opencdk/pkg-plist =================================================================== --- head/security/opencdk/pkg-plist (revision 400750) +++ head/security/opencdk/pkg-plist (revision 400751) @@ -1,34 +1,32 @@ bin/opencdk-config include/opencdk.h lib/libopencdk.a lib/libopencdk.so lib/libopencdk.so.10 lib/libopencdk.so.10.0.6 libdata/pkgconfig/opencdk.pc %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/THANKS %%PORTDOCS%%%%DOCSDIR%%/opencdk-api.html -%%PORTDOCS%%@dirrm %%DOCSDIR%% %%EXAMPLESDIR%%/basic.c %%EXAMPLESDIR%%/exp-key.gpg %%EXAMPLESDIR%%/newkey.gpg %%EXAMPLESDIR%%/photo-key.gpg %%EXAMPLESDIR%%/plain-test-pubenc-part.gpg %%EXAMPLESDIR%%/plain-test-sym.gpg %%EXAMPLESDIR%%/plain-test.gpg %%EXAMPLESDIR%%/pub.gpg %%EXAMPLESDIR%%/pub-asc.gpg %%EXAMPLESDIR%%/sec-with-pwd.gpg %%EXAMPLESDIR%%/sec.gpg %%EXAMPLESDIR%%/t-encr.c %%EXAMPLESDIR%%/t-key.c %%EXAMPLESDIR%%/t-keydb.c %%EXAMPLESDIR%%/t-misc.c %%EXAMPLESDIR%%/t-sign.c %%EXAMPLESDIR%%/t-stream.c %%EXAMPLESDIR%%/testpa.c %%EXAMPLESDIR%%/ts.gpg %%EXAMPLESDIR%%/wkold.gpg -@dirrm %%EXAMPLESDIR%%