openbsd-ports/devel/mercurial/Makefile
2007-10-08 08:22:38 +00:00

43 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.8 2007/10/08 08:22:39 steven Exp $
COMMENT= fast, lightweight source control management
DISTNAME= mercurial-0.9.4
PKGNAME= ${DISTNAME}p0
CATEGORIES= devel
HOMEPAGE= http://www.selenic.com/mercurial/
MAINTAINER= Will Maier <willmaier@ml1.net>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.selenic.com/mercurial/release/
MODULES= lang/python
# Many regress tests broken on OpenBSD.
NO_REGRESS= Yes
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/hg.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/hgignore.5 ${PREFIX}/man/man5
${INSTALL_MAN} ${WRKSRC}/doc/hgmerge.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/hgrc.5 ${PREFIX}/man/man5
${INSTALL_DATA_DIR} ${PREFIX}/share/mercurial/
.for file in bash_completion mercurial.el sample.hgrc tcsh_completion zsh_completion
${INSTALL_DATA} ${WRKSRC}/contrib/${file} ${PREFIX}/share/mercurial/.
.endfor
.for script in convert-repo darcs2hg.py hg-ssh hgdiff hgk tcsh_completion_build.sh
${INSTALL_SCRIPT} ${WRKSRC}/contrib/${script} ${PREFIX}/share/mercurial/.
.endfor
.for dir in git-viz hgsh vim
@cp -rp ${WRKSRC}/contrib/${dir} ${PREFIX}/share/mercurial/.
@chown ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/mercurial/${dir}/*
.endfor
.include <bsd.port.mk>