1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

- Update to 3.0

- Add new option EXAMPLES

ChangeLog: http://mercurial.selenic.com/wiki/WhatsNew#Mercurial_3.0_.282014-05-01.29
This commit is contained in:
Olivier Duchateau 2014-05-02 07:30:35 +00:00
parent f8ab407af7
commit ea4205d939
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352777
3 changed files with 17 additions and 14 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mercurial
PORTVERSION= 2.9.2
PORTVERSION= 3.0
CATEGORIES= devel python
MASTER_SITES= http://mercurial.selenic.com/release/
@ -13,9 +13,8 @@ LICENSE= GPLv2
USE_PYTHON= 2
USE_PYDISTUTILS=yes
USES= shebangfix
OPTIONS_DEFINE= CA_BUNDLE DATA DOCS NLS
OPTIONS_DEFINE= CA_BUNDLE DATA DOCS EXAMPLES NLS
OPTIONS_DEFAULT=DATA
OPTIONS_SUB= yes
CA_BUNDLE_DESC= Install CA Certificates
@ -41,11 +40,9 @@ CONTRIB_FILES= bash_completion \
perf.py \
pylintrc \
python-hook-examples.py \
sample.hgrc \
simplemerge \
tcsh_completion \
tcsh_completion_build.sh \
tmplrewrite.py \
undumprevlog \
zsh_completion \
vim/HGAnnotate.vim \
@ -56,8 +53,6 @@ CONTRIB_FILES= bash_completion \
vim/patchreview.vim
DOCS= CONTRIBUTORS README
SHEBANG_FILES= contrib/tmplrewrite.py
CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
NLS_USES= gettext
@ -93,5 +88,10 @@ post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}/
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/contrib/sample.hgrc \
${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (mercurial-2.9.2.tar.gz) = 86462b3a1518e137cfe813dc273b8acb120ad71230a1813c0dc9335223b38f53
SIZE (mercurial-2.9.2.tar.gz) = 3855689
SHA256 (mercurial-3.0.tar.gz) = 640c96556a4524df2169c6706a4f68997c5bf5862b5971b3c2ee13ed4c349cfb
SIZE (mercurial-3.0.tar.gz) = 3903047

View File

@ -98,9 +98,6 @@ bin/hg
%%PYTHON_SITELIBDIR%%/hgext/histedit.py
%%PYTHON_SITELIBDIR%%/hgext/histedit.pyc
%%PYTHON_SITELIBDIR%%/hgext/histedit.pyo
%%PYTHON_SITELIBDIR%%/hgext/interhg.py
%%PYTHON_SITELIBDIR%%/hgext/interhg.pyc
%%PYTHON_SITELIBDIR%%/hgext/interhg.pyo
%%PYTHON_SITELIBDIR%%/hgext/keyword.py
%%PYTHON_SITELIBDIR%%/hgext/keyword.pyc
%%PYTHON_SITELIBDIR%%/hgext/keyword.pyo
@ -211,6 +208,9 @@ bin/hg
%%PYTHON_SITELIBDIR%%/mercurial/branchmap.py
%%PYTHON_SITELIBDIR%%/mercurial/branchmap.pyc
%%PYTHON_SITELIBDIR%%/mercurial/branchmap.pyo
%%PYTHON_SITELIBDIR%%/mercurial/bundle2.py
%%PYTHON_SITELIBDIR%%/mercurial/bundle2.pyc
%%PYTHON_SITELIBDIR%%/mercurial/bundle2.pyo
%%PYTHON_SITELIBDIR%%/mercurial/bundlerepo.py
%%PYTHON_SITELIBDIR%%/mercurial/bundlerepo.pyc
%%PYTHON_SITELIBDIR%%/mercurial/bundlerepo.pyo
@ -269,6 +269,9 @@ bin/hg
%%PYTHON_SITELIBDIR%%/mercurial/error.py
%%PYTHON_SITELIBDIR%%/mercurial/error.pyc
%%PYTHON_SITELIBDIR%%/mercurial/error.pyo
%%PYTHON_SITELIBDIR%%/mercurial/exchange.py
%%PYTHON_SITELIBDIR%%/mercurial/exchange.pyc
%%PYTHON_SITELIBDIR%%/mercurial/exchange.pyo
%%PYTHON_SITELIBDIR%%/mercurial/extensions.py
%%PYTHON_SITELIBDIR%%/mercurial/extensions.pyc
%%PYTHON_SITELIBDIR%%/mercurial/extensions.pyo
@ -710,6 +713,7 @@ man/man5/hgignore.5.gz
man/man5/hgrc.5.gz
%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTORS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample.hgrc
%%DATA%%%%DATADIR%%/contrib/bash_completion
%%DATA%%%%DATADIR%%/contrib/casesmash.py
%%DATA%%%%DATADIR%%/contrib/check-code.py
@ -731,11 +735,9 @@ man/man5/hgrc.5.gz
%%DATA%%%%DATADIR%%/contrib/perf.py
%%DATA%%%%DATADIR%%/contrib/pylintrc
%%DATA%%%%DATADIR%%/contrib/python-hook-examples.py
%%DATA%%%%DATADIR%%/contrib/sample.hgrc
%%DATA%%%%DATADIR%%/contrib/simplemerge
%%DATA%%%%DATADIR%%/contrib/tcsh_completion
%%DATA%%%%DATADIR%%/contrib/tcsh_completion_build.sh
%%DATA%%%%DATADIR%%/contrib/tmplrewrite.py
%%DATA%%%%DATADIR%%/contrib/undumprevlog
%%DATA%%%%DATADIR%%/contrib/vim/HGAnnotate.vim
%%DATA%%%%DATADIR%%/contrib/vim/hg-menu.vim
@ -753,6 +755,7 @@ man/man5/hgrc.5.gz
%%DATA%%@dirrm %%DATADIR%%/contrib/hgfixes
%%DATA%%@dirrm %%DATADIR%%/contrib
%%DATA%%@dirrm %%DATADIR%%
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%PYTHON_SITELIBDIR%%/mercurial/templates/static
@dirrm %%PYTHON_SITELIBDIR%%/mercurial/templates/spartan