UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now, we won't have conflicts there. Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel has the correct PKGNAME anyway. Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called OPTIONS_FILE now.) Reviewed by: antoine, bapt Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3336
35 lines
717 B
Makefile
35 lines
717 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:${PORTSDIR}/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>
|