openbsd-ports/devel/cvs2svn/Makefile

47 lines
1.2 KiB
Makefile
Raw Normal View History

2010-11-26 02:18:59 -05:00
# $OpenBSD: Makefile,v 1.6 2010/11/26 07:19:00 espie Exp $
COMMENT= migrate repositories from CVS to Subversion/GIT/BZR
# Beware! Upgrades need a new directory in MASTER_SITES,
# otherwise you probably get the old files, not 404.
MODPY_EGG_VERSION= 2.3.0
DISTNAME= cvs2svn-${MODPY_EGG_VERSION}
2010-08-30 18:03:58 -04:00
REVISION = 0
MASTER_SITES= ${HOMEPAGE}files/documents/1462/46528/
CATEGORIES= devel
HOMEPAGE= http://cvs2svn.tigris.org/
# BSD-like
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/python
2010-11-15 14:45:56 -05:00
# XXX YUCK
2010-11-26 02:18:59 -05:00
RUN_DEPENDS= devel/subversion,-python \
${MODPY_RUN_DEPENDS:S/python/python-bsddb/},-bsddb
REGRESS_DEPENDS=${RUN_DEPENDS}
REGRESS_FLAGS= PYTHON=${MODPY_BIN}
REGRESS_TARGET= check
DOCFILES= BUGS CHANGES COPYING HACKING README doc/design-notes.txt
DOCDIR= ${PREFIX}/share/doc/cvs2svn
EXAMPLEDIR = ${PREFIX}/share/examples/cvs2svn
post-install:
${INSTALL_DATA_DIR} ${DOCDIR} ${DOCDIR}/www ${EXAMPLEDIR}
.for i in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/$i ${DOCDIR}/
.endfor
${INSTALL_DATA} ${WRKSRC}/www/*html ${DOCDIR}/www/
${INSTALL_DATA} ${WRKSRC}/cvs2*-example.options ${EXAMPLEDIR}
.include <bsd.port.mk>