head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	2026.11.19.21.48.03;	author agc;	state Exp;
branches;
next	;
commitid	n8gPIjPdJCYPp74H;


desc
@@


1.1
log
@devel/stringswitch: Add version 20261119 version of stringswitch package to devel category

	This is stringswitch, which calculates numeric values for strings.
	Using these numeric values, strings can be used as part of switch
	statements. Dispatcher functions can then be used to process
	strings in an efficient manner. In normal use, compilers will
	flag any hash collisions at compile-time, which removes a large
	class of bugs.
@
text
@# $NetBSD: Makefile,v 1.6 2026/11/19 01:18:03 agc Exp $

DISTNAME=		stringswitch-${VERSION}
VERSION=		20261119
CATEGORIES=		devel
MASTER_SITES=		-${MASTER_SITE_CODEBERG:=agc-codeberg/stringswitch/archive/${VERSION}.tar.gz}

MAINTAINER=		agc@@NetBSD.org
HOMEPAGE=		https://codeberg.org/agc-codeberg/stringswitch/
COMMENT=		Use strings in C switch statements
LICENSE=		mit

WRKSRC=			${WRKDIR}/stringswitch/dist

USE_LANGUAGES=		c

GNU_CONFIGURE=		yes
AUTO_MKDIRS=		yes
TEST_TARGET=		t

_WRAP_EXTRA_ARGS.CC+=	${_RELRO_LDFLAGS}
CWRAPPERS_PREPEND.cc+=	${_RELRO_LDFLAGS}

.include "../../mk/bsd.pkg.mk"
@
