head	1.1;
access;
symbols
	pkgsrc-2026Q1:1.1.0.10
	pkgsrc-2026Q1-base:1.1
	pkgsrc-2025Q4:1.1.0.8
	pkgsrc-2025Q4-base:1.1
	pkgsrc-2025Q3:1.1.0.6
	pkgsrc-2025Q3-base:1.1
	pkgsrc-2025Q2:1.1.0.4
	pkgsrc-2025Q2-base:1.1
	pkgsrc-2025Q1:1.1.0.2
	pkgsrc-2025Q1-base:1.1;
locks; strict;
comment	@# @;


1.1
date	2025.02.21.21.24.33;	author ktnb;	state Exp;
branches;
next	;
commitid	cJPpaDsuEtcGJnKF;


desc
@@


1.1
log
@stumpwm: add version 24.11

StumpWM is a window manager written entirely in Common Lisp. It
attempts to be highly customizable while relying entirely on the
keyboard for input. You will not find buttons, icons, title bars,
tool bars, or any of the other conventional GUI widgets. StumpWM
attempts to be customizable yet visually minimal. There are no
window decorations, no icons, and no buttons. It does have various
hooks to attach your personal customizations, and variables to
tweak.
@
text
@# $NetBSD$

DISTNAME=	stumpwm-24.11
CATEGORIES=	wm
MASTER_SITES=	${MASTER_SITE_GITHUB:=stumpwm/}
GITHUB_TAG=	${PKGVERSION_NOREV}
DIST_SUBDIR=	stumpwm

MAINTAINER=	ktnb@@NetBSD.org
HOMEPAGE=	https://stumpwm.github.io/
COMMENT=	Tiling, keyboard driven window manager written in Common Lisp
LICENSE=	gnu-gpl-v2

PPCRE_VERSION=		2.1.2
CLX_VERSION=		0.7.6
ALEXANDRIA_VERSION=	1.4

DISTFILES=	${DEFAULT_DISTFILES}
DISTFILES+=	cl-ppcre-${PPCRE_VERSION}.tar.gz
DISTFILES+=	cl-clx-${CLX_VERSION}.tar.gz
DISTFILES+=	alexandria-${ALEXANDRIA_VERSION}.tar.gz

SITES.cl-ppcre-${PPCRE_VERSION}.tar.gz= \
	-https://github.com/edicl/cl-ppcre/archive/refs/tags/v${PPCRE_VERSION}.tar.gz
SITES.cl-clx-${CLX_VERSION}.tar.gz= \
	-https://github.com/sharplispers/clx/archive/refs/tags/${CLX_VERSION}.tar.gz
SITES.alexandria-${ALEXANDRIA_VERSION}.tar.gz= \
	-https://gitlab.common-lisp.net/alexandria/alexandria/-/archive/v${ALEXANDRIA_VERSION}/alexandria-v${ALEXANDRIA_VERSION}.tar.gz

USE_TOOLS=	autoconf gmake makeinfo
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-compression
INFO_FILES=	yes

DEPENDS+=	sbcl-[0-9]*:../../lang/sbcl

MAKE_ENV=	CL_SOURCE_REGISTRY=${WRKSRC}
MAKE_ENV+=	ASDF_OUTPUT_TRANSLATIONS=/:

MAKE_JOBS_SAFE=		NO
MKPIE_SUPPORTED=	no

SUBST_CLASSES+=		destdir
SUBST_SED.destdir+=	-e "s,destdir,DESTDIR,g"
SUBST_FILES.destdir+=	Makefile
SUBST_STAGE.destdir=	pre-build
SUBST_MESSAGE.destdir=	Use the real destdir

# Use symlinks so ASDF finds system dependencies
pre-configure:
	find ${WRKDIR} -type f -name \*.asd -a \! -name stumpwm.asd \
		-exec ln -s {} ${WRKSRC} \;
	cd ${WRKSRC} && ./autogen.sh

# Warning shouldn't fail the build
# https://bugs.launchpad.net/sbcl/+bug/2090967
pre-build:
	${ECHO} '(declaim (sb-ext:muffle-conditions cl:warning))' \
		> ${WRKDIR}/.home/.sbclrc

.include "../../archivers/zstd/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@
