521f7d7105
PR: ports/91699 Submitted by: Dryice Dong Liu <dryice@dryice.name> (maintainer)
39 lines
793 B
Makefile
39 lines
793 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: feedparser
|
|
# Date created: Mar 11, 2004
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= feedparser
|
|
PORTVERSION= 4.1
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
http://bsdchat.com/dist/dryice/
|
|
MASTER_SITE_SUBDIR= feedparser
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= dryice@dryice.name
|
|
COMMENT= An RSS feed parser written in Python
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
USE_PYTHON= 2.1+
|
|
USE_ZIP= yes
|
|
USE_PYDISTUTILS= yes
|
|
|
|
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.mk>
|