freebsd-ports/devel/mercurial/Makefile

105 lines
2.2 KiB
Makefile
Raw Normal View History

# Created by: Andreas Kohn
# $FreeBSD$
PORTNAME= mercurial
PORTVERSION= 2.7
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= http://mercurial.selenic.com/release/
MAINTAINER= python@FreeBSD.org
COMMENT= Fast, lightweight source control management system
LICENSE= GPLv2
USE_PYTHON= -2.7
USE_PYDISTUTILS=yes
OPTIONS_DEFINE= CA_BUNDLE NLS
CA_BUNDLE_DESC= Install CA Certificates
CONTRIB_FILES= bash_completion \
Update to 2.1.2. This is a regularly-scheduled bugfix release. alias: abort on missing positional args (issue3331) aliases: use empty string for missing position parameters (issue3331) bookmarks: clone non-divergent bookmarks with @ in them convert/git: abort if git submodules are detected (issue2150) convert: deal with empty splicemap path (issue3311) dirstate: avoid normalizing letter case on icasefs for exact match (issue3340) dirstate: fix some problems for recursive case normalization (issue3342) dirstate: normalize case of directory components extdiff: escape filenames with vim/DirDiff and make quoting work with Windows filemerge: remove temporary files when using internal:dump as merge-tool filemerge: restore default prompt for binary/symlink lost in 83925d3a4559 icasefs: use case preserved root for 'util.fspath()' invocation (issue3302) largefiles: suppress unexpected warning of 'hg status' for removed files localrepo: fix unpushable repos when using bookmarks (issue3317) merge: accept missing revisions in symlink flag merge (issue3316) merge: handle linear update to symlink correctly (issue3316) mq: fix qpush --move with comments in series file between applied patches qfinish: comply with the phases.new-commit option in secret mode (issue3335) rebase: move bookmarks as needed with pull --rebase (issue3285) rebase: properly calculate descendant set when aborting (issue3332) rename: handle case-changing (issue1717) setup.py: don't call splitlines twice on the output of xcodebuild (issue3277) strip: enhance repair.strip to receive a list of nodes (issue3299) strip: ignore -n (issue3326) (BC) wix: add phases help text and two more translations (issue3288) PR: ports/166751 Submitted by: Olivier Duchateau <duchateau.olivier AT gmail.com>
2012-04-11 10:19:17 +02:00
casesmash.py \
check-code.py \
convert-repo \
debugcmdserver.py \
debugshell.py \
dumprevlog \
hg-ssh \
hgfixes/__init__.py \
hgfixes/fix_bytes.py \
hgfixes/fix_bytesmod.py \
hgfixes/fix_leftover_imports.py \
hgk \
hgsh/Makefile \
hgsh/hgsh.c \
mercurial.el \
mergetools.hgrc \
mq.el \
perf.py \
pylintrc \
python-hook-examples.py \
sample.hgrc \
simplemerge \
tcsh_completion \
tcsh_completion_build.sh \
tmplrewrite.py \
undumprevlog \
zsh_completion \
vim/HGAnnotate.vim \
vim/hg-menu.vim \
vim/hgcommand.vim \
vim/hgtest.vim \
vim/patchreview.txt \
vim/patchreview.vim
DOCS= CONTRIBUTORS README
Upgrade to the long-awaited Mercurial 1.0 release! 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 Extensions: * churn: promoted to an official extension (previously in contrib) * color: new extension coloring "status" and "qseries" command outputs * convert: - allow synthetic history to be spliced in with --splicemap - support GNU Arch and Monotone sources - svn: allow shallow conversions of single branches with convert.svn.startrev option. - svn: make trunk/branches/tags layout detection more flexible by allowing either of them to be skipped. - svn: preliminary support as a conversion target * 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 * win32mbcs: new extension dealing with problematic MBCS behavior on Windows 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
2008-03-31 16:28:26 +02:00
MAN1= hg.1
MAN5= hgignore.5 hgrc.5
SUB_FILES= pkg-message
.include <bsd.port.options.mk>
post-patch:
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-setup.py
PLIST_SUB+= NLS="@comment "
.endif
.if ${PORT_OPTIONS:MCA_BUNDLE}
RUN_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
.endif
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${PREFIX}/man/man1/
${INSTALL_MAN} ${WRKSRC}/doc/*.5 ${PREFIX}/man/man5/
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
for f in ${DOCS}; do \
${INSTALL_DATA} ${WRKSRC}/$${f} ${DOCSDIR}; \
done
.endif
.if !defined(NOPORTDATA)
${MKDIR} ${DATADIR}
${MKDIR} ${DATADIR}/contrib
${MKDIR} ${DATADIR}/contrib/hgfixes
${MKDIR} ${DATADIR}/contrib/hgsh
${MKDIR} ${DATADIR}/contrib/vim
for f in ${CONTRIB_FILES}; do \
${CP} -p ${WRKSRC}/contrib/$${f} ${DATADIR}/contrib/$${f}; \
done
${MKDIR} ${DATADIR}/www
${INSTALL_DATA} ${WRKSRC}/*.cgi ${DATADIR}/www
${INSTALL_DATA} ${WRKSRC}/contrib/hgweb.fcgi ${DATADIR}/www
${INSTALL_DATA} ${WRKSRC}/contrib/hgweb.wsgi ${DATADIR}/www
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>