61bcae45bc
PR: ports/146553 Submitted by: myself (pgollucci@) With Hat: apache@
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# New ports collection makefile for: qsvn
|
|
# Date created: 2007-11-17
|
|
# Whom: Max Brazhnikov <makc@issp.ac.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= qsvn
|
|
DISTVERSION= 0.8.1
|
|
DISTVERSIONSUFFIX= -src
|
|
PORTREVISION= 4
|
|
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_QT_VER= 4
|
|
QT_COMPONENTS= gui sql moc_build uic_build rcc_build qmake_build
|
|
USE_LDCONFIG= yes
|
|
USE_CMAKE= yes
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
|
|
|
DESKTOP_ENTRIES="QSvn" "SVN client" "qsvn.png" "qsvn" "" false
|
|
|
|
SVNQT_INCLUDE_DIR= include/svnqt4
|
|
PLIST_SUB= SVNQT_INCLUDE_DIR="${SVNQT_INCLUDE_DIR}"
|
|
|
|
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>
|