43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.3 2006/06/03 09:49:24 alek Exp $
|
|
|
|
COMMENT= "RSS and Atom feeds parser written in Python"
|
|
|
|
DISTNAME= feedparser-4.1
|
|
PKGNAME= py-${DISTNAME}p0
|
|
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>
|