Commit 7261d481 authored by pizzamig's avatar pizzamig
Browse files

devel/codeblocks-devel: new port

PR:		221703
Submitted by:	lbartoletti@tuxfamily.org
Approved by:	olivier (mentor)
Differential Revision:	https://reviews.freebsd.org/D12806
parent df877089
......@@ -329,6 +329,7 @@
SUBDIR += cobf
SUBDIR += coccinelle
SUBDIR += codeblocks
SUBDIR += codeblocks-devel
SUBDIR += codequery
SUBDIR += codesearch-py
SUBDIR += codeville
......
# Created by: Loïc Bartoletti <lbartoletti@tuxfamily.org>
# $FreeBSD$
PORTNAME= codeblocks
PORTVERSION= 17.07
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>
TIMESTAMP = 1502001608
SHA256 (codeblocks-17.07-11112.tar.gz) = 3cbdc23f9418e2eb45268840727167547cdc7261f498cc72f1087dbdeda8d0ef
SIZE (codeblocks-17.07-11112.tar.gz) = 20409815
--- revision.m4.orig 2017-08-06 08:11:38 UTC
+++ revision.m4
@@ -0,0 +1,3 @@
+m4_define([SVN_REV], 0)
+m4_define([SVN_REVISION], trunk-r0)
+m4_define([SVN_DATE], )
Code::Blocks is an open source, cross-platform and free C/C++ IDE.
It is build using the wxWidgets GUI library.
The WEB site states:
"Code::Blocks is a free C++ IDE built specifically to meet
the most demanding needs of its users. It was designed, right
from the start, to be extensible and configurable."
WWW: http://www.codeblocks.org/
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment