summaryrefslogtreecommitdiff
path: root/devel/oq/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/oq/Makefile')
-rw-r--r--devel/oq/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/devel/oq/Makefile b/devel/oq/Makefile
new file mode 100644
index 000000000000..ca451458c1c0
--- /dev/null
+++ b/devel/oq/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= oq
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.0.20
+CATEGORIES= devel
+
+MAINTAINER= hoanga@gmail.com
+COMMENT= Terminal OpenAPI Spec viewer
+WWW= https://github.com/plutov/oq
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go:1.25,modules
+GO_MODULE= github.com/plutov/oq
+
+PLIST_FILES= bin/${PORTNAME}
+PORTEXAMPLES= *
+
+OPTIONS_DEFINE= EXAMPLES
+
+post-install-EXAMPLES-on:
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ cd ${WRKSRC}/examples && \
+ ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
+
+.include <bsd.port.mk>