Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Dec 2016 10:54:22 +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: r429246 - head/www/py-urlgrabber
Message-ID:  <201612231054.uBNAsMS9087304@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Dec 23 10:54:22 2016
New Revision: 429246
URL: https://svnweb.freebsd.org/changeset/ports/429246

Log:
  - Reflect that this module does not support python3
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/www/py-urlgrabber/Makefile

Modified: head/www/py-urlgrabber/Makefile
==============================================================================
--- head/www/py-urlgrabber/Makefile	Fri Dec 23 10:53:23 2016	(r429245)
+++ head/www/py-urlgrabber/Makefile	Fri Dec 23 10:54:22 2016	(r429246)
@@ -17,7 +17,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${PKGNAMEPREFIX}pycurl>=7.19.0_1:ftp/py-pycurl
 RUN_DEPENDS=	${PKGNAMEPREFIX}pycurl>=7.19.0_1:ftp/py-pycurl
 
-USES=		python
+USES=		python:2
 USE_PYTHON=	distutils
 
 REINPLACE_ARGS=	-i.bak -e 's,%%DOCSDIR%%,${DOCSDIR},'
@@ -25,13 +25,9 @@ DOCSDIR=	${PREFIX}/share/doc/${PYTHON_PK
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-MAKE_ENV=	INSTALL_DOCS=yes
-.endif
+DOCS_MAKE_ENV=	INSTALL_DOCS=yes
 
 post-patch:
-	${REINPLACE_CMD} ${WRKSRC}/${PYSETUP}
+	@${REINPLACE_CMD} ${WRKSRC}/${PYSETUP}
 
 .include <bsd.port.mk>



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