diff --git a/IMPORT b/IMPORT new file mode 100644 index 0000000..621ad37 --- /dev/null +++ b/IMPORT @@ -0,0 +1,10 @@ +# IMPORT -- where skilld comes from (root AGENTS.md, "What belongs where": ext/) + +upstream skilld, the project's own repository + https://git.kropa.tech/hiddenbox/skilld +version 0.1 (no release tag yet) +archive git archive of the submodule's commit (tools/ext-dist.sh), no tarball upstream +licence CNCL 1.0 (what Makronix wrote itself, root AGENTS.md "Licence") + -- the recipe's LICENSE= names it; SKIP_LICENSE_CHECK is set in + tools/pkgsrc-cross.mk.conf +pkgsrc recipe in pkgsrc/ of this tree; it becomes misc/skilld (tools/ext-sync.sh) diff --git a/pkgsrc/DESCR b/pkgsrc/DESCR new file mode 100644 index 0000000..f2be966 --- /dev/null +++ b/pkgsrc/DESCR @@ -0,0 +1,3 @@ +skilld is an MCP server for the skill library, written in C99/POSIX: skills +are kept as files under a git history, found by name or by search. A CGI front +end is lib/cgi-bin/skilld-http. diff --git a/pkgsrc/Makefile b/pkgsrc/Makefile new file mode 100644 index 0000000..35ec1f5 --- /dev/null +++ b/pkgsrc/Makefile @@ -0,0 +1,28 @@ +# $NetBSD$ +# +# Makronix: skilld is one of the project's own programs (ext/src/skilld, a git +# submodule; IMPORT). It is built from the archive tools/ext-dist.sh makes of +# the submodule's commit, so there is no MASTER_SITES. + +DISTNAME= skilld-0.1 +CATEGORIES= misc +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} + +MAINTAINER= lotherk@lother.io +COMMENT= MCP server for the skill library +LICENSE= cncl-1.0 + +NO_CONFIGURE= yes +NO_BUILDLINK= yes +BUILD_TARGET= all +INSTALL_TARGET= install + +MAKE_FLAGS+= PREFIX=${PREFIX} +MAKE_FLAGS+= DESTDIR=${DESTDIR} + +# The Makefile's CFLAGS default (-std=c99 ... -Werror) is replaced by the +# package's flags when pkgsrc puts CFLAGS in the environment: say the dialect +# again, and no -Werror -- a warning is not a reason to stop the build. +MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}\ -std=c99 + +.include "../../mk/bsd.pkg.mk" diff --git a/pkgsrc/PLIST b/pkgsrc/PLIST new file mode 100644 index 0000000..a9a277d --- /dev/null +++ b/pkgsrc/PLIST @@ -0,0 +1,2 @@ +bin/skilld +lib/cgi-bin/skilld-http