1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/devel/kdesvn-kde4/Makefile
Matthias Andree 515db2ed10 Upgrade OpenEXR and ilmbase to 2.2.0.
GCC 4.2 in FreeBSD 8.X/9.X base is now too old to compile OpenEXR, so
GCC-based systems will upgrade to the default ports compiler (GCC 4.7
currently.)

Add two patches to OpenEXR to permit building it in a live system with
the older OpenEXR version installed. Bug report filed to upstream Github
at https://github.com/openexr/openexr/issues/130

Couple OpenEXR more tightly to ilmbase and require its exact .so
version.

Add UPDATING note, and bump PORTREVISION of all dependent ports.

Proto-STAGE hugin-devel, and mark it IGNORE because hugin is newer.

Approved by:	portmgr (implicit for bumping PORTREVISION on unstaged ports)
2014-08-15 20:37:31 +00:00

48 lines
1.1 KiB
Makefile

# Created by: Yuan Jue <yuanjue@yuanjue.net>
# $FreeBSD$
PORTNAME= kdesvn
DISTVERSION= 1.6.0
PORTREVISION= 3
CATEGORIES= devel kde
MASTER_SITES= http://kdesvn.alwins-world.de/downloads/
MAINTAINER= dbn@FreeBSD.org
COMMENT= KDE frontend for Subversion
LIB_DEPENDS= libsvn_client-1.so:${PORTSDIR}/devel/subversion
LICENSE= GPLv2
CONFLICTS= qsvn-[0-9]*
USES= cmake tar:bzip2
CMAKE_ARGS+= -DSUBVERSION_INCLUDE_DIR=${LOCALBASE}/include/subversion-1
USE_KDE4= kdelibs kdeprefix automoc4
USE_LDCONFIG= yes
USE_QT4= corelib gui xml network dbus svg qt3support sql \
qmake_build moc_build rcc_build uic_build linguist_build
OPTIONS_DEFINE= DOCS NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
${RM} ${WRKSRC}/src/kiosvn/svn*.protocol
.if empty(PORT_OPTIONS:MDOCS)
${ECHO} "ADD_SUBDIRECTORY(man)" > ${WRKSRC}/doc/CMakeLists.txt
.endif
.if empty(PORT_OPTIONS:MNLS)
${REINPLACE_CMD} -e 's,ADD_SUBDIRECTORY(po), ,g' \
${WRKSRC}/CMakeLists.txt
.endif
.include <bsd.port.mk>