svn commit: r381002 - head/security/py-clamav

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Mar 11 14:51:36 UTC 2015


Author: amdmi3
Date: Wed Mar 11 14:51:35 2015
New Revision: 381002
URL: https://svnweb.freebsd.org/changeset/ports/381002
QAT: https://qat.redports.org/buildarchive/r381002/

Log:
  - Add LICENSE
  - Strip library

Modified:
  head/security/py-clamav/Makefile

Modified: head/security/py-clamav/Makefile
==============================================================================
--- head/security/py-clamav/Makefile	Wed Mar 11 14:51:24 2015	(r381001)
+++ head/security/py-clamav/Makefile	Wed Mar 11 14:51:35 2015	(r381002)
@@ -3,7 +3,7 @@
 
 PORTNAME=	clamav
 PORTVERSION=	0.4.1
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	security python
 MASTER_SITES=	http://xael.org/norman/python/pyclamav/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,6 +12,9 @@ DISTNAME=	py${PORTNAME}-${PORTVERSION}
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Python binding to libclamav written in C
 
+LICENSE=	GPLv2 # or later
+LICENSE_FILE=	${WRKSRC}/gpl.txt
+
 LIB_DEPENDS=	libclamav.so:${PORTSDIR}/security/clamav
 
 DIST_SUBDIR=	python
@@ -26,6 +29,7 @@ PORTDOCS=	*
 PORTEXAMPLES=	*
 
 post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pyclamav.so
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}


More information about the svn-ports-head mailing list