2014-04-02 22:55:55 +02:00
|
|
|
# $NetBSD: Makefile,v 1.101 2014/04/02 20:55:55 wiz Exp $
|
2006-01-15 03:15:58 +01:00
|
|
|
|
2014-04-02 22:55:55 +02:00
|
|
|
DISTNAME= mercurial-2.9.2
|
2007-02-17 21:59:46 +01:00
|
|
|
CATEGORIES= devel scm
|
2009-07-17 00:12:17 +02:00
|
|
|
MASTER_SITES= http://mercurial.selenic.com/release/
|
2006-01-15 03:15:58 +01:00
|
|
|
|
2007-07-03 19:24:53 +02:00
|
|
|
MAINTAINER= wiz@NetBSD.org
|
2012-09-14 16:31:39 +02:00
|
|
|
HOMEPAGE= http://mercurial.selenic.com/
|
2006-04-09 01:01:58 +02:00
|
|
|
COMMENT= Fast, lightweight source control management system
|
2010-02-03 11:47:21 +01:00
|
|
|
LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # OR newer
|
Update to mercurial 1.0 and add DESTDIR support. Changes:
General:
* greatly improved merge tool configuration, see "hgrc.5.txt" for details
* improved copy/rename handling in diffs, status, and merge
* files in .hg inherit permissions from .hg/store
* infer --repository when possible, so commands may be run from anywhere.
* easy-installable
* new "droplet" logo
Commands:
* archive: disable ".hg_archival.txt" file addition with "ui.archivemeta"
* bisect: now built-in with greatly improved performance and usability
* bundle: new --all option to bundle the whole repository more easily.
* cat: apply decode filters with --decode
* clone: can clone from a full-history bundle
* commit: warn when creating a new head
* debugancestor: index argument is now optional
* diff: set the number of context line to show with -U/--unified
* grep: display matched revisions commit date with --date
* import: new --no-commit and --user options
* incoming/outgoing: add --limit option
* log: use -b/--only-branch to show revisions of a single branch
* remove: improve handling for --after
* revert: major speedup
* serve: prefix the served path with --prefix (also in [web] section)
* status: unknown files are skipped by --quiet
* tag: allow multiple tags to be added or removed
* tags: --verbose flags local tags
* update: switch between named branches without -C
Extensions:
* churn: promoted to an official extension (previously in contrib)
* color: new extension coloring "status" and "qseries" command outputs
* convert:
* hgk: configuration file changed from .gitk to .hgk
* highlight: new extension enabling syntax highlighting in hgweb
file view (requires pygments)
* inotify: new extension using Linux 2.6 inotify API for instant
status checking
* keyword: new extension for filewise RCS-keyword expansion in working
directory
* mq: new --currentdate, --date, --currentuser, and --user options
* record: add "qrecord" command when used with mq
Web interface:
* improved WSGI integration and compatibility
* follow symlinks in hgwebdir collections
* show branches in most of gitweb templates
* add line anchors to annotate, changeset, diff and file views
* support web.baseurl in hgwebdir, overriding SCRIPT_NAME
Hooks:
* standard hook to reject text files with CRLF in win32text extension
* redirect stdout to stderr for ssh and http servers
2008-04-11 01:34:51 +02:00
|
|
|
|
Update to 0.9.2:
New features:
- merge now follows renames and copies
- new layout protects against case-insensitivity issues
- new branch and branches commands for managing named branches
- push command accepts -r for pushing specified heads or named branches
- proper storage of changelog and other metadata in UTF-8
- log, annotate and grep '--follow' follow renames and copies
- date parsing is improved and log, update, and revert accept --date ranges
- additional command options for log, status, addremove
- improved schema for hgweb URLs
- bundle can now use '-r' and '--base' removing the need of an base repository
- support for git-style extended patches with --git option
- new debuginstall command to check for common installation issues
New contributions and extensions:
- mq
- support for quilt-style guards
- can import existing changesets into mq ('qimport -r') or
commit mq patches as regular changesets ('qdel -f')
- edit the log message with 'qrefresh -e'
- rename patches with 'qrename'
- qheader to display the patch header of particular patches,
and '--summary' for qseries, qapplied, qunapplied and qtop
- combine patches with 'qfold'
- qrefresh supports pattern options to import only a subset
of the changes into a patch, to help split changes into multiple patches
- patch names for applied patches act like local tags, and can be
used in the revision arguments of any hg command
- hgk
- browse a subset of the history with '--limit' and revision range arguments
- shows revision numbers as well as node hashes
- churn: graph lines of code changed per user over a range of history
- patchbomb: generate inline attachments with '-a'
Behavior changes:
- hg cat defaults to the working directory revision rather than tip
- hg manifest no longer shows internal file revision hashes by default
- hg revert now requires the -a flag to revert all files
Developer notes:
- new high-level API functions in the 'hg' module
- new context API simplifies many operations
- The changelog can now include arbitrary metadata in key: value form
2006-12-12 00:15:56 +01:00
|
|
|
BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
|
|
|
|
BUILD_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
|
|
|
|
|
2009-07-17 22:35:48 +02:00
|
|
|
USE_TOOLS+= gmake msgfmt
|
2006-01-15 03:15:58 +01:00
|
|
|
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
|
2010-08-21 16:18:04 +02:00
|
|
|
INSTALLATION_DIRS+= share/doc/mercurial
|
2006-01-15 03:15:58 +01:00
|
|
|
|
2014-02-03 12:39:49 +01:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 2.9
|
|
|
|
# see also http://mercurial.selenic.com/wiki/SupportedPythonVersions
|
|
|
|
# 3.x support is not planned for the near future
|
|
|
|
#
|
|
|
|
# the following setup argument was requested when compiling
|
2014-01-25 11:29:56 +01:00
|
|
|
# for python-3.x
|
|
|
|
#.include "../../lang/python/pyversion.mk"
|
|
|
|
#
|
|
|
|
#.if ("${PYPKGPREFIX}" != "py26") && ("${PYPKGPREFIX}" != "py27")
|
|
|
|
#PYSETUPARGS+= --c2to3
|
|
|
|
#.endif
|
|
|
|
|
2006-01-15 03:15:58 +01:00
|
|
|
post-install:
|
Update to mercurial 1.0 and add DESTDIR support. Changes:
General:
* greatly improved merge tool configuration, see "hgrc.5.txt" for details
* improved copy/rename handling in diffs, status, and merge
* files in .hg inherit permissions from .hg/store
* infer --repository when possible, so commands may be run from anywhere.
* easy-installable
* new "droplet" logo
Commands:
* archive: disable ".hg_archival.txt" file addition with "ui.archivemeta"
* bisect: now built-in with greatly improved performance and usability
* bundle: new --all option to bundle the whole repository more easily.
* cat: apply decode filters with --decode
* clone: can clone from a full-history bundle
* commit: warn when creating a new head
* debugancestor: index argument is now optional
* diff: set the number of context line to show with -U/--unified
* grep: display matched revisions commit date with --date
* import: new --no-commit and --user options
* incoming/outgoing: add --limit option
* log: use -b/--only-branch to show revisions of a single branch
* remove: improve handling for --after
* revert: major speedup
* serve: prefix the served path with --prefix (also in [web] section)
* status: unknown files are skipped by --quiet
* tag: allow multiple tags to be added or removed
* tags: --verbose flags local tags
* update: switch between named branches without -C
Extensions:
* churn: promoted to an official extension (previously in contrib)
* color: new extension coloring "status" and "qseries" command outputs
* convert:
* hgk: configuration file changed from .gitk to .hgk
* highlight: new extension enabling syntax highlighting in hgweb
file view (requires pygments)
* inotify: new extension using Linux 2.6 inotify API for instant
status checking
* keyword: new extension for filewise RCS-keyword expansion in working
directory
* mq: new --currentdate, --date, --currentuser, and --user options
* record: add "qrecord" command when used with mq
Web interface:
* improved WSGI integration and compatibility
* follow symlinks in hgwebdir collections
* show branches in most of gitweb templates
* add line anchors to annotate, changeset, diff and file views
* support web.baseurl in hgwebdir, overriding SCRIPT_NAME
Hooks:
* standard hook to reject text files with CRLF in win32text extension
* redirect stdout to stderr for ssh and http servers
2008-04-11 01:34:51 +02:00
|
|
|
${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
|
2006-01-15 03:15:58 +01:00
|
|
|
|
2010-08-21 16:18:04 +02:00
|
|
|
.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
|
|
|
|
|
2012-01-28 09:22:03 +01:00
|
|
|
.include "../../lang/python/distutils.mk"
|
2006-01-15 03:15:58 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|