Update devel/critcl to version 3.1.17
[dports.git] / devel / codeblocks / Makefile
1 # Created by: Matthias Sund <m.sund@arcor.de>
2 # $FreeBSD$
3
4 PORTNAME=       codeblocks
5 PORTVERSION=    16.01
6 PORTREVISION=   6
7 CATEGORIES=     devel
8 MASTER_SITES=   SF/${PORTNAME}/Sources/${PORTVERSION}
9 DISTNAME=       ${PORTNAME}_${PORTVERSION}
10
11 MAINTAINER=     lbartoletti@tuxfamily.org
12 COMMENT=        Open source, cross-platform, free C/C++ IDE
13
14 LICENSE=        GPLv3 LGPL3
15 LICENSE_COMB=   multi
16
17 BUILD_DEPENDS=  zip:archivers/zip
18 LIB_DEPENDS=    libboost_system.so:devel/boost-libs \
19                 libfontconfig.so:x11-fonts/fontconfig \
20                 libfreetype.so:print/freetype2 \
21                 libhunspell-1.6.so:textproc/hunspell
22
23 USES=           autoreconf compiler desktop-file-utils fam:gamin localbase \
24                 gettext-runtime libtool pathfix pkgconfig shared-mime-info
25 USE_WX=         2.8
26 USE_GNOME=      gtk20 cairo
27 USE_XORG=       x11
28 GNU_CONFIGURE=  yes
29 CONFIGURE_ARGS= --with-wx-config=${WX_CONFIG} --with-contrib-plugins=all \
30                 --disable-pch
31 PKG_CONFIG_LIBDIR=      ${LOCALBASE}/libdata/pkgconfig
32 INSTALLS_ICONS= yes
33 INSTALL_TARGET= install-strip
34 USE_LDCONFIG=   yes
35
36 WRKSRC=         ${WRKDIR}/${PORTNAME}-${PORTVERSION}.release
37
38 .include <bsd.port.pre.mk>
39
40 .if ${CHOSEN_COMPILER_TYPE} == clang
41 USE_CXXSTD=     c++11
42 . if ${COMPILER_VERSION} >= 35
43 CXXFLAGS+=      -Wno-undefined-bool-conversion
44 . endif
45 .endif
46
47 .include <bsd.port.post.mk>