freebsd-ports/devel/svn2git/Makefile
David Naylor 2dcd7267e2 devel/svn2git: bump port's minor version.
Adding the suffix '.a.20151201' to the port's version caused the port to
regress (i.e. the newer version in ports was actually considered older then
previous version in ports).  Bump the port's minor version in addition to
adding the suffix.
2015-12-16 06:30:28 +00:00

38 lines
941 B
Makefile

# Created by: David Naylor <naylor.b.david@gmail.com>
# $FreeBSD$
PORTNAME= svn2git
PORTVERSION= 1.0.11.a.20151201
CATEGORIES= devel kde
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_GITHUB= yes
USE_QT4= corelib
GH_ACCOUNT= svn-all-fast-export
GH_TAGNAME= d4ff0b2
OPTIONS_DEFINE= FREEBSD_REPO
FREEBSD_REPO_DESC= FreeBSD-repo only mode
PLIST_FILES= bin/svn2git
FREEBSD_REPO_EXTRA_PATCHES= ${PATCHDIR}/freebsd-export-patch
post-patch:
${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|" \
-e "s/VERSION = .*/VERSION = ${PORTVERSION}/" ${WRKSRC}/src/src.pro
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/svn2git ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>