aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-feedparser/Makefile
blob: d336fd92d3d4dbb4fbcb4ec7e21078a3a9cbc6e2 (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
27
28
29
30
31
32
33
34
35
36
37
38
# ex:ts=8
# Ports collection makefile for:    feedparser
# Date created:         Mar 11, 2004
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   feedparser
PORTVERSION=    5.0.1
CATEGORIES= textproc python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= sbz@FreeBSD.org
COMMENT=    An RSS feed parser written in Python

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/chardet/__init__.py:${PORTSDIR}/textproc/py-chardet

LICENSE=    BSD
LICENSE_FILE=   ${WRKSRC}/LICENSE

USE_PYTHON= yes
USE_BZIP2=  yes
USE_PYDISTUTILS=    yes

PORTDOCS=   NEWS PKG-INFO README README-PYTHON3 README-TESTS

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif

#regression-test:
#   @(cd ${WRKSRC}/${PORTNAME} && ${PYTHON_CMD} ${PORTNAME}test.py)

.include <bsd.port.mk>