From 017c0a77f9c3c5535b5bab7919497289ce3b1866 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Sat, 9 May 2015 02:31:16 +0000 Subject: - Add LICENSE - Strip library - Drop @dirrm* from plist --- security/mhash/Makefile | 7 +++++-- security/mhash/pkg-plist | 1 - 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'security') 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 -- cgit