2009-11-26 04:14:16 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.3 2009/11/26 09:14:16 sthen Exp $
|
2009-08-22 07:46:24 -04:00
|
|
|
|
2009-11-26 04:14:16 -05:00
|
|
|
COMMENT= migrate repositories from CVS to Subversion/GIT/BZR
|
2009-08-22 07:46:24 -04:00
|
|
|
|
|
|
|
# Beware! Upgrades need a new directory in MASTER_SITES,
|
|
|
|
# otherwise you probably get the old files, not 404.
|
2009-11-26 04:14:16 -05:00
|
|
|
MODPY_EGG_VERSION= 2.3.0
|
2009-08-22 07:46:24 -04:00
|
|
|
DISTNAME= cvs2svn-${MODPY_EGG_VERSION}
|
2009-11-26 04:14:16 -05:00
|
|
|
MASTER_SITES= ${HOMEPAGE}files/documents/1462/46528/
|
2009-08-22 07:46:24 -04:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
RUN_DEPENDS= :py-subversion-*: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
|
2009-11-26 04:14:16 -05:00
|
|
|
EXAMPLEDIR = ${PREFIX}/share/examples/cvs2svn
|
2009-08-22 07:46:24 -04:00
|
|
|
|
|
|
|
post-install:
|
2009-11-26 04:14:16 -05:00
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR} ${DOCDIR}/www ${EXAMPLEDIR}
|
2009-08-22 07:46:24 -04:00
|
|
|
.for i in ${DOCFILES}
|
2009-11-26 04:14:16 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$i ${DOCDIR}/
|
2009-08-22 07:46:24 -04:00
|
|
|
.endfor
|
2009-11-26 04:14:16 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/www/*html ${DOCDIR}/www/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/cvs2*-example.options ${EXAMPLEDIR}
|
2009-08-22 07:46:24 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|