Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Nov 2013 09:57:23 +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: r335273 - head/www/py-qpy
Message-ID:  <201311300957.rAU9vNaL081179@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Nov 30 09:57:23 2013
New Revision: 335273
URL: http://svnweb.freebsd.org/changeset/ports/335273

Log:
  - Use PYDISTUTILS_AUTOPLIST
  - Use PORTDOCS
  - Simplify Makefile

Deleted:
  head/www/py-qpy/pkg-plist
Modified:
  head/www/py-qpy/Makefile

Modified: head/www/py-qpy/Makefile
==============================================================================
--- head/www/py-qpy/Makefile	Sat Nov 30 09:39:47 2013	(r335272)
+++ head/www/py-qpy/Makefile	Sat Nov 30 09:57:23 2013	(r335273)
@@ -15,15 +15,14 @@ OPTIONS_DEFINE=	DOCS
 OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
 
 MAKE_ENV=	USE_DISTUTILS=yes
+PYDISTUTILS_AUTOPLIST=	yes
 USE_PYDISTUTILS=yes
 USE_PYTHON=	-2.7
 
-.include <bsd.port.options.mk>
+PORTDOCS=	CHANGES.txt LICENSE.txt README.txt
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${STAGEDIR}${DOCSDIR}/
-	cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGES.txt LICENSE.txt README.txt ${STAGEDIR}${DOCSDIR}/
-.endif
+	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>



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