ports/devel/svn2git/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

43 lines
1.1 KiB
Makefile

# Created by: David Naylor <naylor.b.david@gmail.com>
# $FreeBSD$
PORTNAME= svn2git
PORTVERSION= 1.0.12
PORTREVISION= 2
CATEGORIES= devel kde
MAINTAINER= dbn@FreeBSD.org
COMMENT= Imports svn repositories into git
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libapr-1.so:devel/apr1 \
libsvn_client-1.so:devel/subversion
RUN_DEPENDS= git:devel/git \
p5-Term-ReadKey>=0:devel/p5-Term-ReadKey \
p5-subversion>=0:devel/p5-subversion
USES= compiler:c++11-lang qmake qt:5
USE_GITHUB= yes
USE_QT= core
GH_ACCOUNT= svn-all-fast-export
OPTIONS_DEFINE= FREEBSD_REPO
FREEBSD_REPO_DESC= FreeBSD-repo only mode
QMAKE_ARGS= SVN_INCLUDE=${LOCALBASE}/include/subversion-1 \
SVN_LIBDIR=${LOCALBASE}/lib \
APR_INCLUDE=${LOCALBASE}/include/apr-1
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>