Files
ports/lang/apl/Makefile
T
sthen 1b13452762 reset bcallah maintainer lines, quite a lot of timeouts which make it
tricky for others to work on the ports tree, this will also bring more
visible to portroach of those which are outdated
2026-02-11 15:12:24 +00:00

58 lines
1.7 KiB
Makefile

COMMENT = interpreter for the programming language APL
DISTNAME = apl-1.9pl20250903
REVISION = 1
CATEGORIES = lang
SHARED_LIBS += _sql 0.0 # 0.0
SHARED_LIBS += emacs 1.0 # 1.0
HOMEPAGE = https://www.gnu.org/software/apl/
# GPLv3+
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} X11 Xcomposite Xcursor Xdamage Xext
WANTLIB += Xfixes Xi Xinerama Xrandr Xrender atk-1.0 atk-bridge-2.0
WANTLIB += c cairo cairo-gobject curses epoxy execinfo expat ffi
WANTLIB += fftw3 fontconfig freetype fribidi gdk-3 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 graphite2
WANTLIB += gtk-3 harfbuzz iconv intl m pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre2-8 pcre2-32 pixman-1 png xcb xcb-render
WANTLIB += xcb-shm z Xau Xdmcp jpeg
WANTLIB += atspi dbus-1 epoll-shim wayland-client wayland-cursor
WANTLIB += wayland-egl xkbcommon
DEBUG_PACKAGES = ${BUILD_PACKAGES}
COMPILER = base-clang ports-gcc
CXXFLAGS_base-clang = -std=c++14
# Go back to ${SITE_GNU:apl/} next release
# This is a stopgap to deal with libc++19
SITES = https://github.com/ibara/ports/releases/download/v1.0/
LIB_DEPENDS = devel/pcre2 \
math/fftw3 \
x11/gtk+3
RUN_DEPENDS = fonts/apl-fonts
AUTOCONF_VERSION = 2.71
AUTOMAKE_VERSION = 1.16
CONFIGURE_STYLE = autoreconf
CONFIGURE_ARGS += --without-sqlite3 \
--without-postgresql
CONFIGURE_ENV += CXX_WERROR=no \
CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lexecinfo"
USE_GMAKE = Yes
FAKE_FLAGS = sysconfdir=${PREFIX}/share/examples/apl
pre-configure:
sed -i 's,-O2,,g' ${WRKSRC}/configure \
${WRKSRC}/src/{APs,native}/Makefile.in
.include <bsd.port.mk>