svn commit: r360137 - head/textproc/py-xmltv

Vanilla I. Shu vanilla at FreeBSD.org
Wed Jul 2 06:30:55 UTC 2014


Author: vanilla
Date: Wed Jul  2 06:30:54 2014
New Revision: 360137
URL: http://svnweb.freebsd.org/changeset/ports/360137
QAT: https://qat.redports.org/buildarchive/r360137/

Log:
  Stagify.
  
  Approved by:	portmgr@ (blanket approval)

Modified:
  head/textproc/py-xmltv/Makefile
  head/textproc/py-xmltv/pkg-plist

Modified: head/textproc/py-xmltv/Makefile
==============================================================================
--- head/textproc/py-xmltv/Makefile	Wed Jul  2 06:24:34 2014	(r360136)
+++ head/textproc/py-xmltv/Makefile	Wed Jul  2 06:30:54 2014	(r360137)
@@ -17,18 +17,19 @@ LICENSE=	LGPL21
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
 PYDISTUTILS_PKGNAME=	python-xmltv
-
 PROJECTHOST=	python-xmltv
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
 
-.ifndef(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 PORTDOCS=	README.txt
 .endif
 
-NO_STAGE=	yes
 post-install:
-.ifndef(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/textproc/py-xmltv/pkg-plist
==============================================================================
--- head/textproc/py-xmltv/pkg-plist	Wed Jul  2 06:24:34 2014	(r360136)
+++ head/textproc/py-xmltv/pkg-plist	Wed Jul  2 06:30:54 2014	(r360137)
@@ -1,5 +1,3 @@
 %%PYTHON_SITELIBDIR%%/xmltv.py
 %%PYTHON_SITELIBDIR%%/xmltv.pyc
 %%PYTHON_SITELIBDIR%%/xmltv.pyo
- at dirrmtry %%PYTHON_SITELIBDIR%%
- at dirrmtry %%PYTHON_LIBDIR%%


More information about the svn-ports-all mailing list