# Created by: David Naylor # $FreeBSD$ PORTNAME= svn2git DISTVERSION= 1.0.10 CATEGORIES= devel kde MASTER_SITES= LOCAL/dbn/${PORTNAME} MAINTAINER= dbn@FreeBSD.org COMMENT= Imports svn repositories into git LICENSE= GPLv3 LIB_DEPENDS= libsvn_client-1.so:${PORTSDIR}/devel/subversion RUN_DEPENDS+= git:${PORTSDIR}/devel/git \ p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey \ p5-subversion>=0:${PORTSDIR}/devel/p5-subversion USES= qmake tar:xz USE_QT4= corelib OPTIONS_DEFINE= FREEBSD_REPO FREEBSD_REPO_DESC= FreeBSD-repo only mode PLIST_FILES= bin/svn2git .include .if ${PORT_OPTIONS:MFREEBSD_REPO} EXTRA_PATCHES= ${PATCHDIR}/freebsd-export-patch .endif post-patch: ${REINPLACE_CMD} "s|/usr/local|${LOCALBASE}|" ${WRKSRC}/src/src.pro do-install: ${INSTALL_PROGRAM} ${WRKSRC}/svn2git ${STAGEDIR}${PREFIX}/bin/ .include