Date: Thu, 31 Jan 2019 18:39:52 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r491754 - head/net/py-gntp Message-ID: <201901311839.x0VIdqmv056921@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Thu Jan 31 18:39:52 2019 New Revision: 491754 URL: https://svnweb.freebsd.org/changeset/ports/491754 Log: net/py-gntp: Convert to options helpers - Add LICENSE_FILE and pet portlint while here Modified: head/net/py-gntp/Makefile Modified: head/net/py-gntp/Makefile ============================================================================== --- head/net/py-gntp/Makefile Thu Jan 31 18:32:03 2019 (r491753) +++ head/net/py-gntp/Makefile Thu Jan 31 18:39:52 2019 (r491754) @@ -3,7 +3,7 @@ PORTNAME= gntp PORTVERSION= 0.8 DISTVERSIONPREFIX= v -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= net PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,25 +11,22 @@ MAINTAINER= nivit@FreeBSD.org COMMENT= Growl Notification Transport Protocol for Python LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE -GH_ACCOUNT= kfdm - -OPTIONS_DEFINE= DOCS - -USE_GITHUB= yes USES= python:2.7 +USE_GITHUB= yes +GH_ACCOUNT= kfdm USE_PYTHON= distutils autoplist -.include <bsd.port.pre.mk> - -.if ${PORT_OPTIONS:MDOCS} -BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR} DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} -PYDISTUTILS_BUILD_TARGET+= build_sphinx -post-install: +OPTIONS_DEFINE= DOCS + +DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR} +DOCS_VARS= PYDISTUTILS_BUILD_TARGET+=build_sphinx + +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} -.endif -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901311839.x0VIdqmv056921>