mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
836c2938d1
While here, pet portlint and do some other cleanup. Approved by: portmgr (tier-2 blanket)
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
# Created by: Matthias Sund <m.sund@arcor.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= codeblocks
|
|
PORTVERSION= 17.12
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF/${PORTNAME}/Sources/${PORTVERSION}
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
MAINTAINER= lbartoletti@tuxfamily.org
|
|
COMMENT= Open source, cross-platform, free C/C++ IDE
|
|
|
|
LICENSE= GPLv3 LGPL3
|
|
LICENSE_COMB= multi
|
|
|
|
BROKEN_powerpc64= fails to configure: checking for exit in -lboost_system-boost_system... no
|
|
|
|
BUILD_DEPENDS= zip:archivers/zip
|
|
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
|
|
libfontconfig.so:x11-fonts/fontconfig \
|
|
libfreetype.so:print/freetype2 \
|
|
libhunspell-1.6.so:textproc/hunspell \
|
|
libtinyxml.so:textproc/tinyxml
|
|
|
|
USES= tar:xz autoreconf compiler desktop-file-utils fam:gamin localbase \
|
|
gettext-runtime libtool pathfix pkgconfig shared-mime-info
|
|
USE_WX= 2.8
|
|
USE_GNOME= gtk20 cairo
|
|
USE_XORG= x11
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-wx-config=${WX_CONFIG} --with-contrib-plugins=all \
|
|
--disable-pch --with-boost-system=boost_system
|
|
PKG_CONFIG_LIBDIR= ${LOCALBASE}/libdata/pkgconfig
|
|
INSTALLS_ICONS= yes
|
|
INSTALL_TARGET= install-strip
|
|
USE_LDCONFIG= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${CHOSEN_COMPILER_TYPE} == clang
|
|
USE_CXXSTD= c++11
|
|
. if ${COMPILER_VERSION} >= 35
|
|
CXXFLAGS+= -Wno-undefined-bool-conversion
|
|
. endif
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|