summaryrefslogtreecommitdiff
path: root/devel/pybugz/Makefile
blob: fb70cc7bc84bab43c581d1b27560d0a93484470f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

PORTNAME=	pybugz
DISTVERSION=	0.13
PORTREVISION=	1
CATEGORIES=	devel python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	bugmeister@FreeBSD.org
COMMENT=	Python command-line interface to bugzilla

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

NO_ARCH=	yes

USES=		python:3.3+
USE_GITHUB=	yes
USE_PYTHON=	autoplist distutils

GH_ACCOUNT=	williamh

post-patch:
	${REINPLACE_CMD} 's,share/man,man,' ${WRKSRC}/${PYSETUP}
	${REINPLACE_CMD} -e 's,/usr,${PREFIX},' \
		-e 's,/etc,${PREFIX}&,' \
		${WRKSRC}/man/pybugz.d.5

.include <bsd.port.mk>