wip/zim: Fixed missing substitution of data-path
This commit is contained in:
parent
8d5adcb79b
commit
6e0e699c71
15
zim/Makefile
15
zim/Makefile
|
@ -1,7 +1,7 @@
|
|||
# $NetBSD: $
|
||||
|
||||
DISTNAME= zim-0.72.1
|
||||
PKGREVISION= 1
|
||||
PKGREVISION= 2
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
CATEGORIES= wip editors
|
||||
MASTER_SITES= http://zim-wiki.org/downloads/
|
||||
|
@ -22,10 +22,15 @@ USE_LANGUAGES= # none
|
|||
REPLACE_PYTHON= zim.py
|
||||
PYTHON_VERSIONS_ACCEPTED= 37
|
||||
|
||||
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,
|
||||
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/local/share/,${PREFIX}/share/,'
|
||||
|
||||
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/distutils.mk"
|
||||
|
|
Loading…
Reference in New Issue