- Update to 0.4.5

- Use DOCSDIR and EXAMPLESDIR in pkg-plist

PR:		48705
Submitted by:	Sergei Kolobov <sergei@kolobov.com>
This commit is contained in:
Christian Weisgerber 2003-02-27 20:32:12 +00:00
parent ce4b1510c1
commit e76d6dab83
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76593
4 changed files with 32 additions and 19 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= opencdk
PORTVERSION= 0.4.1
PORTVERSION= 0.4.5
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GNUPG} \
http://www.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \
@ -28,12 +28,11 @@ USE_REINPLACE= yes
DOCS= AUTHORS NEWS README THANKS
post-patch:
.for file in encrypt.c main.c
.for file in encrypt.c main.c misc.c
${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' ${WRKSRC}/src/${file}
.endfor
post-install:
${RM} -f ${PREFIX}/lib/libopencdk.la
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/tests/*.c ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/tests/*.gpg ${EXAMPLESDIR}

View file

@ -1 +1 @@
MD5 (opencdk-0.4.1.tar.gz) = 428f93034dbdbded596746c9656e270b
MD5 (opencdk-0.4.5.tar.gz) = 53e7822ae35d6b391951933e73d3cce0

View file

@ -0,0 +1,13 @@
$FreeBSD$
--- configure.orig Thu Feb 27 21:22:56 2003
+++ configure Thu Feb 27 21:23:24 2003
@@ -7744,6 +7744,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'

View file

@ -1,19 +1,20 @@
@comment $FreeBSD$
bin/opencdk-config
include/opencdk.h
lib/libopencdk.so.5
lib/libopencdk.so.6
lib/libopencdk.so
lib/libopencdk.a
%%PORTDOCS%%share/doc/opencdk/AUTHORS
%%PORTDOCS%%share/doc/opencdk/NEWS
%%PORTDOCS%%share/doc/opencdk/README
%%PORTDOCS%%share/doc/opencdk/THANKS
%%PORTDOCS%%share/doc/opencdk/opencdk-api.html
%%PORTDOCS%%@dirrm share/doc/opencdk
share/examples/opencdk/minpg.c
share/examples/opencdk/pub.gpg
share/examples/opencdk/sec-with-pwd.gpg
share/examples/opencdk/sec.gpg
share/examples/opencdk/t-stream.c
share/examples/opencdk/ts.gpg
share/examples/opencdk/wkold.gpg
@dirrm share/examples/opencdk
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/THANKS
%%PORTDOCS%%%%DOCSDIR%%/opencdk-api.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%EXAMPLESDIR%%/minpg.c
%%EXAMPLESDIR%%/pub.gpg
%%EXAMPLESDIR%%/sec-with-pwd.gpg
%%EXAMPLESDIR%%/sec.gpg
%%EXAMPLESDIR%%/t-stream.c
%%EXAMPLESDIR%%/ts.gpg
%%EXAMPLESDIR%%/wkold.gpg
@dirrm %%EXAMPLESDIR%%