summaryrefslogtreecommitdiff
path: root/devel/codeblocks/Makefile
blob: 785f5468d0ffc90473377cd59b397eb0a777462f (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
# Created by: Matthias Sund <m.sund@arcor.de>
# $FreeBSD$

PORTNAME=	codeblocks
PORTVERSION=	12.11
CATEGORIES=	devel
MASTER_SITES=	SF/${PORTNAME}/Sources/${PORTVERSION}
DISTNAME=	${PORTNAME}_${PORTVERSION}-1

MAINTAINER=	coder@tuxfamily.org
COMMENT=	Open source, cross-platform, free C/C++ IDE

LICENSE=	GPLv3 LGPL3
LICENSE_COMB=	multi

BUILD_DEPENDS=	zip:${PORTSDIR}/archivers/zip
LIB_DEPENDS=	boost_system:${PORTSDIR}/devel/boost-libs \
		hunspell:${PORTSDIR}/textproc/hunspell \
		rsync:${PORTSDIR}/net/librsync
RUN_DEPENDS=	update-mime-database:${PORTSDIR}/misc/shared-mime-info

USES=		pkgconfig
USE_WX=		2.8
WANT_UNICODE=	yes
USE_GNOME=	gnomehack desktopfileutils
GNU_CONFIGURE=	yes
INSTALLS_ICONS=	yes
USE_LDCONFIG=	yes

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}release8629

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

CONFIGURE_ARGS+=	--with-wx-config=${WX_CONFIG} --with-contrib-plugins=all

MAN1=	cb_console_runner.1 cb_share_config.1 codeblocks.1 codesnippets.1

.include <bsd.port.mk>