blob: d90209529abad19cdcd7be9c0fe9d6564b4a9a71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.50 2022/08/11 05:08:17 gutteridge Exp $
DISTNAME= zim-0.74.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 2
CATEGORIES= editors
MASTER_SITES= http://zim-wiki.org/downloads/
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= https://zim-wiki.org/
COMMENT= Zim brings the concept of a wiki to your desktop
LICENSE= gnu-gpl-v2
DEPENDS+= ${PYPKGPREFIX}-gobject3-[0-9]*:../../devel/py-gobject3
DEPENDS+= ${PYPKGPREFIX}-xdg-[0-9]*:../../devel/py-xdg
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
DEPENDS+= ${PYPKGPREFIX}-cElementTree-[0-9]*:../../textproc/py-cElementTree
DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils
USE_LANGUAGES= # none
BUILD_DEFS= PKG_SYSCONFBASE
REPLACE_PYTHON= zim.py
PYTHON_VERSIONS_INCOMPATIBLE= 27
SUBST_CLASSES+= data-path
SUBST_STAGE.data-path= pre-configure
SUBST_FILES.data-path= zim/config/basedirs.py
SUBST_SED.data-path= -e 's,/usr/share/,${PREFIX}/share/,'
SUBST_SED.data-path+= -e 's,/etc/xdg/,${PKG_SYSCONFBASE}/xdg/,'
SUBST_CLASSES+= man-path
SUBST_STAGE.man-path= pre-configure
SUBST_FILES.man-path+= setup.py
SUBST_SED.man-path= -e s,share/man/man1,${PKGMANDIR}/man1,
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../x11/gtk3/buildlink3.mk"
.include "../../databases/shared-mime-info/mimedb.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"
|