Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Mar 2015 14:55: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: r381006 - head/devel/py-kjbuckets
Message-ID:  <201503111455.t2BEt2ZI049668@svn.freebsd.org>

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

Log:
  - Fix whitespace
  - Add LICENSE
  - Strip library
  - Unsilence installation commands

Modified:
  head/devel/py-kjbuckets/Makefile

Modified: head/devel/py-kjbuckets/Makefile
==============================================================================
--- head/devel/py-kjbuckets/Makefile	Wed Mar 11 14:53:45 2015	(r381005)
+++ head/devel/py-kjbuckets/Makefile	Wed Mar 11 14:55:01 2015	(r381006)
@@ -1,17 +1,21 @@
 # Created by: nectar@FreeBSD.org
 # $FreeBSD$
 
-PORTNAME=		kjbuckets
-PORTVERSION=		1.0.0
-PORTEPOCH=		1
-CATEGORIES=		devel python
-MASTER_SITES=		SF/gadfly/gadfly/${PORTVERSION}
-PKGNAMEPREFIX=		${PYTHON_PKGNAMEPREFIX}
-DISTNAME=		gadfly-${PORTVERSION}
+PORTNAME=	kjbuckets
+PORTVERSION=	1.0.0
+PORTREVISION=	1
+PORTEPOCH=	1
+CATEGORIES=	devel python
+MASTER_SITES=	SF/gadfly/gadfly/${PORTVERSION}
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	gadfly-${PORTVERSION}
 
-MAINTAINER=		ports@FreeBSD.org
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Graph and set datatypes for Python (C extension)
 
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/../COPYRIGHT.txt
+
 USES=		python
 USE_PYTHON=	distutils autoplist
 WRKSRC=		${WRKDIR}/${DISTNAME}/kjbuckets
@@ -20,10 +24,11 @@ PORTDOCS=	*
 PORTEXAMPLES=	*
 
 post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/kjbuckets.so
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/../COPYRIGHT.txt ${STAGEDIR}${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/../doc/kjbuckets.txt ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/../COPYRIGHT.txt ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/../doc/kjbuckets.txt ${STAGEDIR}${DOCSDIR}
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	@${INSTALL_DATA} ${WRKSRC}/../doc/demo/kjbuckets/*.py ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/../doc/demo/kjbuckets/*.py ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>



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