diff options
Diffstat (limited to 'devel/oq/Makefile')
-rw-r--r-- | devel/oq/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/devel/oq/Makefile b/devel/oq/Makefile new file mode 100644 index 000000000000..1ced5f55bb2f --- /dev/null +++ b/devel/oq/Makefile @@ -0,0 +1,27 @@ +PORTNAME= oq +DISTVERSIONPREFIX= v +DISTVERSION= 0.0.20 +PORTREVISION= 1 +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> |