aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-05-09 10:31:16 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-05-09 10:31:16 +0800
commit017c0a77f9c3c5535b5bab7919497289ce3b1866 (patch)
treed9fa5cbc83fd9626b297d8534ca793fad03c5ec9 /security
parent0634cef65a43e53a0b4baadde096e737a5a0cef1 (diff)
downloadfreebsd-ports-gnome-017c0a77f9c3c5535b5bab7919497289ce3b1866.tar.gz
freebsd-ports-gnome-017c0a77f9c3c5535b5bab7919497289ce3b1866.tar.zst
freebsd-ports-gnome-017c0a77f9c3c5535b5bab7919497289ce3b1866.zip
- Add LICENSE
- Strip library - Drop @dirrm* from plist
Diffstat (limited to 'security')
-rw-r--r--security/mhash/Makefile7
-rw-r--r--security/mhash/pkg-plist1
2 files changed, 5 insertions, 3 deletions
diff --git a/security/mhash/Makefile b/security/mhash/Makefile
index 722f0cfeec6d..b10315d79d67 100644
--- a/security/mhash/Makefile
+++ b/security/mhash/Makefile
@@ -3,18 +3,20 @@
PORTNAME= mhash
PORTVERSION= 0.9.9.9
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Easy-to-use library for strong hashes such as MD5 and SHA1
+LICENSE= LGPL20 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
+
USES= tar:bzip2 libtool
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--enable-static --with-gnu-ld
-INSTALL_TARGET= install-strip
PORTDOCS= example.c skid2-authentication
@@ -22,6 +24,7 @@ test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check
post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmhash.so
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}
diff --git a/security/mhash/pkg-plist b/security/mhash/pkg-plist
index b1c73dab68a0..cbf3ad9dae9f 100644
--- a/security/mhash/pkg-plist
+++ b/security/mhash/pkg-plist
@@ -10,4 +10,3 @@ lib/libmhash.so
lib/libmhash.so.2
lib/libmhash.so.2.0.1
man/man3/mhash.3.gz
-@dirrm include/mutils