Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2013 18:12:33 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337056 - head/devel/py-cmdln
Message-ID:  <201312201812.rBKICXqE073546@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Fri Dec 20 18:12:33 2013
New Revision: 337056
URL: http://svnweb.freebsd.org/changeset/ports/337056

Log:
  devel/py-cmdln: allow staging
  
  - Allow staging
  - Restrict to python 2
  - Catch up with new upstream url
  - Add LICENSE (MIT)
  - Remove leading article from COMMENT

Modified:
  head/devel/py-cmdln/Makefile
  head/devel/py-cmdln/pkg-descr

Modified: head/devel/py-cmdln/Makefile
==============================================================================
--- head/devel/py-cmdln/Makefile	Fri Dec 20 18:10:28 2013	(r337055)
+++ head/devel/py-cmdln/Makefile	Fri Dec 20 18:12:33 2013	(r337056)
@@ -8,29 +8,24 @@ CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A python module for easily building good multi-command scripts
+MAINTAINER=	python@FreeBSD.org
+COMMENT=	Python module for easily building good multi-command scripts
+
+LICENSE=	MIT
 
 USE_ZIP=	yes
-USE_PYTHON=	2.5+
+USE_PYTHON=	2
 USE_PYDISTUTILS=	yes
 
 DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
 EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
 
-PORTDOCS=	LICENSE README
+PORTDOCS=	README.txt
 
-NO_STAGE=	yes
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
-	@${INSTALL_DATA} ${WRKSRC}/$f.txt ${DOCSDIR}/$f
-.endfor
-.endif
-.if !defined(NOPORTEXAMPLES)
-	@${MKDIR} ${EXAMPLESDIR}
-	@${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/devel/py-cmdln/pkg-descr
==============================================================================
--- head/devel/py-cmdln/pkg-descr	Fri Dec 20 18:10:28 2013	(r337055)
+++ head/devel/py-cmdln/pkg-descr	Fri Dec 20 18:12:33 2013	(r337056)
@@ -2,4 +2,4 @@ cmdln.py fixes some of the design flaws 
 of new Python stdlib modules (e.g. optparse) so that it is more useful
 (and convenient) for implementing command-line scripts/shells.
 
-WWW: http://code.google.com/p/cmdln/
+WWW: https://github.com/trentm/cmdln



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