svn commit: r385857 - head/security/mhash

Dmitry Marakasov amdmi3 at FreeBSD.org
Sat May 9 02:31:17 UTC 2015


Author: amdmi3
Date: Sat May  9 02:31:16 2015
New Revision: 385857
URL: https://svnweb.freebsd.org/changeset/ports/385857

Log:
  - Add LICENSE
  - Strip library
  - Drop @dirrm* from plist

Modified:
  head/security/mhash/Makefile
  head/security/mhash/pkg-plist

Modified: head/security/mhash/Makefile
==============================================================================
--- head/security/mhash/Makefile	Sat May  9 02:30:33 2015	(r385856)
+++ head/security/mhash/Makefile	Sat May  9 02:31:16 2015	(r385857)
@@ -3,18 +3,20 @@
 
 PORTNAME=	mhash
 PORTVERSION=	0.9.9.9
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	security
 MASTER_SITES=	SF
 
 MAINTAINER=	ports at 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}
 

Modified: head/security/mhash/pkg-plist
==============================================================================
--- head/security/mhash/pkg-plist	Sat May  9 02:30:33 2015	(r385856)
+++ head/security/mhash/pkg-plist	Sat May  9 02:31:16 2015	(r385857)
@@ -10,4 +10,3 @@ lib/libmhash.so
 lib/libmhash.so.2
 lib/libmhash.so.2.0.1
 man/man3/mhash.3.gz
- at dirrm include/mutils


More information about the svn-ports-all mailing list