freebsd-ports/textproc/py-feedparser/Makefile
Martin Wilke c3d6dc765d - Convert to PYDISTUTILS_AUTOPLIST
- Stage support
- Bump PORTREV
2014-01-30 03:13:00 +00:00

36 lines
740 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= feedparser
PORTVERSION= 5.1.3
PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sbz@FreeBSD.org
COMMENT= RSS feed parser written in Python
LICENSE= BSD
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>0:${PORTSDIR}/textproc/py-chardet
USE_PYTHON= yes
USE_BZIP2= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST= yes
OPTIONS_DEFINE= DOCS
PORTDOCS= NEWS PKG-INFO README
.include <bsd.port.options.mk>
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
regression-test: extract
@(cd ${WRKSRC}/${PORTNAME}; ${PYTHON_CMD} ${PORTNAME}test.py)
.include <bsd.port.mk>