Update to Mercurial 0.9.
See Changelog at http://www.selenic.com/mercurial/wiki/index.cgi/WhatsNew More files are now installed in PREFIX/share/mercurial incl CGI scripts and documentation.
This commit is contained in:
parent
5496cfb272
commit
d1aa4c74da
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=162106
4 changed files with 87 additions and 5 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= mercurial
|
||||
PORTVERSION= 0.8.1
|
||||
PORTVERSION= 0.9
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= http://www.selenic.com/mercurial/release/
|
||||
|
||||
|
@ -16,4 +16,42 @@ COMMENT= A fast, lightweight source control management system
|
|||
USE_PYTHON= 2.3+
|
||||
USE_PYDISTUTILS=yes
|
||||
|
||||
SHAREDDIR= ${PREFIX}/share/${PORTNAME}
|
||||
DOCSDIR= ${SHAREDDIR}/doc
|
||||
CONTRIBDIR= ${SHAREDDIR}/contrib
|
||||
WWWDIR= ${SHAREDDIR}/www
|
||||
|
||||
CONTRIB_FILES= bash_completion \
|
||||
convert-repo \
|
||||
favicon.ico \
|
||||
hg-menu.vim \
|
||||
hg-ssh \
|
||||
hgdiff \
|
||||
hgk \
|
||||
hgk.py \
|
||||
mercurial.el \
|
||||
tcsh_completion \
|
||||
zsh_completion
|
||||
|
||||
PKGMESSAGE= ${WRKDIR}/MESSAGE
|
||||
|
||||
post-build:
|
||||
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGDIR}/pkg-message > ${PKGMESSAGE}
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${SHAREDDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/CONTRIBUTORS ${SHAREDDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/COPYING ${SHAREDDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${SHAREDDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/*.txt ${SHAREDDIR}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DOCSDIR}
|
||||
${MKDIR} ${CONTRIBDIR}
|
||||
for f in ${CONTRIB_FILES}; do \
|
||||
${CP} -p ${WRKSRC}/contrib/$${f} ${CONTRIBDIR} \
|
||||
done
|
||||
${MKDIR} ${WWWDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/*.cgi ${WWWDIR}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (mercurial-0.8.1.tar.gz) = ffa37810cf9c48608f5172a622bef2f5
|
||||
SHA256 (mercurial-0.8.1.tar.gz) = ee364621625a4a503da2ae9747d46534dc2d297a3c0ff23572a9440729c555fa
|
||||
SIZE (mercurial-0.8.1.tar.gz) = 284529
|
||||
MD5 (mercurial-0.9.tar.gz) = d4154d12dcbda78251750c2a18eae940
|
||||
SHA256 (mercurial-0.9.tar.gz) = 43de312de90ca5d155101d775c7bdaafc9ff61f179dd2940d8e22b2df5090a5b
|
||||
SIZE (mercurial-0.9.tar.gz) = 326107
|
||||
|
|
7
devel/mercurial/pkg-message
Normal file
7
devel/mercurial/pkg-message
Normal file
|
@ -0,0 +1,7 @@
|
|||
====
|
||||
Note that we now install a few more files in %%PREFIX%%/share/mercurial:
|
||||
- shell completion scripts (bash, tcsh and zsh)
|
||||
- CGI scripts for web access to repositories
|
||||
see http://www.selenic.com/mercurial/wiki/index.cgi/CGI_Install
|
||||
- various documentation files
|
||||
====
|
|
@ -3,6 +3,9 @@ bin/hgmerge
|
|||
%%PYTHON_SITELIBDIR%%/hgext/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/hgext/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/hgext/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/hgext/bugzilla.py
|
||||
%%PYTHON_SITELIBDIR%%/hgext/bugzilla.pyc
|
||||
%%PYTHON_SITELIBDIR%%/hgext/bugzilla.pyo
|
||||
%%PYTHON_SITELIBDIR%%/hgext/gpg.py
|
||||
%%PYTHON_SITELIBDIR%%/hgext/gpg.pyc
|
||||
%%PYTHON_SITELIBDIR%%/hgext/gpg.pyo
|
||||
|
@ -12,6 +15,9 @@ bin/hgmerge
|
|||
%%PYTHON_SITELIBDIR%%/hgext/mq.py
|
||||
%%PYTHON_SITELIBDIR%%/hgext/mq.pyc
|
||||
%%PYTHON_SITELIBDIR%%/hgext/mq.pyo
|
||||
%%PYTHON_SITELIBDIR%%/hgext/notify.py
|
||||
%%PYTHON_SITELIBDIR%%/hgext/notify.pyc
|
||||
%%PYTHON_SITELIBDIR%%/hgext/notify.pyo
|
||||
%%PYTHON_SITELIBDIR%%/hgext/patchbomb.py
|
||||
%%PYTHON_SITELIBDIR%%/hgext/patchbomb.pyc
|
||||
%%PYTHON_SITELIBDIR%%/hgext/patchbomb.pyo
|
||||
|
@ -27,6 +33,9 @@ bin/hgmerge
|
|||
%%PYTHON_SITELIBDIR%%/mercurial/appendfile.py
|
||||
%%PYTHON_SITELIBDIR%%/mercurial/appendfile.pyc
|
||||
%%PYTHON_SITELIBDIR%%/mercurial/appendfile.pyo
|
||||
%%PYTHON_SITELIBDIR%%/mercurial/archival.py
|
||||
%%PYTHON_SITELIBDIR%%/mercurial/archival.pyc
|
||||
%%PYTHON_SITELIBDIR%%/mercurial/archival.pyo
|
||||
%%PYTHON_SITELIBDIR%%/mercurial/bdiff.so
|
||||
%%PYTHON_SITELIBDIR%%/mercurial/bundlerepo.py
|
||||
%%PYTHON_SITELIBDIR%%/mercurial/bundlerepo.pyc
|
||||
|
@ -129,7 +138,6 @@ bin/hgmerge
|
|||
%%PYTHON_SITELIBDIR%%/mercurial/templates/filelogentry-rss.tmpl
|
||||
%%PYTHON_SITELIBDIR%%/mercurial/templates/filelogentry.tmpl
|
||||
%%PYTHON_SITELIBDIR%%/mercurial/templates/filerevision-gitweb.tmpl
|
||||
%%PYTHON_SITELIBDIR%%/mercurial/templates/filerevision-raw.tmpl
|
||||
%%PYTHON_SITELIBDIR%%/mercurial/templates/filerevision.tmpl
|
||||
%%PYTHON_SITELIBDIR%%/mercurial/templates/footer-gitweb.tmpl
|
||||
%%PYTHON_SITELIBDIR%%/mercurial/templates/footer.tmpl
|
||||
|
@ -168,10 +176,39 @@ bin/hgmerge
|
|||
%%PYTHON_SITELIBDIR%%/mercurial/util.py
|
||||
%%PYTHON_SITELIBDIR%%/mercurial/util.pyc
|
||||
%%PYTHON_SITELIBDIR%%/mercurial/util.pyo
|
||||
%%PYTHON_SITELIBDIR%%/mercurial/util_win32.py
|
||||
%%PYTHON_SITELIBDIR%%/mercurial/util_win32.pyc
|
||||
%%PYTHON_SITELIBDIR%%/mercurial/util_win32.pyo
|
||||
%%PYTHON_SITELIBDIR%%/mercurial/version.py
|
||||
%%PYTHON_SITELIBDIR%%/mercurial/version.pyc
|
||||
%%PYTHON_SITELIBDIR%%/mercurial/version.pyo
|
||||
%%SHAREDDIR%%/CONTRIBUTORS
|
||||
%%SHAREDDIR%%/COPYING
|
||||
%%SHAREDDIR%%/README
|
||||
%%SHAREDDIR%%/comparison.txt
|
||||
%%SHAREDDIR%%/notes.txt
|
||||
%%SHAREDDIR%%/contrib/bash_completion
|
||||
%%SHAREDDIR%%/contrib/convert-repo
|
||||
%%SHAREDDIR%%/contrib/favicon.ico
|
||||
%%SHAREDDIR%%/contrib/hg-menu.vim
|
||||
%%SHAREDDIR%%/contrib/hg-ssh
|
||||
%%SHAREDDIR%%/contrib/hgdiff
|
||||
%%SHAREDDIR%%/contrib/hgk
|
||||
%%SHAREDDIR%%/contrib/hgk.py
|
||||
%%SHAREDDIR%%/contrib/mercurial.el
|
||||
%%SHAREDDIR%%/contrib/tcsh_completion
|
||||
%%SHAREDDIR%%/contrib/zsh_completion
|
||||
%%SHAREDDIR%%/doc/hg.1.txt
|
||||
%%SHAREDDIR%%/doc/hgignore.5.txt
|
||||
%%SHAREDDIR%%/doc/hgmerge.1.txt
|
||||
%%SHAREDDIR%%/doc/hgrc.5.txt
|
||||
%%SHAREDDIR%%/www/hgweb.cgi
|
||||
%%SHAREDDIR%%/www/hgwebdir.cgi
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/mercurial/templates/static
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/mercurial/templates
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/mercurial
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/hgext
|
||||
@dirrm %%SHAREDIR%%/www
|
||||
@dirrm %%SHAREDIR%%/doc
|
||||
@dirrm %%SHAREDIR%%/contrib
|
||||
@dirrm %%SHAREDIR%%
|
||||
|
|
Loading…
Reference in a new issue