diff options
Diffstat (limited to 'devel/stc/Makefile')
-rw-r--r-- | devel/stc/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/devel/stc/Makefile b/devel/stc/Makefile new file mode 100644 index 000000000000..0144dd4420ee --- /dev/null +++ b/devel/stc/Makefile @@ -0,0 +1,33 @@ +PORTNAME= stc +DISTVERSIONPREFIX= v +DISTVERSION= 5.0 +CATEGORIES= devel +PKGNAMESUFFIX= -library + +MAINTAINER= alven@FreeBSD.org +COMMENT= Modern, user-friendly, generic, type-safe and fast C99 library +WWW= https://github.com/stclib/STC/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= meson +USE_GITHUB= yes +GH_ACCOUNT= stclib +GH_PROJECT= STC +USE_LDCONFIG= yes + +PORTDOCS= * +PORTEXAMPLES= * + +OPTIONS_DEFINE= DOCS EXAMPLES STATIC +OPTIONS_SUB= yes + +DOCS_MESON_ENABLED= docs +DOCS_MESON_ON= -Ddocsdir=${DOCSDIR} +EXAMPLES_MESON_ENABLED= examples +EXAMPLES_MESON_ON= -Dexamplesdir=${EXAMPLESDIR} +STATIC_MESON_ON= -Ddefault_library=both +STATIC_MESON_OFF= -Ddefault_library=shared + +.include <bsd.port.mk> |