freebsd-ports/net/py-gntp/Makefile
Mathieu Arnold 8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00

35 lines
705 B
Makefile

# $FreeBSD$
PORTNAME= gntp
PORTVERSION= 0.8
DISTVERSIONPREFIX= v
PORTREVISION= 2
CATEGORIES= net
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Growl Notification Transport Protocol for Python
LICENSE= MIT
GH_ACCOUNT= kfdm
OPTIONS_DEFINE= DOCS
USE_GITHUB= yes
USES= python:2
USE_PYTHON= distutils autoplist
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= sphinx-build:textproc/py-sphinx
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
PYDISTUTILS_BUILD_TARGET+= build_sphinx
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.post.mk>