Files
2026-03-10 08:23:45 +00:00

90 lines
2.8 KiB
Makefile
Executable File

BROKEN-alpha= sqvm.cpp:394:1: internal compiler error: Segmentation fault
COMMENT= Code::Blocks C/C++ IDE
V= 25.03
DISTNAME= codeblocks_${V}
PKGNAME= codeblocks-${V}
WRKSRC= ${WRKDIR}/codeblocks_${V}
REVISION= 1
EXTRACT_SUFX= .tar.xz
SITES= ${SITE_SOURCEFORGE:=codeblocks/Sources/${V}/}
DEBUG_PACKAGES=${BUILD_PACKAGES}
SHARED_LIBS += codeblocks 0.1 # 0.1
SHARED_LIBS += wxchartctrl 0.1 # 0.1
SHARED_LIBS += wxflatnotebook 0.1 # 0.1
SHARED_LIBS += wxcustombutton 0.1 # 0.1
SHARED_LIBS += wximagepanel 0.1 # 0.1
SHARED_LIBS += wxspeedbutton 0.1 # 0.1
SHARED_LIBS += wxkwic 0.1 # 0.1
SHARED_LIBS += wxled 0.1 # 0.1
SHARED_LIBS += wxsmithlib 0.1 # 0.1
SHARED_LIBS += wxmathplot 0.1 # 0.1
CATEGORIES= devel x11
DPB_PROPERTIES= parallel
MAINTAINER= Josh Grosse <josh@jggimi.net>
HOMEPAGE= https://www.codeblocks.org/
# GPLv3
PERMIT_PACKAGE= Yes
WANTLIB += ${COMPILER_LIBCXX} ICE SDL2 SM X11 Xau Xcomposite Xcursor
WANTLIB += Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr Xrender
WANTLIB += Xss Xtst Xxf86vm aspell atk-1.0 atk-bridge-2.0 atspi
WANTLIB += bz2 c cairo cairo-gobject crypto curl
WANTLIB += curses dbus-1 enchant-2 epoll-shim epoxy execinfo expat ffi
WANTLIB += fontconfig freetype fribidi gcrypt gdk-3 gdk_pixbuf-2.0 gio-2.0
WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 gpg-error graphite2
WANTLIB += gspell-1 gthread-2.0 gtk-3 harfbuzz hunspell-1.7 iconv
WANTLIB += icudata icuuc intl jpeg lzma Lerc m mspack nghttp2 nghttp3
WANTLIB += ngtcp2 ngtcp2_crypto_libressl notify pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre2-32 pcre2-8 pixman-1 png samplerate
WANTLIB += secret-1 sndio ssl tiff usbhid util wayland-client wayland-cursor
WANTLIB += wayland-egl wx_baseu-3.2 wx_baseu_net-3.2
WANTLIB += wx_baseu_xml-3.2 wx_gtk3u_aui-3.2 wx_gtk3u_core-3.2
WANTLIB += wx_gtk3u_html-3.2 wx_gtk3u_propgrid-3.2 wx_gtk3u_qa-3.2
WANTLIB += wx_gtk3u_richtext-3.2 wx_gtk3u_xrc-3.2 xcb xcb-render
WANTLIB += xcb-shm z zstd xkbcommon
BUILD_DEPENDS= archivers/zip \
devel/boost
LIB_DEPENDS= archivers/bzip2 \
textproc/hunspell \
x11/wxWidgets>=3.0.4
RUN_DEPENDS= devel/desktop-file-utils \
misc/shared-mime-info \
x11/gtk+4,-guic
# C++11
COMPILER = base-clang ports-gcc
AUTOCONF_VERSION= 2.71
AUTOMAKE_VERSION= 1.15
CONFIGURE_STYLE=autoreconf
AUTORECONF= ./bootstrap
CXXFLAGS += -std=c++11
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-contrib-plugins=all,-FileManager
CONFIGURE_ARGS += --enable-debug
pre-configure:
${SUBST_CMD} ${WRKSRC}/src/plugins/compilergcc/compilergcc.cpp
post-install:
find ${PREFIX}/share/codeblocks -type f -perm 444 \
-exec chmod 644 '{}' +
rm ${PREFIX}/lib/codeblocks/plugins/*.{a,la}
.include <bsd.port.mk>