blob: 40dbac0af068db03362dcccb788e6a31a480fe5d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Created by: Matthias Sund <m.sund@arcor.de>
# $FreeBSD$
PORTNAME= codeblocks
PORTVERSION= 13.12
PORTREVISION= 5
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/Sources/${PORTVERSION}
DISTNAME= ${PORTNAME}_${PORTVERSION}-1
MAINTAINER= ports@FreeBSD.org
COMMENT= Open source, cross-platform, free C/C++ IDE
LICENSE= GPLv3 LGPL3
LICENSE_COMB= multi
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
LIB_DEPENDS= libboost_system.so:${PORTSDIR}/devel/boost-libs \
libhunspell-1.3.so:${PORTSDIR}/textproc/hunspell \
librsync.so:${PORTSDIR}/net/librsync
USES= compiler desktop-file-utils fam:gamin libtool pathfix \
pkgconfig shared-mime-info
USE_WX= 2.8
WX_UNICODE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-wx-config=${WX_CONFIG} --with-contrib-plugins=all \
--disable-pch
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lboost_system
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>
|