freebsd-ports/devel/subcommander2/Makefile
Jeremy Messenger 113641e728 - Makes neon29 our default neon library. The neon 0.27.x to 0.29.x are API and
ABI backwards compatible. It is unnecessary to have more than one same
  libraries (ie: neon28 and neon29) as it creates issue in our ports tree such
  as CONFLICTS and made our Makefile complicate.
- Remove www/neonpp and www/neon28.
- Add USE_GNOME=ltverhack; it corrects the shared library version by change
  from libneon.so.29 to libneon.so.27. It won't get bump again with no reason
  unless ABI changes.
- Bump the PORTREVISION on all ports and chase the shared library change.
- Add info in the UPDATING for how to rebuild on all ports that depend on
  neon.

PR:		ports/148295
Approved by:	lev (maintainer timeout, no respone for months),
		portmgr
Tested by:	pointyhat-exp by pav
2010-07-30 22:14:49 +00:00

51 lines
1.4 KiB
Makefile

# New ports collection makefile for: subcommander2
# Date created: 6 August 2008
# Whom: Naram Qashat
#
# $FreeBSD$
#
PORTNAME= subcommander
PORTVERSION= 2.0.0.b5
PORTREVISION= 6
CATEGORIES= devel
MASTER_SITES= http://subcommander.tigris.org/files/documents/1759/46766/
DISTNAME= Subcommander-${PORTVERSION:S/.b/b/g}p1
MAINTAINER= cyberbotx@cyberbotx.com
COMMENT= Qt4 based multiplatform subversion client, diff & merge tool
LIB_DEPENDS= neon.27:${PORTSDIR}/www/neon29 \
boost_thread.4:${PORTSDIR}/devel/boost-libs \
svn_client-1.0:${PORTSDIR}/devel/subversion \
sasl2.2:${PORTSDIR}/security/cyrus-sasl2
LATEST_LINK= subcommander2
CONFLICTS= subcommander-1.*
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.b/b/g}
USE_DOS2UNIX= *.cpp
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_OPENSSL= yes
USE_QT_VER= 4
QT_COMPONENTS= qt3support gui network corelib moc_build uic_build rcc_build
CONFIGURE_ARGS+= --with-boost=${LOCALBASE}/include --with-neon=${LOCALBASE} \
--with-subversion=${LOCALBASE} --with-qt=${LOCALBASE} \
--with-apr=${LOCALBASE}/bin/apr-1-config \
--with-apr-util=${LOCALBASE}/bin/apu-1-config \
--with-openssl=${OPENSSLBASE}
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>