summaryrefslogtreecommitdiffstats
path: root/devel/qsvn/Makefile
blob: 2d87a7ab6ac32c2b48a7dfee628058e8d09a2c8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $FreeBSD$

PORTNAME=	qsvn
DISTVERSION=	0.8.1
DISTVERSIONSUFFIX=	-src
PORTREVISION=	6
CATEGORIES=	devel
MASTER_SITES=	http://www.anrichter.net/projects/qsvn/chrome/site/

MAINTAINER=	makc@FreeBSD.org
COMMENT=	Qt based GUI frontend for Subversion

LIB_DEPENDS+=	svn_client-1:${PORTSDIR}/devel/subversion

USE_QT4=	gui sql moc_build uic_build rcc_build qmake_build
USE_LDCONFIG=	yes
USES=		cmake

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src

DESKTOP_ENTRIES="QSvn" "SVN client" "${PREFIX}/share/pixmaps/qsvn.png" \
		"qsvn" "Development;RevisionControl;Qt;" false

SVNQT_INCLUDE_DIR=	include/svnqt4
PLIST_SUB=	SVNQT_INCLUDE_DIR="${SVNQT_INCLUDE_DIR}"

NO_STAGE=	yes
pre-configure:
	${REINPLACE_CMD} -e 's,include/svnqt,${SVNQT_INCLUDE_DIR},g' \
		${WRKSRC}/svnqt/CMakeLists.txt
	${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
		${WRKSRC}/svnqt/cmakemodules/FindSubversion.cmake

post-install:
	${INSTALL_DATA} ${WRKSRC}/images/qsvn.png ${PREFIX}/share/pixmaps/

.include <bsd.port.mk>
OpenPOWER on IntegriCloud