summaryrefslogtreecommitdiff
path: root/devel/compdbgen/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/compdbgen/Makefile')
-rw-r--r--devel/compdbgen/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/devel/compdbgen/Makefile b/devel/compdbgen/Makefile
new file mode 100644
index 000000000000..275233fc3148
--- /dev/null
+++ b/devel/compdbgen/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= compdbgen
+DISTVERSION= g20250914
+CATEGORIES= devel
+
+MAINTAINER= jrm@FreeBSD.org
+COMMENT= General-purpose tool for generating compile_commands.json files
+WWW= https://github.com/Virus-V/compdbgen
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USE_GITHUB= yes
+GH_ACCOUNT= Virus-V
+GH_TAGNAME= d839843448cbcf7ff394dcd32df586a0ab9aa156
+GH_TUPLE= DaveGamble:cJSON:c859b25da02955fef659d658b8f324b5cde87be3:cJSONS/cjson
+
+PLIST_FILES= bin/${PORTNAME}
+
+do-build:
+ @cd ${WRKSRC}/ && ${SH} ./build.sh
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>