aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-01-29 06:15:48 +0800
committernork <nork@FreeBSD.org>2003-01-29 06:15:48 +0800
commit22797d98152e4e1fdce46d0a92b7de6acc8a1613 (patch)
treece0a68f975fe3a887ea9c18eb496f349f03f53bc /security
parentb975f5f571dc41e199d9ea92e02786bc820e68b1 (diff)
downloadfreebsd-ports-gnome-22797d98152e4e1fdce46d0a92b7de6acc8a1613.tar.gz
freebsd-ports-gnome-22797d98152e4e1fdce46d0a92b7de6acc8a1613.tar.zst
freebsd-ports-gnome-22797d98152e4e1fdce46d0a92b7de6acc8a1613.zip
- 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')
-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