diff options
author | wiz <wiz> | 2009-01-17 22:18:25 +0000 |
---|---|---|
committer | wiz <wiz> | 2009-01-17 22:18:25 +0000 |
commit | ff62d5cde1f0ed721c0bd4a1f490da864f5ab7f3 (patch) | |
tree | 7911ad549d302c4e8a639375cba10e0bce86d546 /misc/calibre/Makefile | |
parent | 04084273b1243fd1ae1034d87ef8b7d96f1ba27f (diff) | |
download | pkgsrc-ff62d5cde1f0ed721c0bd4a1f490da864f5ab7f3.tar.gz |
Initial import of calibre-0.4.128:
calibre is a ebook library management application. Its features are
divided into the following categories:
* Library Management
* Format conversion (all major ebook formats can be converted from)
* Syncing to ebook reader devices
* Fetching news from the web and converting it into ebook form
* Viewing many different ebook formats
* Giving you access to your book collection over the internet using
just a browser
Diffstat (limited to 'misc/calibre/Makefile')
-rw-r--r-- | misc/calibre/Makefile | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/misc/calibre/Makefile b/misc/calibre/Makefile new file mode 100644 index 00000000000..51a1cc50f5b --- /dev/null +++ b/misc/calibre/Makefile @@ -0,0 +1,59 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/01/17 22:18:25 wiz Exp $ +# + +DISTNAME= calibre-0.4.128 +CATEGORIES= misc +MASTER_SITES= http://calibre.kovidgoyal.net/downloads/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://calibre.kovidgoyal.net/ +COMMENT= E-book library management application + +DEPENDS+= help2man>=1.36.4:../../converters/help2man +DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 +DEPENDS+= ImageMagick>=6.3.5:../../graphics/ImageMagick +DEPENDS+= xdg-utils>=1.0.2:../../misc/xdg-utils +DEPENDS+= ${PYPKGPREFIX}-lxml>=2.0.5:../../textproc/py-lxml +DEPENDS+= ${PYPKGPREFIX}-ClientForm-[0-9]*:../../www/py-ClientForm +DEPENDS+= ${PYPKGPREFIX}-beautifulsoup>=3.0.5:../../www/py-beautifulsoup +DEPENDS+= ${PYPKGPREFIX}-mechanize>=0.1.8:../../www/py-mechanize + +USE_LANGUAGES= c c++ +PYTHON_VERSIONS_ACCEPTED= 25 +PYDISTUTILSPKG= yes + +REPLACE_PYTHON= src/calibre/ebooks/metadata/odt.py +REPLACE_PYTHON+= src/odf/element.py +REPLACE_PYTHON+= src/odf/elementtypes.py +REPLACE_PYTHON+= src/odf/load.py +REPLACE_PYTHON+= src/odf/manifest.py +REPLACE_PYTHON+= src/odf/odf2xhtml.py +REPLACE_PYTHON+= src/odf/odfmanifest.py +REPLACE_PYTHON+= src/odf/thumbnail.py +REPLACE_PYTHON+= src/odf/userfield.py + +SUBST_CLASSES+= prefix +SUBST_SED.prefix= -e "s,^QMAKE =.*,QMAKE = '${PREFIX}/qt4/bin/qmake'," +SUBST_MESSAGE.prefix= Fixing path to QMAKE +SUBST_STAGE.prefix= post-patch +SUBST_FILES.prefix= pyqtdistutils.py + +SUBST_CLASSES+= install +SUBST_SED.install= -e "s,/usr/share/man,${PREFIX}/${PKGMANDIR}," +SUBST_MESSAGE.install= Fixing installation paths +SUBST_STAGE.install= post-patch +SUBST_FILES.install= src/calibre/linux.py + +BUILDLINK_API_DEPENDS.libusb+= libusb>=0.1.12 +.include "../../devel/libusb/buildlink3.mk" +.include "../../graphics/py-imaging/buildlink3.mk" +.include "../../lang/python/application.mk" +.include "../../lang/python/egg.mk" +.include "../../sysutils/hal/buildlink3.mk" +BUILDLINK_API_DEPENDS.py-dbus+= ${PYPKGPREFIX}-dbus>=0.82.2 +.include "../../sysutils/py-dbus/buildlink3.mk" +.include "../../textproc/py-elementtree/buildlink3.mk" +.include "../../x11/py-sip/buildlink3.mk" +.include "../../x11/py-qt4/buildlink3.mk" +.include "../../x11/qt4-tools/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" |