b5a1bc6872
This is a regularly-schedule bugfix release. amend: force editor only if old message is reused (issue3698) grep: don't search past the end of the searched string hooks: be even more forgiven of non-fd descriptors (issue3711) hooks: delay I/O redirection until we actually run a hook (issue3711) phases: fix missing "error" module import (issue3707) rebase: fix pull --rev options clashing with --rebase (issue3619) subrepo: add argument to "diff()" to pass "ui" of caller side (issue3712) (API) update: allow update to existing branches with invalid names (issue3710) util: make chunkbuffer non-quadratic on Windows
33 lines
1 KiB
Makefile
33 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.81 2012/12/16 15:38:57 wiz Exp $
|
|
|
|
DISTNAME= mercurial-2.4.1
|
|
CATEGORIES= devel scm
|
|
MASTER_SITES= http://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
|
|
|
|
BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
|
|
BUILD_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
|
|
|
|
USE_TOOLS+= gmake msgfmt
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
|
|
INSTALLATION_DIRS+= share/doc/mercurial
|
|
|
|
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 "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "Linux" && empty(OS_VERSION:M2.4.*) && empty(OS_VERSION:M2.2.*)
|
|
PLIST_SRC+= ${.CURDIR}/PLIST ${.CURDIR}/PLIST.inotify
|
|
.endif
|
|
|
|
.include "../../lang/python/distutils.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|