svn commit: r381397 - head/devel/py-pqueue

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Mar 16 14:08:28 UTC 2015


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 at 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>


More information about the svn-ports-head mailing list