summaryrefslogtreecommitdiff
path: root/devel/mercurial/Makefile
blob: ba3f80c3607dfe14ce8fefa7e92c5080fd737ed4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $NetBSD: Makefile,v 1.2 2006/02/05 23:08:48 joerg Exp $
#

DISTNAME=		mercurial-0.7
PKGREVISION=		1
CATEGORIES=		devel
MASTER_SITES=		http://www.selenic.com/mercurial/release/

MAINTAINER=		tech-pkg@NetBSD.org
HOMEPAGE=		http://www.selenic.com/mercurial/wiki/index.cgi/Mercurial
COMMENT=		Fast, lightweight source control management system


PY_PATCHPLIST=          yes
PYDISTUTILSPKG=		yes

PYTHON_VERSIONS_ACCEPTED=	24 23

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5

post-install:
	${INSTALL_DATA} ${WRKSRC}/doc/*.1  ${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_DATA} ${WRKSRC}/doc/*.5  ${PREFIX}/${PKGMANDIR}/man5
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mercurial
	${INSTALL_DATA} ${WRKSRC}/README  ${PREFIX}/share/doc/mercurial
	${INSTALL_DATA} ${WRKSRC}/comparison.txt  ${PREFIX}/share/doc/mercurial

.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"