pkgsrc/devel/py-mercurial/Makefile
wiz 91fd769cb2 Updated mercurial to 3.5.1:
Regularly-scheduled bugfix release.

    convert: fix git copy file content conversions
    filesets: ignore unit case in size() predicate for single value
    help: fix typo familar -> familiar
    help: fix typo in scripting documentation
    hg: avoid auto sharing when the clone destination is remote
    hgweb: fix trust of templates path (BC)
    histedit: backout ebb5bb9bc32e
    largefiles: ensure lfutil.getstandinmatcher() only matches standins
    match: fix a case-only rename + explicit path commit on icasefs (issue4768)
    parsers: fix memory leak in compute_phases_map_sets
    rebase: lock the repo during the full rebase operation
    revset: prevent crash caused by empty group expression while optimizing "and"
    revset: prevent crash caused by empty group expression while optimizing "or"
    strip: use the 'finally: tr.release' pattern during stripping
    update: wlock the repo for the whole 'hg update' command
    wix: avoid an abort with 'hg help -k foo'
2015-09-02 16:52:37 +00:00

36 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2015/09/02 16:52:37 wiz Exp $
DISTNAME= mercurial-${VERSION}
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel scm
MASTER_SITES= https://mercurial.selenic.com/release/
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://mercurial.selenic.com/
COMMENT= Fast, lightweight source control management system
LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # OR newer
# with this dependency, two zip test cases start working
# http://bz.selenic.com/show_bug.cgi?id=4483
# http://bz.selenic.com/show_bug.cgi?id=4485
#BUILD_DEPENDS+= unzip-[0-9]*:../../archivers/unzip
DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses
USE_TOOLS+= gmake msgfmt
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
INSTALLATION_DIRS+= share/doc/mercurial
.include "Makefile.version"
do-test:
cd ${WRKSRC} && make tests PYTHON=${PYTHONBIN}
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/doc/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
${INSTALL_DATA} ${WRKSRC}/README \
${DESTDIR}${PREFIX}/share/doc/mercurial
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"