freebsd-ports/textproc/py-feedparser/Makefile
Dryice Dong Liu 6cdaca2ac9 - update MASTER_SITES, thanks to Phil Pennock <pdp@spodhuis.org>
- update my mail address
- update USE_PYTHON
2007-06-11 16:06:18 +00:00

47 lines
1 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: feedparser
# Date created: Mar 11, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= feedparser
PORTVERSION= 4.1
PORTREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= http://feedparser.googlecode.com/files/ \
http://dryice.name/computer/FreeBSD/distfiles/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= dryice@FreeBSD.org
COMMENT= An RSS feed parser written in Python
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/chardet/__init__.py:${PORTSDIR}/textproc/py-chardet
WRKSRC= ${WRKDIR}
USE_PYTHON= yes
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}
.endfor
.for j in images css examples
@${MKDIR} ${DOCSDIR}/${j}
.for i in *
${INSTALL_DATA} ${WRKSRC}/docs/${j}/${i} ${DOCSDIR}/${j}
.endfor
.endfor
.endif
.include <bsd.port.post.mk>