openbsd-ports/textproc/py-feedparser/Makefile
xsa 30f05c8f3e - Update to feedparser-4.1
- pass maintainership to Romain Gaillegue <romain at biscotte.net>
2006-02-02 09:25:47 +00:00

43 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2006/02/02 09:25:47 xsa Exp $
COMMENT= "RSS and Atom feeds parser written in Python"
DISTNAME= feedparser-4.1
PKGNAME= py-${DISTNAME}
CATEGORIES= textproc
HOMEPAGE= http://www.feedparser.org/
MAINTAINER= Romain Gaillegue <romain@biscotte.net>
# PSF license <http://www.python.org/2.1/license.html>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=feedparser/}
EXTRACT_SUFX= .zip
MODULES= lang/python
NO_REGRESS= Yes
WRKDIST= ${WRKDIR}
EXAMPLESDIR= ${PREFIX}/share/examples/py-feedparser
# GNU Free Documentation License
DOCSDIR= ${PREFIX}/share/doc/py-feedparser
post-install:
${INSTALL_DATA_DIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR}
${INSTALL_DATA_DIR} ${DOCSDIR}/css
${INSTALL_DATA} ${WRKSRC}/docs/css/feedparser.css ${DOCSDIR}/css
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/docs/examples/*.{rdf,xml} ${EXAMPLESDIR}
${INSTALL_DATA_DIR} ${DOCSDIR}/images
${INSTALL_DATA} ${WRKSRC}/docs/images/*.{gif,png} ${DOCSDIR}/images
.include <bsd.port.mk>