5 MASTER_SITES= SF/${PORTNAME}/Sources/${PORTVERSION}
7 MAINTAINER= ports@FreeBSD.org
8 COMMENT= Open source, cross-platform, free C/C++ IDE
9 WWW= https://www.codeblocks.org/
14 BUILD_DEPENDS= zip:archivers/zip
15 LIB_DEPENDS= libboost_system.so:devel/boost-libs \
16 libfontconfig.so:x11-fonts/fontconfig \
17 libfreetype.so:print/freetype2 \
18 libhunspell-1.7.so:textproc/hunspell \
19 libtinyxml.so:textproc/tinyxml
21 USES= autoreconf compiler:c++11-lang desktop-file-utils \
22 fam:gamin gettext-runtime gnome libtool localbase \
23 pathfix pkgconfig shared-mime-info tar:xz xorg
25 USE_GNOME= gtk30 cairo
31 CONFIGURE_ARGS= --with-wx-config=${WX_CONFIG} --disable-pch \
32 --with-boost-system=boost_system
33 CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}"
35 PKG_CONFIG_LIBDIR= ${LOCALBASE}/libdata/pkgconfig
36 INSTALL_TARGET= install-strip
38 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
40 .include <bsd.port.pre.mk>
42 .if ${ARCH} != x86_64 && ${ARCH} != i386
43 CONFIGURE_ARGS+= --with-contrib-plugins=all,-dragscroll
44 PLIST_SUB= X86="@comment "
46 CONFIGURE_ARGS+= --with-contrib-plugins=all
50 .include <bsd.port.post.mk>