pkgsrc/devel/mercurial/Makefile

32 lines
939 B
Makefile
Raw Normal View History

2009-07-17 00:12:17 +02:00
# $NetBSD: Makefile,v 1.30 2009/07/16 22:12:17 zafer Exp $
#
DISTNAME= mercurial-1.2.1
CATEGORIES= devel scm
2009-07-17 00:12:17 +02:00
MASTER_SITES= http://mercurial.selenic.com/release/
MAINTAINER= wiz@NetBSD.org
2009-07-17 00:12:17 +02:00
HOMEPAGE= http://mercurial.selenic.com/wiki/
2006-04-09 01:01:58 +02:00
COMMENT= Fast, lightweight source control management system
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
PKG_DESTDIR_SUPPORT= user-destdir
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
2006-04-09 01:01:58 +02:00
PY_PATCHPLIST= yes
PYDISTUTILSPKG= yes
2009-03-12 08:41:27 +01:00
USE_TOOLS+= gmake msgfmt
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
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_DIR} ${DESTDIR}${PREFIX}/share/doc/mercurial
${INSTALL_DATA} ${WRKSRC}/README \
${DESTDIR}${PREFIX}/share/doc/mercurial
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"