| @@ -1,17 +1,17 @@ | | | @@ -1,17 +1,17 @@ |
1 | # $NetBSD: Makefile,v 1.243 2020/11/05 09:08:39 ryoon Exp $ | | 1 | # $NetBSD: Makefile,v 1.244 2020/11/17 01:55:04 gutteridge Exp $ |
2 | | | 2 | |
3 | DISTNAME= calibre-3.40.1 | | 3 | DISTNAME= calibre-3.40.1 |
4 | PKGREVISION= 20 | | 4 | PKGREVISION= 21 |
5 | CATEGORIES= misc | | 5 | CATEGORIES= misc |
6 | #MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=calibre/} | | 6 | #MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=calibre/} |
7 | MASTER_SITES= http://download.calibre-ebook.com/${PKGVERSION_NOREV}/ | | 7 | MASTER_SITES= http://download.calibre-ebook.com/${PKGVERSION_NOREV}/ |
8 | EXTRACT_SUFX= .tar.xz | | 8 | EXTRACT_SUFX= .tar.xz |
9 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} | | 9 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} |
10 | | | 10 | |
11 | MAINTAINER= pkgsrc-users@NetBSD.org | | 11 | MAINTAINER= pkgsrc-users@NetBSD.org |
12 | HOMEPAGE= https://www.calibre-ebook.com/ | | 12 | HOMEPAGE= https://www.calibre-ebook.com/ |
13 | COMMENT= E-book library management application | | 13 | COMMENT= E-book library management application |
14 | LICENSE= gnu-gpl-v3 | | 14 | LICENSE= gnu-gpl-v3 |
15 | | | 15 | |
16 | DEPENDS+= ${PYPKGPREFIX}-apsw>=3.7.17:../../databases/py-apsw | | 16 | DEPENDS+= ${PYPKGPREFIX}-apsw>=3.7.17:../../databases/py-apsw |
17 | DEPENDS+= ${PYPKGPREFIX}-beautifulsoup4-[0-9]*:../../www/py-beautifulsoup4 | | 17 | DEPENDS+= ${PYPKGPREFIX}-beautifulsoup4-[0-9]*:../../www/py-beautifulsoup4 |
| @@ -32,27 +32,27 @@ DEPENDS+= ${PYPKGPREFIX}-Pillow>=2.7.0:. | | | @@ -32,27 +32,27 @@ DEPENDS+= ${PYPKGPREFIX}-Pillow>=2.7.0:. |
32 | DEPENDS+= ${PYPKGPREFIX}-psutil>=0.6.1:../../sysutils/py-psutil | | 32 | DEPENDS+= ${PYPKGPREFIX}-psutil>=0.6.1:../../sysutils/py-psutil |
33 | DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments | | 33 | DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments |
34 | DEPENDS+= ${PYPKGPREFIX}-regex-[0-9]*:../../textproc/py-regex | | 34 | DEPENDS+= ${PYPKGPREFIX}-regex-[0-9]*:../../textproc/py-regex |
35 | DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six | | 35 | DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six |
36 | DEPENDS+= ${PYPKGPREFIX}-soupsieve-[0-9]*:../../www/py-soupsieve | | 36 | DEPENDS+= ${PYPKGPREFIX}-soupsieve-[0-9]*:../../www/py-soupsieve |
37 | DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 | | 37 | DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 |
38 | # for installation | | 38 | # for installation |
39 | BUILD_DEPENDS+= xdg-utils>=1.0.2:../../misc/xdg-utils | | 39 | BUILD_DEPENDS+= xdg-utils>=1.0.2:../../misc/xdg-utils |
40 | | | 40 | |
41 | EXTRACT_USING= bsdtar | | 41 | EXTRACT_USING= bsdtar |
42 | | | 42 | |
43 | PYTHON_VERSIONS_ACCEPTED= 27 # as of 3.16.0 | | 43 | PYTHON_VERSIONS_ACCEPTED= 27 # as of 3.16.0 |
44 | | | 44 | |
45 | USE_LANGUAGES= c c++ | | 45 | USE_LANGUAGES= c99 c++ |
46 | USE_LIBTOOL= yes | | 46 | USE_LIBTOOL= yes |
47 | USE_TOOLS+= pkg-config pax | | 47 | USE_TOOLS+= pkg-config pax |
48 | PYSETUPOPTARGS= # empty | | 48 | PYSETUPOPTARGS= # empty |
49 | PYSETUPINSTALLARGS= --prefix=${PREFIX} --root=${DESTDIR:Q}${PREFIX} | | 49 | PYSETUPINSTALLARGS= --prefix=${PREFIX} --root=${DESTDIR:Q}${PREFIX} |
50 | | | 50 | |
51 | INSTALLATION_DIRS= share/applications | | 51 | INSTALLATION_DIRS= share/applications |
52 | INSTALLATION_DIRS+= share/icons | | 52 | INSTALLATION_DIRS+= share/icons |
53 | INSTALLATION_DIRS+= share/calibre/recipes | | 53 | INSTALLATION_DIRS+= share/calibre/recipes |
54 | | | 54 | |
55 | FIX_PYTHON_FILES+= *.py | | 55 | FIX_PYTHON_FILES+= *.py |
56 | FIX_PYTHON_FILES+= recipes/*.recipe | | 56 | FIX_PYTHON_FILES+= recipes/*.recipe |
57 | FIX_PYTHON_FILES+= */*.py | | 57 | FIX_PYTHON_FILES+= */*.py |
58 | FIX_PYTHON_FILES+= */*/*.py | | 58 | FIX_PYTHON_FILES+= */*/*.py |
| @@ -118,27 +118,26 @@ BUILDLINK_API_DEPENDS.libmtp+= libmtp>=1 | | | @@ -118,27 +118,26 @@ BUILDLINK_API_DEPENDS.libmtp+= libmtp>=1 |
118 | .include "../../devel/zlib/buildlink3.mk" | | 118 | .include "../../devel/zlib/buildlink3.mk" |
119 | BUILDLINK_API_DEPENDS.libusb+= libusb>=0.1.12 | | 119 | BUILDLINK_API_DEPENDS.libusb+= libusb>=0.1.12 |
120 | .include "../../mk/libusb.buildlink3.mk" | | 120 | .include "../../mk/libusb.buildlink3.mk" |
121 | .include "../../fonts/fontconfig/buildlink3.mk" | | 121 | .include "../../fonts/fontconfig/buildlink3.mk" |
122 | .include "../../graphics/libwebp/buildlink3.mk" | | 122 | .include "../../graphics/libwebp/buildlink3.mk" |
123 | .include "../../graphics/libwmf/buildlink3.mk" | | 123 | .include "../../graphics/libwmf/buildlink3.mk" |
124 | .include "../../mk/jpeg.buildlink3.mk" | | 124 | .include "../../mk/jpeg.buildlink3.mk" |
125 | .include "../../graphics/png/buildlink3.mk" | | 125 | .include "../../graphics/png/buildlink3.mk" |
126 | .include "../../lang/python/egg.mk" | | 126 | .include "../../lang/python/egg.mk" |
127 | _PYSETUPTOOLSINSTALLARGS= # empty | | 127 | _PYSETUPTOOLSINSTALLARGS= # empty |
128 | # Get rid of --root=${DESTDIR}, use our own version from above instead. | | 128 | # Get rid of --root=${DESTDIR}, use our own version from above instead. |
129 | # because the setup.py is not the standard one and behaves differently. | | 129 | # because the setup.py is not the standard one and behaves differently. |
130 | _PYSETUPINSTALLARGS= ${PYSETUPINSTALLARGS} ${PYSETUPOPTARGS} ${_PYSETUPTOOLSINSTALLARGS} | | 130 | _PYSETUPINSTALLARGS= ${PYSETUPINSTALLARGS} ${PYSETUPOPTARGS} ${_PYSETUPTOOLSINSTALLARGS} |
131 | BUILDLINK_API_DEPENDS.podofo+= podofo>=0.8.2 | | | |
132 | .include "../../print/podofo/buildlink3.mk" | | 131 | .include "../../print/podofo/buildlink3.mk" |
133 | BUILDLINK_API_DEPENDS.poppler+= poppler>=0.20.2 | | 132 | BUILDLINK_API_DEPENDS.poppler+= poppler>=0.20.2 |
134 | .include "../../print/poppler-includes/buildlink3.mk" | | 133 | .include "../../print/poppler-includes/buildlink3.mk" |
135 | .include "../../print/poppler/buildlink3.mk" | | 134 | .include "../../print/poppler/buildlink3.mk" |
136 | .include "../../print/poppler-qt5/buildlink3.mk" | | 135 | .include "../../print/poppler-qt5/buildlink3.mk" |
137 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | | 136 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" |
138 | .include "../../sysutils/hal/buildlink3.mk" | | 137 | .include "../../sysutils/hal/buildlink3.mk" |
139 | BUILDLINK_API_DEPENDS.py-dbus+= ${PYPKGPREFIX}-dbus>=0.82.2 | | 138 | BUILDLINK_API_DEPENDS.py-dbus+= ${PYPKGPREFIX}-dbus>=0.82.2 |
140 | .include "../../sysutils/py-dbus/buildlink3.mk" | | 139 | .include "../../sysutils/py-dbus/buildlink3.mk" |
141 | .include "../../textproc/icu/buildlink3.mk" | | 140 | .include "../../textproc/icu/buildlink3.mk" |
142 | .include "../../databases/shared-mime-info/mimedb.mk" | | 141 | .include "../../databases/shared-mime-info/mimedb.mk" |
143 | .include "../../x11/py-sip/buildlink3.mk" | | 142 | .include "../../x11/py-sip/buildlink3.mk" |
144 | .include "../../x11/qt5-qtbase/buildlink3.mk" | | 143 | .include "../../x11/qt5-qtbase/buildlink3.mk" |