From ec1ac6cd1f4a29743af23957f43a6dfa0ac37d97 Mon Sep 17 00:00:00 2001 From: miwi Date: Thu, 30 Jan 2014 03:13:00 +0000 Subject: - Convert to PYDISTUTILS_AUTOPLIST - Stage support - Bump PORTREV --- textproc/py-feedparser/Makefile | 9 ++++----- textproc/py-feedparser/pkg-plist | 3 --- 2 files changed, 4 insertions(+), 8 deletions(-) delete mode 100644 textproc/py-feedparser/pkg-plist (limited to 'textproc') diff --git a/textproc/py-feedparser/Makefile b/textproc/py-feedparser/Makefile index ef687d43ced9..0789d3fda596 100644 --- a/textproc/py-feedparser/Makefile +++ b/textproc/py-feedparser/Makefile @@ -3,6 +3,7 @@ PORTNAME= feedparser PORTVERSION= 5.1.3 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,19 +18,17 @@ 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 -NO_STAGE= yes .include post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} regression-test: extract @(cd ${WRKSRC}/${PORTNAME}; ${PYTHON_CMD} ${PORTNAME}test.py) diff --git a/textproc/py-feedparser/pkg-plist b/textproc/py-feedparser/pkg-plist deleted file mode 100644 index b2c30d62fbdf..000000000000 --- a/textproc/py-feedparser/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -%%PYTHON_SITELIBDIR%%/feedparser.py -%%PYTHON_SITELIBDIR%%/feedparser.pyc -%%PYTHON_SITELIBDIR%%/feedparser.pyo -- cgit