summaryrefslogtreecommitdiff
path: root/devel/cvs2svn/Makefile
blob: 69a8392de5cfd601297cfe8c98e2c4029c3e7603 (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
30
31
32
33
34
35
# $NetBSD: Makefile,v 1.12 2006/02/05 23:08:40 joerg Exp $

DISTNAME=	cvs2svn-1.3.0
PKGREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	http://cvs2svn.tigris.org/files/documents/1462/25036/

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://cvs2svn.tigris.org/
COMMENT=	Converts a CVS repository to a Subversion repository

DEPENDS+=	subversion-base-[0-9]*:../../devel/subversion-base

CONFLICTS+=	py*-subversion<1.0.1

PYDISTUTILSPKG=			yes
PYTHON_PATCH_SCRIPTS=		run-tests.py

# XXX cvs2svn depends on sort(1) with '-T' option. A dependency and a patch
# to resort on GNU sort from coreutils may be required.

INSTALLATION_DIRS+=	share/doc/html/cvs2svn

post-install:
	for f in ${WRKSRC}/www/*.html; do				\
		${INSTALL_DATA} $${f} ${PREFIX}/share/doc/html/cvs2svn;	\
	done

do-test:
	cd ${WRKSRC}; ./run-tests.py

.include "../../databases/py-bsddb3/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"