blob: 240026931a4eff5e6fe994111d0c2742cd1948a2 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# Created by: Loïc Bartoletti <lbartoletti@tuxfamily.org>
# $FreeBSD$
PORTNAME= codeblocks
PORTVERSION= 17.07
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://download.tuxfamily.org/bartcoding/FreeBSD/ \
${MASTER_SITE_LOCAL}
PKGNAMESUFFIX= -devel
DISTNAME= ${PORTNAME}-${PORTVERSION}-${SVN_REV}
MAINTAINER= lbartoletti@tuxfamily.org
COMMENT= Open source, cross-platform, free C/C++ IDE
LICENSE= GPLv3 LGPL3
LICENSE_COMB= multi
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
USES= 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
PKG_CONFIG_LIBDIR= ${LOCALBASE}/libdata/pkgconfig
INSTALLS_ICONS= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
FETCH_DEPENDS+= svn:devel/subversion
SVN_REV= 11112
SVNROOT_URI= svn://svn.code.sf.net/p/codeblocks/code/trunk
.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
.if defined(MAINTAINER_MODE)
do-fetch:
${MKDIR} ${WRKDIR}
svn export -r ${SVN_REV} ${SVNROOT_URI} ${WRKSRC}
cd ${WRKDIR}; tar cvfz ${DISTDIR}/${DISTNAME}.tar.gz ${DISTNAME}
${CHMOD} ugo+r ${DISTDIR}/${DISTNAME}.tar.gz
scp -p ${DISTDIR}/${DISTNAME}.tar.bz2 \
freefall.freebsd.org:public_distfiles/
.endif # defined(MAINTAINER_MODE)
post-extract:
${TOUCH} ${WRKSRC}/revision.m4
.include <bsd.port.post.mk>
|