freebsd-ports/devel/svn2git/Makefile
David Naylor a39d5573ba Update my ports to be compliant with new USES framework and fix other issues.
Changes:
 * various: migrate USE_BZIP2 to USES=tar:bzip2
 * various: migrate USE_XZ to USES=tar:xz
 * multimedia/py-ffmpeg: add and prefer github (GH) as master site
 * ports-mgmt/portbuilder: specify license as BSD2CLAUSE (instead of just BSD)

Most ports are updated infrequently so a single batch commit is preferred over
collating changes per port.
2014-04-24 20:11:01 +00:00

39 lines
904 B
Makefile

# Created by: David Naylor <naylor.b.david@gmail.com>
# $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 <bsd.port.options.mk>
.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 <bsd.port.mk>