27 lines
487 B
Makefile
27 lines
487 B
Makefile
PORTNAME= oq
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.0.22
|
|
PORTREVISION= 7
|
|
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:modules
|
|
GO_MODULE= github.com/plutov/oq
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
PORTEXAMPLES= *
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
post-install-EXAMPLES-on:
|
|
cd ${WRKSRC}/examples && \
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|