2004-03-12 03:53:58 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: feedparser
|
|
|
|
# Date created: Mar 11, 2004
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= feedparser
|
2006-01-18 22:53:47 +01:00
|
|
|
PORTVERSION= 4.1
|
2006-03-22 22:15:49 +01:00
|
|
|
PORTREVISION= 2
|
2004-03-12 03:53:58 +01:00
|
|
|
CATEGORIES= textproc python
|
2007-06-11 18:06:18 +02:00
|
|
|
MASTER_SITES= http://feedparser.googlecode.com/files/ \
|
2006-03-15 19:21:26 +01:00
|
|
|
http://dryice.name/computer/FreeBSD/distfiles/
|
2004-03-12 03:53:58 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2007-06-11 18:06:18 +02:00
|
|
|
MAINTAINER= dryice@FreeBSD.org
|
2004-07-02 10:56:51 +02:00
|
|
|
COMMENT= An RSS feed parser written in Python
|
2004-03-12 03:53:58 +01:00
|
|
|
|
2006-03-22 22:15:49 +01:00
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/chardet/__init__.py:${PORTSDIR}/textproc/py-chardet
|
2006-03-15 16:10:30 +01:00
|
|
|
|
2006-01-18 22:53:47 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
2007-06-11 18:06:18 +02:00
|
|
|
USE_PYTHON= yes
|
2004-07-02 10:56:51 +02:00
|
|
|
USE_ZIP= yes
|
2004-11-06 05:10:18 +01:00
|
|
|
USE_PYDISTUTILS= yes
|
2004-03-12 03:53:58 +01:00
|
|
|
|
2006-03-22 22:15:49 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PYTHON_REL} < 240
|
|
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/cjkcodecs/__init__.py:${PORTSDIR}/converters/py-cjkcodecs
|
|
|
|
.endif
|
|
|
|
|
2005-04-08 14:21:06 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for i in *.html
|
2006-03-22 22:15:49 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
|
2005-04-08 14:21:06 +02:00
|
|
|
.endfor
|
2006-01-18 22:53:47 +01:00
|
|
|
.for j in images css examples
|
|
|
|
@${MKDIR} ${DOCSDIR}/${j}
|
2005-04-08 14:21:06 +02:00
|
|
|
.for i in *
|
2006-03-22 22:15:49 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/${j}/${i} ${DOCSDIR}/${j}
|
2006-01-18 22:53:47 +01:00
|
|
|
.endfor
|
2005-04-08 14:21:06 +02:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2006-03-22 22:15:49 +01:00
|
|
|
.include <bsd.port.post.mk>
|