aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-feedparser
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2006-03-22 21:15:49 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2006-03-22 21:15:49 +0000
commitb610bb234ed63855a5f973de0b504cee8dcfa2c9 (patch)
treead66d461937dd2337f774aca862d1fc30daa57f4 /textproc/py-feedparser
parent78ccd3a2b97f2055b44f2b0680a46fe9fd98792a (diff)
downloadports-b610bb234ed63855a5f973de0b504cee8dcfa2c9.tar.gz
ports-b610bb234ed63855a5f973de0b504cee8dcfa2c9.zip
Notes
Diffstat (limited to 'textproc/py-feedparser')
-rw-r--r--textproc/py-feedparser/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/textproc/py-feedparser/Makefile b/textproc/py-feedparser/Makefile
index b96360c58f32..4a94321ec5cf 100644
--- a/textproc/py-feedparser/Makefile
+++ b/textproc/py-feedparser/Makefile
@@ -8,7 +8,7 @@
PORTNAME= feedparser
PORTVERSION= 4.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://dryice.name/computer/FreeBSD/distfiles/
@@ -18,25 +18,31 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= dryice@dryice.name
COMMENT= An RSS feed parser written in Python
-RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/chardet/__init__.py:${PORTSDIR}/textproc/py-chardet
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/chardet/__init__.py:${PORTSDIR}/textproc/py-chardet
WRKSRC= ${WRKDIR}
USE_PYTHON= 2.1+
USE_ZIP= yes
USE_PYDISTUTILS= yes
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 240
+RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/cjkcodecs/__init__.py:${PORTSDIR}/converters/py-cjkcodecs
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in *.html
- @${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
.endfor
.for j in images css examples
@${MKDIR} ${DOCSDIR}/${j}
.for i in *
- @${INSTALL_DATA} ${WRKSRC}/docs/${j}/${i} ${DOCSDIR}/${j}
+ ${INSTALL_DATA} ${WRKSRC}/docs/${j}/${i} ${DOCSDIR}/${j}
.endfor
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>