ports/devel/pybugz/Makefile
Gleb Smirnoff 9c477091ce devel/pybugz: recognize *.diff and *.patch as text/plain
Also, make these two extensions automatically raise the patch flag.
Also, make the patch flag set content type to text/plain, unless
mimetypes was able to say something.

Approved by:	bugmeister
2024-03-29 13:50:57 -07:00

28 lines
544 B
Makefile

PORTNAME= pybugz
DISTVERSION= 0.14
PORTREVISION= 2
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= bugmeister@FreeBSD.org
COMMENT= Python command-line interface to bugzilla
WWW= https://github.com/williamh/pybugz
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
NO_ARCH= yes
USES= python
USE_GITHUB= yes
USE_PYTHON= autoplist distutils
GH_ACCOUNT= glebius
GH_TAGNAME= c45eb4b
post-patch:
${REINPLACE_CMD} -e 's,/usr,${PREFIX},' \
-e 's,/etc,${PREFIX}&,' \
${WRKSRC}/man/pybugz.d.5
.include <bsd.port.mk>