aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-mwparserfromhell/Makefile
blob: ddf2224ffb5fabb28d14e97df29b781b69a02df2 (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
# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$

PORTNAME=   mwparserfromhell
PORTVERSION=    0.5
CATEGORIES= textproc python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= yuri@FreeBSD.org
COMMENT=    Parser for MediaWiki wikicode

LICENSE=    MIT

USES=       python
USE_PYTHON= autoplist distutils

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mwparserfromhell/parser/_tokenizer.so

do-test:
    @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test

.include <bsd.port.mk>