2012-10-16 15:17:41 +02:00
|
|
|
# Created by: Andreas Kohn
|
2005-07-13 21:05:23 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mercurial
|
2013-08-09 14:09:47 +02:00
|
|
|
PORTVERSION= 2.7
|
2013-08-09 19:52:02 +02:00
|
|
|
PORTREVISION= 1
|
2005-07-13 21:05:23 +02:00
|
|
|
CATEGORIES= devel python
|
2009-07-10 15:07:20 +02:00
|
|
|
MASTER_SITES= http://mercurial.selenic.com/release/
|
2005-07-13 21:05:23 +02:00
|
|
|
|
2012-06-03 21:38:59 +02:00
|
|
|
MAINTAINER= python@FreeBSD.org
|
2012-10-16 15:17:41 +02:00
|
|
|
COMMENT= Fast, lightweight source control management system
|
2005-07-13 21:05:23 +02:00
|
|
|
|
2012-06-03 21:38:59 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2012-03-28 06:43:07 +02:00
|
|
|
USE_PYTHON= -2.7
|
2005-07-13 21:05:23 +02:00
|
|
|
USE_PYDISTUTILS=yes
|
|
|
|
|
2012-12-19 23:17:36 +01:00
|
|
|
OPTIONS_DEFINE= CA_BUNDLE NLS
|
|
|
|
CA_BUNDLE_DESC= Install CA Certificates
|
2012-10-16 15:17:41 +02:00
|
|
|
|
2006-05-11 19:30:00 +02:00
|
|
|
CONTRIB_FILES= bash_completion \
|
2012-04-11 10:19:17 +02:00
|
|
|
casesmash.py \
|
|
|
|
check-code.py \
|
2006-05-11 19:30:00 +02:00
|
|
|
convert-repo \
|
2011-11-08 09:47:13 +01:00
|
|
|
debugcmdserver.py \
|
2010-11-03 23:20:33 +01:00
|
|
|
debugshell.py \
|
2009-01-10 23:49:21 +01:00
|
|
|
dumprevlog \
|
2006-05-11 19:30:00 +02:00
|
|
|
hg-ssh \
|
2010-11-03 23:20:33 +01:00
|
|
|
hgfixes/__init__.py \
|
|
|
|
hgfixes/fix_bytes.py \
|
|
|
|
hgfixes/fix_bytesmod.py \
|
|
|
|
hgfixes/fix_leftover_imports.py \
|
2006-05-11 19:30:00 +02:00
|
|
|
hgk \
|
2010-11-05 09:49:28 +01:00
|
|
|
hgsh/Makefile \
|
|
|
|
hgsh/hgsh.c \
|
2006-05-11 19:30:00 +02:00
|
|
|
mercurial.el \
|
2009-11-17 13:43:28 +01:00
|
|
|
mergetools.hgrc \
|
2009-01-10 23:49:21 +01:00
|
|
|
mq.el \
|
2009-11-17 13:43:28 +01:00
|
|
|
perf.py \
|
2010-03-08 13:49:09 +01:00
|
|
|
pylintrc \
|
2009-11-17 13:43:28 +01:00
|
|
|
python-hook-examples.py \
|
2006-07-27 11:52:24 +02:00
|
|
|
sample.hgrc \
|
2009-01-10 23:49:21 +01:00
|
|
|
simplemerge \
|
2006-05-11 19:30:00 +02:00
|
|
|
tcsh_completion \
|
2009-11-17 13:43:28 +01:00
|
|
|
tcsh_completion_build.sh \
|
|
|
|
tmplrewrite.py \
|
2009-01-10 23:49:21 +01:00
|
|
|
undumprevlog \
|
2006-07-27 11:52:24 +02:00
|
|
|
zsh_completion \
|
|
|
|
vim/HGAnnotate.vim \
|
|
|
|
vim/hg-menu.vim \
|
|
|
|
vim/hgcommand.vim \
|
2010-11-03 23:20:33 +01:00
|
|
|
vim/hgtest.vim \
|
2006-07-27 11:52:24 +02:00
|
|
|
vim/patchreview.txt \
|
|
|
|
vim/patchreview.vim
|
2006-05-11 19:30:00 +02:00
|
|
|
|
2012-10-16 15:17:41 +02:00
|
|
|
DOCS= CONTRIBUTORS README
|
2007-01-27 22:15:13 +01:00
|
|
|
|
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
|
2007-01-27 22:15:13 +01:00
|
|
|
MAN5= hgignore.5 hgrc.5
|
2006-05-17 11:12:06 +02:00
|
|
|
|
2010-01-08 13:22:26 +01:00
|
|
|
SUB_FILES= pkg-message
|
2006-05-11 19:30:00 +02:00
|
|
|
|
2012-10-16 15:17:41 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2010-07-20 15:38:50 +02:00
|
|
|
post-patch:
|
2012-10-16 15:17:41 +02:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-24 20:10:30 +02:00
|
|
|
USES+= gettext
|
2012-10-16 15:17:41 +02:00
|
|
|
PLIST_SUB+= NLS=""
|
2012-07-10 09:05:59 +02:00
|
|
|
.else
|
2012-10-16 15:17:41 +02:00
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-setup.py
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
2010-07-20 15:38:50 +02:00
|
|
|
.endif
|
|
|
|
|
2012-12-19 23:17:36 +01:00
|
|
|
.if ${PORT_OPTIONS:MCA_BUNDLE}
|
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
|
|
|
|
.endif
|
|
|
|
|
2006-05-11 19:30:00 +02:00
|
|
|
post-install:
|
2007-01-27 22:15:13 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${PREFIX}/man/man1/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/*.5 ${PREFIX}/man/man5/
|
2012-10-16 15:17:41 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2006-05-17 15:49:30 +02:00
|
|
|
${MKDIR} ${DOCSDIR}
|
2007-01-27 22:15:13 +01:00
|
|
|
for f in ${DOCS}; do \
|
2011-11-08 09:47:13 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$${f} ${DOCSDIR}; \
|
2006-05-17 15:49:30 +02:00
|
|
|
done
|
2008-07-16 16:10:57 +02:00
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTDATA)
|
2006-05-17 11:12:06 +02:00
|
|
|
${MKDIR} ${DATADIR}
|
|
|
|
${MKDIR} ${DATADIR}/contrib
|
2010-11-04 09:55:45 +01:00
|
|
|
${MKDIR} ${DATADIR}/contrib/hgfixes
|
2006-07-27 11:52:24 +02:00
|
|
|
${MKDIR} ${DATADIR}/contrib/hgsh
|
|
|
|
${MKDIR} ${DATADIR}/contrib/vim
|
2006-05-11 19:30:00 +02:00
|
|
|
for f in ${CONTRIB_FILES}; do \
|
2006-07-27 11:52:24 +02:00
|
|
|
${CP} -p ${WRKSRC}/contrib/$${f} ${DATADIR}/contrib/$${f}; \
|
2006-05-11 19:30:00 +02:00
|
|
|
done
|
2006-05-17 11:12:06 +02:00
|
|
|
${MKDIR} ${DATADIR}/www
|
2010-08-08 23:44:58 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.cgi ${DATADIR}/www
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/hgweb.fcgi ${DATADIR}/www
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/hgweb.wsgi ${DATADIR}/www
|
2011-11-08 09:47:13 +01:00
|
|
|
|
2006-05-11 20:59:55 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2011-11-08 09:47:13 +01:00
|
|
|
.endif
|
2006-05-11 19:30:00 +02:00
|
|
|
|
2005-07-13 21:05:23 +02:00
|
|
|
.include <bsd.port.mk>
|