1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/devel/mercurial/Makefile
Ollivier Robert 190062b565 Put the real site instead of the usual place, fetch(1) does not seem to
deal correctly with the 302 redirect.

Noticed by:	bms
2008-03-31 18:04:21 +00:00

74 lines
1.6 KiB
Makefile

# Ports collection makefile for: mercurial
# Date created: 11 July 2005
# Whom: Andreas Kohn
#
# $FreeBSD$
#
PORTNAME= mercurial
PORTVERSION= 1.0
CATEGORIES= devel python
MASTER_SITES= http://hg.intevation.org/files/
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 \
darcs2hg.py \
hg-ssh \
hgdiff \
hgk \
mercurial.el \
sample.hgrc \
tcsh_completion \
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
${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
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>