pkgsrc/devel/py-tortoisehg/Makefile
wiz b99036a2a7 Update to 3.2.4:
TortoiseHg 3.2.4 is a regularly scheduled bug fix release

Bug Fixes

    commit: reload patch description if hash changes (fixes #3983)
    filedialogs: forcibly add --hidden because hidden rev can appear in filelog
    repofilter: another workaround to run selected query on Mac OS X
    repowidget: fix indexes of unapplied patch actions to be enabled
2015-01-25 18:55:21 +00:00

42 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.9 2015/01/25 18:55:21 wiz Exp $
DISTNAME= tortoisehg-3.2.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= http://bitbucket.org/tortoisehg/targz/downloads/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://tortoisehg.bitbucket.org/
COMMENT= GUI for Mercurial
LICENSE= gnu-gpl-v2
REPLACE_PYTHON+= thg
BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx>=1.1.3:../../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= 33 34 # py-iniparse, py-mercurial
pre-configure:
${RUN} ${SED} -e 's:@PREFIX@:${PREFIX}:g' \
${FILESDIR}/config.py > \
${WRKSRC}/tortoisehg/util/config.py
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} html
${RUN} rm ${WRKSRC}/doc/build/html/.buildinfo
.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"