Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2013 03:22:08 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334387 - head/www/py-qpy
Message-ID:  <201311200322.rAK3M8SW005711@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Nov 20 03:22:08 2013
New Revision: 334387
URL: http://svnweb.freebsd.org/changeset/ports/334387

Log:
  - Update USE_PYTHON
  - Fix OPTIONSFILE
  - Support STAGEDIR
  - Reformat pkg-descr
  - Use single space after WWW:

Modified:
  head/www/py-qpy/Makefile
  head/www/py-qpy/pkg-descr   (contents, props changed)
  head/www/py-qpy/pkg-plist   (contents, props changed)

Modified: head/www/py-qpy/Makefile
==============================================================================
--- head/www/py-qpy/Makefile	Wed Nov 20 03:22:01 2013	(r334386)
+++ head/www/py-qpy/Makefile	Wed Nov 20 03:22:08 2013	(r334387)
@@ -12,18 +12,18 @@ MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Generating safely-quoted html text from python code
 
 OPTIONS_DEFINE=	DOCS
+OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
 
 MAKE_ENV=	USE_DISTUTILS=yes
-USE_PYTHON=	2.5+
 USE_PYDISTUTILS=yes
+USE_PYTHON=	-2.7
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}/
-	cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGES.txt LICENSE.txt README.txt ${DOCSDIR}/
+	${MKDIR} ${STAGEDIR}${DOCSDIR}/
+	cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGES.txt LICENSE.txt README.txt ${STAGEDIR}${DOCSDIR}/
 .endif
 
 .include <bsd.port.mk>

Modified: head/www/py-qpy/pkg-descr
==============================================================================
--- head/www/py-qpy/pkg-descr	Wed Nov 20 03:22:01 2013	(r334386)
+++ head/www/py-qpy/pkg-descr	Wed Nov 20 03:22:08 2013	(r334387)
@@ -1,8 +1,7 @@
-Qpy provides a convenient mechanism for generating safely-quoted html
-text from python code.
+Qpy provides a convenient mechanism for generating safely-quoted html text from
+python code.
 
-It does this by implementing a quoted-string data type and a
-modification of the python compiler. (This main idea comes from
-Quixote's htmltext/PTL.)
+It does this by implementing a quoted-string data type and a modification of the
+python compiler. (This main idea comes from Quixote's htmltext/PTL.)
 
-WWW:      http://www.mems-exchange.org/software/qpy/
+WWW: http://www.mems-exchange.org/software/qpy/

Modified: head/www/py-qpy/pkg-plist
==============================================================================
--- head/www/py-qpy/pkg-plist	Wed Nov 20 03:22:01 2013	(r334386)
+++ head/www/py-qpy/pkg-plist	Wed Nov 20 03:22:08 2013	(r334387)
@@ -28,8 +28,8 @@ bin/qpyrun.py
 %%PYTHON_SITELIBDIR%%/qpy/translate.py
 %%PYTHON_SITELIBDIR%%/qpy/translate.pyc
 %%PYTHON_SITELIBDIR%%/qpy/translate.pyo
-@dirrm %%PYTHON_SITELIBDIR%%/qpy
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt
 %%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
 %%PORTDOCS%%%%DOCSDIR%%/README.txt
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%PYTHON_SITELIBDIR%%/qpy



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