aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-01-30 11:13:00 +0800
committermiwi <miwi@FreeBSD.org>2014-01-30 11:13:00 +0800
commitec1ac6cd1f4a29743af23957f43a6dfa0ac37d97 (patch)
tree88a5d549a8ce2c0894299dfaf7f6b3ca43caafca /textproc
parentf9a6f1eb375bce5fe1d39982770481eba1139923 (diff)
downloadfreebsd-ports-gnome-ec1ac6cd1f4a29743af23957f43a6dfa0ac37d97.tar.gz
freebsd-ports-gnome-ec1ac6cd1f4a29743af23957f43a6dfa0ac37d97.tar.zst
freebsd-ports-gnome-ec1ac6cd1f4a29743af23957f43a6dfa0ac37d97.zip
- Convert to PYDISTUTILS_AUTOPLIST
- Stage support - Bump PORTREV
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-feedparser/Makefile9
-rw-r--r--textproc/py-feedparser/pkg-plist3
2 files changed, 4 insertions, 8 deletions
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 <bsd.port.options.mk>
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