summaryrefslogtreecommitdiff
path: root/security/opencdk
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-01-28 22:15:48 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-01-28 22:15:48 +0000
commiteb4cdb39e7a7e9ec358860ddcd6c4f25a9a21a21 (patch)
tree8a96409cdea381e5d7ead628cd6cf9b52b73159e /security/opencdk
parentUpgrade to 0.26. (diff)
- Make portlint happy (remove space at EOL)
- Remove useless .la files - Make REINPLACE_CMD invocation a bit more readable (at least IMO) PR: ports/47524 Submitted by: Sergei Kolobov <sergei@kolobov.com> (maintainer)
Diffstat (limited to 'security/opencdk')
-rw-r--r--security/opencdk/Makefile8
-rw-r--r--security/opencdk/pkg-plist1
2 files changed, 5 insertions, 4 deletions
diff --git a/security/opencdk/Makefile b/security/opencdk/Makefile
index 071574da24c8..96531feddd76 100644
--- a/security/opencdk/Makefile
+++ b/security/opencdk/Makefile
@@ -12,7 +12,7 @@ MASTER_SITES= http://gd.tuwien.ac.at/privacy/gnupg/alpha/gnutls/opencdk/ \
http://www.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \
ftp://ftp.gnupg.org/pub/gcrypt/alpha/gnutls/opencdk/ \
ftp://ftp.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \
- ftp://ftp.gnutls.org/pub/gnutls/opencdk/
+ ftp://ftp.gnutls.org/pub/gnutls/opencdk/
MAINTAINER= sergei@kolobov.com
@@ -27,10 +27,12 @@ USE_REINPLACE= yes
DOCS= AUTHORS NEWS README THANKS
post-patch:
- ${REINPLACE_CMD} -e 's,#include <malloc.h>,#include<stdlib.h>,' \
- ${WRKSRC}/src/encrypt.c ${WRKSRC}/src/main.c
+.for file in encrypt.c main.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}
diff --git a/security/opencdk/pkg-plist b/security/opencdk/pkg-plist
index 853ae760de01..56caa6724f9a 100644
--- a/security/opencdk/pkg-plist
+++ b/security/opencdk/pkg-plist
@@ -2,7 +2,6 @@ bin/opencdk-config
include/opencdk.h
lib/libopencdk.so.5
lib/libopencdk.so
-lib/libopencdk.la
lib/libopencdk.a
%%PORTDOCS%%share/doc/opencdk/AUTHORS
%%PORTDOCS%%share/doc/opencdk/NEWS