aboutsummaryrefslogtreecommitdiffstats
path: root/devel/subcommander2/Makefile
blob: a309aced6a8dc450b43dbeb4c0ef241f078d17fd (plain) (blame)
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
# Created by: Naram Qashat
# $FreeBSD$

PORTNAME=   subcommander
PORTVERSION=    2.0.0.b5.2
PORTREVISION=   8
CATEGORIES= devel
MASTER_SITES=   DEBIAN
DISTNAME=   ${PORTNAME}_${PORTVERSION:R:S,.b,~b,}p${PORTVERSION:E}.orig

MAINTAINER= ports@FreeBSD.org
COMMENT=    Qt4 based multiplatform subversion client, diff & merge tool

LICENSE=    GPLv2

LIB_DEPENDS=    libboost_thread.so:devel/boost-libs \
        libsvn_client-1.so:devel/subversion

CONFLICTS=  subcommander-1.*

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION:R:S,.b,b,}p${PORTVERSION:E}

USES=       autoreconf gmake dos2unix ssl
DOS2UNIX_GLOB=  *.cpp *.h
USE_QT4=    corelib gui network qt3support moc_build rcc_build uic_build
QT_NONSTANDARD= yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-boost=${LOCALBASE}/include \
        --with-subversion=${LOCALBASE} --with-qt=${PREFIX} \
        --with-apr=${LOCALBASE}/bin/apr-1-config \
        --with-apr-util=${LOCALBASE}/bin/apu-1-config \
        --with-openssl=${OPENSSLBASE}

CPPFLAGS+=  -I${QT_INCDIR} -I${LOCALBASE}/include
LDFLAGS+=   -L${QT_LIBDIR} -L${LOCALBASE}/lib

.include <bsd.port.mk>