diff --git a/security/opencdk/Makefile b/security/opencdk/Makefile index 2c4a83070175..1f5766e7467f 100644 --- a/security/opencdk/Makefile +++ b/security/opencdk/Makefile @@ -6,7 +6,8 @@ # PORTNAME= opencdk -PORTVERSION= 0.5.1 +PORTVERSION= 0.4.5 +PORTEPOCH= 1 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_GNUPG} \ http://www.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \ @@ -19,15 +20,13 @@ COMMENT= Open Crypto Development Kit LIB_DEPENDS= gcrypt.6:${PORTSDIR}/security/libgcrypt -USE_BZIP2= yes USE_LIBTOOL= yes INSTALLS_SHLIB= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --with-libgcrypt-prefix=${LOCALBASE} USE_REINPLACE= yes -DOCS= AUTHORS NEWS README THANKS doc/opencdk-api.html -EXAMPLES= tests/*.c tests/*.gpg +DOCS= AUTHORS NEWS README THANKS post-patch: .for file in encrypt.c main.c misc.c @@ -36,10 +35,14 @@ post-patch: post-install: @${MKDIR} ${EXAMPLESDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/tests/*.c ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/tests/*.gpg ${EXAMPLESDIR} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} +.for file in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor + ${INSTALL_DATA} ${WRKSRC}/doc/opencdk-api.html ${DOCSDIR} .endif .include diff --git a/security/opencdk/distinfo b/security/opencdk/distinfo index 0b5568742e3a..790b93d08735 100644 --- a/security/opencdk/distinfo +++ b/security/opencdk/distinfo @@ -1 +1 @@ -MD5 (opencdk-0.5.1.tar.bz2) = ecdbbba6eb0239e132013818cc7fb029 +MD5 (opencdk-0.4.5.tar.gz) = 53e7822ae35d6b391951933e73d3cce0 diff --git a/security/opencdk/pkg-plist b/security/opencdk/pkg-plist index 54a3869a6af4..c9528314e67b 100644 --- a/security/opencdk/pkg-plist +++ b/security/opencdk/pkg-plist @@ -1,7 +1,7 @@ @comment $FreeBSD$ bin/opencdk-config include/opencdk.h -lib/libopencdk.so.8 +lib/libopencdk.so.6 lib/libopencdk.so lib/libopencdk.a %%PORTDOCS%%%%DOCSDIR%%/AUTHORS