Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Mar 2015 14:16:02 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r381553 - head/databases/py-rrdtool_lgpl
Message-ID:  <201503181416.t2IEG2MM095194@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Mar 18 14:16:02 2015
New Revision: 381553
URL: https://svnweb.freebsd.org/changeset/ports/381553
QAT: https://qat.redports.org/buildarchive/r381553/

Log:
  - Add LICENSE
  - Strip library

Modified:
  head/databases/py-rrdtool_lgpl/Makefile

Modified: head/databases/py-rrdtool_lgpl/Makefile
==============================================================================
--- head/databases/py-rrdtool_lgpl/Makefile	Wed Mar 18 13:58:39 2015	(r381552)
+++ head/databases/py-rrdtool_lgpl/Makefile	Wed Mar 18 14:16:02 2015	(r381553)
@@ -3,7 +3,7 @@
 
 PORTNAME=	rrdtool_lgpl
 PORTVERSION=	1.0b1
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	databases python
 MASTER_SITES=	SF/py-rrdtool/py-rrdtool/${PORTVERSION}
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,6 +12,9 @@ DISTNAME=	py-rrdtool-${PORTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Python interface to RRDTool, the graphing and logging utility
 
+LICENSE=	LGPL21 # or later
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 LIB_DEPENDS=	librrd.so:${PORTSDIR}/databases/rrdtool
 
 USES=		python:2
@@ -19,4 +22,7 @@ USE_PYTHON=	distutils autoplist
 
 LIBDIR?=	${LOCALBASE}/lib # directory where librrd.so lives
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_rrdtool.so
+
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503181416.t2IEG2MM095194>