Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Mar 2015 14:49:36 +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: r380996 - head/devel/py-anonfunc
Message-ID:  <201503111449.t2BEnaD2044444@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Mar 11 14:49:35 2015
New Revision: 380996
URL: https://svnweb.freebsd.org/changeset/ports/380996
QAT: https://qat.redports.org/buildarchive/r380996/

Log:
  - Simplify MASTER_SITES
  - Add LICENSE
  - Strip library

Modified:
  head/devel/py-anonfunc/Makefile

Modified: head/devel/py-anonfunc/Makefile
==============================================================================
--- head/devel/py-anonfunc/Makefile	Wed Mar 11 14:49:06 2015	(r380995)
+++ head/devel/py-anonfunc/Makefile	Wed Mar 11 14:49:35 2015	(r380996)
@@ -3,15 +3,17 @@
 
 PORTNAME=	anonfunc
 PORTVERSION=	1.0
+PORTREVISION=	1
 CATEGORIES=	devel python
-MASTER_SITES=	${MASTER_SITE_LOCAL} \
+MASTER_SITES=	LOCAL/perky \
 		http://people.freebsd.org/~perky/distfiles/
-MASTER_SITE_SUBDIR=	perky
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Python module that provides easy anonymous function
 
+LICENSE=	BSD2CLAUSE
+
 USES=		python
 USE_PYTHON=	distutils autoplist
 
@@ -20,4 +22,7 @@ post-patch:
 		-e 's,distutils\.command\.install ,setuptools\.command\.install ,' \
 		${WRKSRC}/setup.py
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/anonfunc.so
+
 .include <bsd.port.mk>



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