| @@ -1,37 +1,37 @@ | | | @@ -1,37 +1,37 @@ |
1 | # $NetBSD: Makefile,v 1.24 2015/12/05 21:25:39 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.25 2015/12/27 23:44:26 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= tortoisehg-3.6.1 | | 3 | DISTNAME= tortoisehg-3.6.2 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
5 | CATEGORIES= devel python | | 5 | CATEGORIES= devel python |
6 | MASTER_SITES= http://bitbucket.org/tortoisehg/targz/downloads/ | | 6 | MASTER_SITES= http://bitbucket.org/tortoisehg/targz/downloads/ |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= http://tortoisehg.bitbucket.org/ | | 9 | HOMEPAGE= http://tortoisehg.bitbucket.org/ |
10 | COMMENT= GUI for Mercurial | | 10 | COMMENT= GUI for Mercurial |
11 | LICENSE= gnu-gpl-v2 | | 11 | LICENSE= gnu-gpl-v2 |
12 | | | 12 | |
13 | REPLACE_PYTHON+= thg | | 13 | REPLACE_PYTHON+= thg |
14 | | | 14 | |
15 | BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx>=1.2.3nb1:../../textproc/py-sphinx | | 15 | BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx>=1.2.3nb1:../../textproc/py-sphinx |
16 | DEPENDS+= ${PYPKGPREFIX}-iniparse>=0.4:../../textproc/py-iniparse | | 16 | DEPENDS+= ${PYPKGPREFIX}-iniparse>=0.4:../../textproc/py-iniparse |
17 | DEPENDS+= ${PYPKGPREFIX}-pygments>=1.6:../../textproc/py-pygments | | 17 | DEPENDS+= ${PYPKGPREFIX}-pygments>=1.6:../../textproc/py-pygments |
18 | DEPENDS+= ${PYPKGPREFIX}-mercurial>=2.8.1:../../devel/py-mercurial | | 18 | DEPENDS+= ${PYPKGPREFIX}-mercurial>=2.8.1:../../devel/py-mercurial |
19 | | | 19 | |
20 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 # py-iniparse, py-mercurial | | 20 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 # py-iniparse, py-mercurial |
21 | | | 21 | |
22 | thg_icon= /share/pixmaps/tortoisehg/icons/thg_logo.ico | | 22 | thg_icon= /share/pixmaps/tortoisehg/icons/thg_logo.ico |
23 | SUBST_CLASSES+= df | | 23 | SUBST_CLASSES+= df |
24 | SUBST_STAGE.df= post-configure | | 24 | SUBST_STAGE.df= post-configure |
25 | SUBST_MESSAGE.df= Fixing icon reference in desktop file | | 25 | SUBST_MESSAGE.df= Fixing icon reference in desktop file |
26 | SUBST_FILES.df= contrib/thg.desktop | | 26 | SUBST_FILES.df= contrib/thg.desktop |
27 | SUBST_SED.df= -e 's:thg_logo:${PREFIX}${thg_icon}:1' | | 27 | SUBST_SED.df= -e 's:thg_logo:${PREFIX}${thg_icon}:1' |
28 | | | 28 | |
29 | pre-build: | | 29 | pre-build: |
30 | ${RUN} cd ${WRKSRC}/doc && ${MAKE_PROGRAM} SPHINXBUILD=sphinx-build${PYVERSSUFFIX} html | | 30 | ${RUN} cd ${WRKSRC}/doc && ${MAKE_PROGRAM} SPHINXBUILD=sphinx-build${PYVERSSUFFIX} html |
31 | ${RUN} rm ${WRKSRC}/doc/build/html/.buildinfo | | 31 | ${RUN} rm ${WRKSRC}/doc/build/html/.buildinfo |
32 | | | 32 | |
33 | .include "../../lang/python/application.mk" | | 33 | .include "../../lang/python/application.mk" |
34 | .include "../../lang/python/distutils.mk" | | 34 | .include "../../lang/python/distutils.mk" |
35 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | | 35 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" |
36 | .include "../../x11/py-qt4-qscintilla/buildlink3.mk" | | 36 | .include "../../x11/py-qt4-qscintilla/buildlink3.mk" |
37 | .include "../../mk/bsd.pkg.mk" | | 37 | .include "../../mk/bsd.pkg.mk" |