diff options
author | roberto <roberto@FreeBSD.org> | 2006-05-12 01:30:00 +0800 |
---|---|---|
committer | roberto <roberto@FreeBSD.org> | 2006-05-12 01:30:00 +0800 |
commit | 9649de275ddbe67d56602d3b2e56cf64a5d444af (patch) | |
tree | abe967f73dd62639d053397356833a4fe0f716c7 /devel | |
parent | a0df7cff0040f39432656e16f671673cc36102c8 (diff) | |
download | freebsd-ports-gnome-9649de275ddbe67d56602d3b2e56cf64a5d444af.tar.gz freebsd-ports-gnome-9649de275ddbe67d56602d3b2e56cf64a5d444af.tar.zst freebsd-ports-gnome-9649de275ddbe67d56602d3b2e56cf64a5d444af.zip |
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.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/mercurial/Makefile | 40 | ||||
-rw-r--r-- | devel/mercurial/distinfo | 6 | ||||
-rw-r--r-- | devel/mercurial/pkg-message | 7 | ||||
-rw-r--r-- | devel/mercurial/pkg-plist | 39 |
4 files changed, 87 insertions, 5 deletions
diff --git a/devel/mercurial/Makefile b/devel/mercurial/Makefile index 7737641c2d76..49310b0b861c 100644 --- a/devel/mercurial/Makefile +++ b/devel/mercurial/Makefile @@ -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> diff --git a/devel/mercurial/distinfo b/devel/mercurial/distinfo index b5e98fb1438c..613e1e149675 100644 --- a/devel/mercurial/distinfo +++ b/devel/mercurial/distinfo @@ -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 diff --git a/devel/mercurial/pkg-message b/devel/mercurial/pkg-message new file mode 100644 index 000000000000..0abf25e7ab1c --- /dev/null +++ b/devel/mercurial/pkg-message @@ -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 +==== diff --git a/devel/mercurial/pkg-plist b/devel/mercurial/pkg-plist index c54dccb1ffee..1e57569dd79e 100644 --- a/devel/mercurial/pkg-plist +++ b/devel/mercurial/pkg-plist @@ -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%% |