1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/devel/cvs2svn/Makefile
Marcelo Araujo 0d3b370ad0 - Update to 2.1.0.
- Added support for CVS -> Git conversions.

PR:		ports/121078
Submitted by:	Giorgos Keramidas <keramida@ceid.upatras.gr>
Approved by:	maintainer timeout (more than 2 weeks)
2008-03-16 23:05:51 +00:00

49 lines
1.3 KiB
Makefile

# New ports collection makefile for: cvs2svn
# Date created: 1 May 2004
# Whom: Hye-Shik Chang
#
# $FreeBSD$
PORTNAME= cvs2svn
PORTVERSION= 2.1.0
CATEGORIES= devel
MASTER_SITES= http://cvs2svn.tigris.org/files/documents/1462/41596/ \
http://cvs2svn.tigris.org/files/documents/1462/39919/ \
ftp://ftp.rewt.org.uk/pub/distfiles/ \
http://gentoo.nedlinux.nl/distfiles/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= jkoshy
MAINTAINER= joe@joeholden.co.uk
COMMENT= CVS to Subversion Repository Converter
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/gdbm.so:${PORTSDIR}/databases/py-gdbm
RUN_DEPENDS= ${LOCALBASE}/bin/svn:${PORTSDIR}/devel/subversion \
${LOCALBASE}/bin/git:${PORTSDIR}/devel/git \
${BUILD_DEPENDS}
DISABLE_SIZE= yes
USE_PYTHON= 2.3+
USE_PYDISTUTILS= yes
MAN1= cvs2svn.1
# The only thing different in this target vs. the one found in bsd.port.mk
# is that the extract command exit code is ignored. tar exits with status
# 1 because the distfile contains a symlink that points nowhere.
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
@-for file in ${EXTRACT_ONLY}; do \
if ! (cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS});\
then \
exit 1; \
fi; \
done
post-install:
${INSTALL_MAN} ${WRKSRC}/cvs2svn.1 ${PREFIX}/man/man1/
.include <bsd.port.mk>