67c5e96e05
There are many changes in this bugfix release (relative to 1.1.1) compared to our previous 1.0.2. Please check the release notes at the following url http://www.selenic.com/mercurial/wiki/index.cgi/WhatsNew Sorry for the time it took (and versions skipped). Submitted by: Guy Brand <gb@isis.u-strasbg.fr> Heavily modified: me Asked by: several
81 lines
1.8 KiB
Makefile
81 lines
1.8 KiB
Makefile
# Ports collection makefile for: mercurial
|
|
# Date created: 11 July 2005
|
|
# Whom: Andreas Kohn
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mercurial
|
|
PORTVERSION= 1.1.2
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://www.selenic.com/mercurial/release/
|
|
|
|
MAINTAINER= roberto@FreeBSD.org
|
|
COMMENT= A fast, lightweight source control management system
|
|
|
|
USE_PYTHON= 2.3+
|
|
USE_PYDISTUTILS=yes
|
|
|
|
CONTRIB_FILES= bash_completion \
|
|
convert-repo \
|
|
dumprevlog \
|
|
hg-relink \
|
|
hg-ssh \
|
|
hgdiff \
|
|
hgk \
|
|
logo-droplets.svg \
|
|
mercurial.el \
|
|
mq.el \
|
|
sample.hgrc \
|
|
simplemerge \
|
|
tcsh_completion \
|
|
undumprevlog \
|
|
zsh_completion \
|
|
git-viz/git-cat-file \
|
|
git-viz/git-diff-tree \
|
|
git-viz/git-rev-list \
|
|
git-viz/git-rev-tree \
|
|
git-viz/hg-viz \
|
|
hgsh/Makefile \
|
|
hgsh/hgsh.c \
|
|
vim/HGAnnotate.vim \
|
|
vim/hg-menu.vim \
|
|
vim/hgcommand.vim \
|
|
vim/patchreview.txt \
|
|
vim/patchreview.vim
|
|
|
|
DOCS= CONTRIBUTORS COPYING README doc/*.txt doc/*.html
|
|
|
|
MAN1= hg.1
|
|
MAN5= hgignore.5 hgrc.5
|
|
|
|
PKGMESSAGE= ${WRKDIR}/MESSAGE
|
|
|
|
post-build:
|
|
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGDIR}/pkg-message > ${PKGMESSAGE}
|
|
|
|
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/git-viz
|
|
${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_MAN} ${WRKSRC}/*.cgi ${DATADIR}/www
|
|
${INSTALL_MAN} ${WRKSRC}/contrib/hgwebdir.fcgi ${DATADIR}/www
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|