diff options
Diffstat (limited to 'textproc/py-feedparser/Makefile')
-rw-r--r-- | textproc/py-feedparser/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/textproc/py-feedparser/Makefile b/textproc/py-feedparser/Makefile index 3fec3f928999..d0e9f944d2bd 100644 --- a/textproc/py-feedparser/Makefile +++ b/textproc/py-feedparser/Makefile @@ -8,25 +8,29 @@ MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sbz@FreeBSD.org -COMMENT= An RSS feed parser written in Python +COMMENT= RSS feed parser written in Python LICENSE= BSD -RUN_DEPENDS= ${PYTHON_SITELIBDIR}/chardet/__init__.py:${PORTSDIR}/textproc/py-chardet +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>0:${PORTSDIR}/textproc/py-chardet USE_PYTHON= yes USE_BZIP2= yes -USE_PYDISTUTILS= yes +USE_PYDISTUTILS=yes + +OPTIONS_DEFINE= DOCS PORTDOCS= NEWS PKG-INFO README +.include <bsd.port.options.mk> + post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} .endif -regression-test: - @(cd ${WRKSRC}/${PORTNAME} && ${PYTHON_CMD} ${PORTNAME}test.py) +regression-test: extract + @(cd ${WRKSRC}/${PORTNAME}; ${PYTHON_CMD} ${PORTNAME}test.py) .include <bsd.port.mk> |