Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 2015 14:08:38 +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: r381401 - head/graphics/pygts
Message-ID:  <201503161408.t2GE8cuW031803@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Mar 16 14:08:37 2015
New Revision: 381401
URL: https://svnweb.freebsd.org/changeset/ports/381401
QAT: https://qat.redports.org/buildarchive/r381401/

Log:
  - Add LICENSE
  - Strip library

Modified:
  head/graphics/pygts/Makefile

Modified: head/graphics/pygts/Makefile
==============================================================================
--- head/graphics/pygts/Makefile	Mon Mar 16 14:08:34 2015	(r381400)
+++ head/graphics/pygts/Makefile	Mon Mar 16 14:08:37 2015	(r381401)
@@ -3,13 +3,16 @@
 
 PORTNAME=	pygts
 PORTVERSION=	0.3.1
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	graphics python
 MASTER_SITES=	SF
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Python binding for GNU Triangulated Surface(GTS) Library
 
+LICENSE=	GPLv2 # or later
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
 BUILD_DEPENDS=	${PYNUMPY}
 RUN_DEPENDS=	${PYNUMPY}
 LIB_DEPENDS=	libgts.so:${PORTSDIR}/graphics/gts
@@ -17,4 +20,7 @@ LIB_DEPENDS=	libgts.so:${PORTSDIR}/graph
 USE_PYTHON=	distutils
 USES=		pkgconfig python
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/gts/_gts.so
+
 .include <bsd.port.mk>



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