Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 2015 14:08:28 +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: r381397 - head/devel/py-pqueue
Message-ID:  <201503161408.t2GE8Sw1031389@svn.freebsd.org>

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

Log:
  - Add LICENSE
  - Strip library

Modified:
  head/devel/py-pqueue/Makefile

Modified: head/devel/py-pqueue/Makefile
==============================================================================
--- head/devel/py-pqueue/Makefile	Mon Mar 16 14:08:18 2015	(r381396)
+++ head/devel/py-pqueue/Makefile	Mon Mar 16 14:08:27 2015	(r381397)
@@ -3,6 +3,7 @@
 
 PORTNAME=	pqueue
 PORTVERSION=	0.2
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	http://www.csse.monash.edu.au/hons/projects/1999/Andrew.Snare/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,6 +12,9 @@ DISTNAME=	PQueue-${PORTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Fibonacci-Heap based Priority-Queue Extension for Python
 
+LICENSE=	GPLv2 # or later
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 USES=		python tar:bzip2
 USE_PYTHON=	distutils autoplist
 
@@ -19,4 +23,7 @@ WRKSRC=		${WRKDIR}/PQueue
 post-patch:
 	${CP} ${FILESDIR}/setup.py ${WRKSRC}
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pqueue.so
+
 .include <bsd.port.mk>



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