PR: ports/133434 ports/133436 Submitted by: Naram Qashat <cyberbotx@cyberbotx.com> (maintainer) Approved by: tabthorpe (co-mentor)
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
# New ports collection makefile for: subcommander2
|
|
# Date created: 6 August 2008
|
|
# Whom: Naram Qashat
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= subcommander
|
|
DISTVERSION= 2.0.0.b4
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://subcommander.tigris.org/files/documents/1759/43367/
|
|
DISTNAME= Subcommander-${PORTVERSION:S/.b/b/g}
|
|
|
|
MAINTAINER= cyberbotx@cyberbotx.com
|
|
COMMENT= Qt4 based multiplatform subversion client, diff & merge tool
|
|
|
|
LIB_DEPENDS= neon.28:${PORTSDIR}/www/neon28 \
|
|
boost_thread.4:${PORTSDIR}/devel/boost \
|
|
svn_client-1.0:${PORTSDIR}/devel/subversion
|
|
|
|
CONFLICTS= subcommander-1.*
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.b/b/g}
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_QT_VER= 4
|
|
QT_COMPONENTS= qt3support gui network corelib moc_build uic_build rcc_build
|
|
CONFIGURE_ARGS+= --with-boost=${LOCALBASE} --with-neon=${LOCALBASE} \
|
|
--with-subversion=${LOCALBASE} --with-qt=${LOCALBASE} \
|
|
--with-apr=${LOCALBASE}/bin/apr-1-config \
|
|
--with-apr-util=${LOCALBASE}/bin/apu-1-config
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${LOCALBASE}/lib/qt4 ${PTHREAD_LIBS}"
|
|
|
|
post-extract:
|
|
@${CHMOD} +x ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 700000
|
|
BROKEN= Does not compile on 6.x
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|