611787fa6a
This is regular time-based bugfix release. bookmarks: discard current bookmark if absent from the bookmarks (issue2692) bookmarks: fix update of the current bookmark during rename color: port to using ctypes (issue2687) convert/svn: fix _iterfiles() output in root dir case (issue2647) eol: do not abort when win32text is found, only warn eol: use dirstate methods to clear dirstate hgweb: add display of bookmarks for changelog and changeset hgweb: add separate page with bookmarks listing merge: avoid unlinking destination of merge when case changes (issue2715) mq: do not let qrefresh write bad patch pager: don't page stderr if it's being redirected (issue2541) push/outgoing: print remote target path even if there's an error (issue2561) subrepo: recognize scp-style paths as git URLs templates: widen the graph canvas (issue2683)
103 lines
2.3 KiB
Makefile
103 lines
2.3 KiB
Makefile
# Ports collection makefile for: mercurial
|
|
# Date created: 11 July 2005
|
|
# Whom: Andreas Kohn
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mercurial
|
|
PORTVERSION= 1.8.2
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://mercurial.selenic.com/release/
|
|
|
|
MAINTAINER= roberto@FreeBSD.org
|
|
COMMENT= A fast, lightweight source control management system
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
USE_GETTEXT= yes
|
|
PLIST_SUB+= NLS=""
|
|
.else
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
USE_PYTHON= 2.5+
|
|
USE_PYDISTUTILS=yes
|
|
PYDISTUTILS_PKGNAME= ${PORTNAME}
|
|
PYDISTUTILS_PKGVERSION= ${PORTVERSION}
|
|
PYDISTUTILS_EGGINFO= ${PORTNAME}-${PORTVERSION}-${PYTHON_VERSION:S/thon//}.egg-info
|
|
|
|
CONTRIB_FILES= bash_completion \
|
|
convert-repo \
|
|
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 \
|
|
logo-droplets.svg \
|
|
memory.py \
|
|
mercurial.el \
|
|
mergetools.hgrc \
|
|
mq.el \
|
|
perf.py \
|
|
pylintrc \
|
|
python-hook-examples.py \
|
|
sample.hgrc \
|
|
setup3k.py \
|
|
shrink-revlog.py \
|
|
simplemerge \
|
|
tcsh_completion \
|
|
tcsh_completion_build.sh \
|
|
tmplrewrite.py \
|
|
undumprevlog \
|
|
zsh_completion \
|
|
hgsh/Makefile \
|
|
hgsh/hgsh.c \
|
|
vim/HGAnnotate.vim \
|
|
vim/hg-menu.vim \
|
|
vim/hgcommand.vim \
|
|
vim/hgtest.vim \
|
|
vim/patchreview.txt \
|
|
vim/patchreview.vim
|
|
|
|
DOCS= CONTRIBUTORS COPYING README doc/*.txt doc/*.html
|
|
|
|
MAN1= hg.1
|
|
MAN5= hgignore.5 hgrc.5
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
post-patch:
|
|
.if defined(WITHOUT_NLS)
|
|
@${REINPLACE_CMD} '/^build.sub_co.*$$/d' ${WRKSRC}/setup.py
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${PREFIX}/man/man1/
|
|
${INSTALL_MAN} ${WRKSRC}/doc/*.5 ${PREFIX}/man/man5/
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
for f in ${DOCS}; do \
|
|
${INSTALL_MAN} ${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
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|