aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-paragrep/Makefile
blob: 2c5f8d02be2506049ef05d4e446f41053d4bf1ba (plain) (blame)
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
# Created by: Wen Heping <wen@FreeBSD.org>
# $FreeBSD$

PORTNAME=   paragrep
PORTVERSION=    3.1.1
CATEGORIES= textproc python
MASTER_SITES=   http://github.com/bmc/paragrep/zipball/release-${PORTVERSION}/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= wen@FreeBSD.org
COMMENT=    Paragraph Grep Utility

LICENSE=    BSD3CLAUSE

BUILD_DEPENDS=  ${PYTHON_PKGNAMEPREFIX}grizzled>=0.8.1:${PORTSDIR}/devel/py-grizzled
RUN_DEPENDS:=   ${BUILD_DEPENDS}

WRKSRC= ${WRKDIR}/bmc-${PORTNAME}-e7d5553
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST=yes

post-patch:
    @${REINPLACE_CMD} -e "s|'man'|'man/man1'|g" ${WRKSRC}/setup.py

.include <bsd.port.mk>