03957b7e19
TortoiseHg 4.2.1 TortoiseHg 4.2.1 is a regularly scheduled bug-fix release Bug Fixes compat: replace util.stderr on frozen Windows build (fixes #4754) compat: wrap scmutil.userrcpath() for hg 4.2 (fixes #4744) mq: escape patch revision passed to qfinish command (fixes #4773) qtrun: actually disable pager in GUI by ui.paginate flag (fixes #4778) run: import getopt.GetoptError directly (fixes #4746) Installer latest hg-git, mercurial_keyring
40 lines
1.5 KiB
Makefile
40 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.48 2017/06/19 20:11:39 wiz Exp $
|
|
|
|
DISTNAME= tortoisehg-4.2.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://bitbucket.org/tortoisehg/targz/downloads/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://bitbucket.org/tortoisehg/thg/wiki/Home
|
|
COMMENT= GUI for Mercurial
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
REPLACE_PYTHON+= thg
|
|
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx>=1.3.4nb1:../../textproc/py-sphinx
|
|
DEPENDS+= ${PYPKGPREFIX}-iniparse>=0.4:../../textproc/py-iniparse
|
|
DEPENDS+= ${PYPKGPREFIX}-pygments>=1.6:../../textproc/py-pygments
|
|
DEPENDS+= ${PYPKGPREFIX}-mercurial>=2.8.1:../../devel/py-mercurial
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # py-iniparse, py-mercurial
|
|
|
|
thg_icon= /share/pixmaps/tortoisehg/icons/thg_logo.ico
|
|
SUBST_CLASSES+= df
|
|
SUBST_STAGE.df= post-configure
|
|
SUBST_MESSAGE.df= Fixing icon reference in desktop file
|
|
SUBST_FILES.df= contrib/thg.desktop
|
|
SUBST_SED.df= -e 's:thg_logo:${PREFIX}${thg_icon}:1'
|
|
|
|
pre-build:
|
|
${RUN} cd ${WRKSRC}/doc && ${MAKE_PROGRAM} SPHINXBUILD=sphinx-build${PYVERSSUFFIX} html
|
|
${RUN} rm ${WRKSRC}/doc/build/html/.buildinfo
|
|
# conflicts with mercurial
|
|
# https://bitbucket.org/tortoisehg/thg/issues/4629/tortoisehg-file-name-conflict-with
|
|
${RM} ${WRKSRC}/hgext3rd/__init__.py
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/distutils.mk"
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
.include "../../x11/py-qt4-qscintilla/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|