diff --git a/editors/micro/Makefile b/editors/micro/Makefile index b04dffe0674c..a3e5b34c8307 100644 --- a/editors/micro/Makefile +++ b/editors/micro/Makefile @@ -1,58 +1,57 @@ PORTNAME= micro DISTVERSIONPREFIX= v -DISTVERSION= 2.0.11 -PORTREVISION= 12 +DISTVERSION= 2.0.12 CATEGORIES= editors MAINTAINER= lcook@FreeBSD.org COMMENT= Modern and intuitive terminal-based text editor WWW= https://micro-editor.github.io/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= desktop-file-utils go:modules _BUILD_VERSION= ${DISTVERSION} -_BUILD_HASH= 225927b +_BUILD_HASH= c2cebaa _BUILD_DATE= $$(date '+%B %d, %Y') _BUILD_DEBUG= OFF GO_MODULE= github.com/zyedidia/${PORTNAME}/v2 GO_TARGET= ./cmd/${PORTNAME} GO_BUILDFLAGS= -ldflags "\ -s -w \ -X ${GO_MODULE}/internal/util.Version=${_BUILD_VERSION} \ -X ${GO_MODULE}/internal/util.CommitHash=${_BUILD_HASH} \ -X '${GO_MODULE}/internal/util.CompileDate=${_BUILD_DATE}' \ -X ${GO_MODULE}/internal/util.Debug=${_BUILD_DEBUG}" PLIST_FILES= bin/micro \ share/applications/micro.desktop \ share/man/man1/micro.1.gz \ share/pixmaps/micro-logo-drop.svg \ share/pixmaps/micro-logo-mark.svg \ share/pixmaps/micro-logo.svg PORTDOCS= README.md OPTIONS_DEFINE= DEBUG DOCS DEBUG_DESC= Enable debug logging DEBUG_VARS= _BUILD_DEBUG=ON pre-build: cd ${GO_WRKSRC} && ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} generate ./runtime post-install: ${INSTALL_DATA} ${WRKSRC}/assets/packaging/micro.1 \ ${STAGEDIR}${MANPREFIX}/share/man/man1 ${INSTALL_DATA} ${WRKSRC}/assets/packaging/micro.desktop \ ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/assets/*.svg \ ${STAGEDIR}${PREFIX}/share/pixmaps post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/editors/micro/distinfo b/editors/micro/distinfo index 6f2a58894752..ee8f59807f8a 100644 --- a/editors/micro/distinfo +++ b/editors/micro/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1685775676 -SHA256 (go/editors_micro/micro-v2.0.11/v2.0.11.mod) = 0147a15cf1779538d0609c072b59ff367f44e4599a566a153818ebd1e0455118 -SIZE (go/editors_micro/micro-v2.0.11/v2.0.11.mod) = 1148 -SHA256 (go/editors_micro/micro-v2.0.11/v2.0.11.zip) = fda5ce58ebf12f4450086947d149befa6a1ff703f08e8f3d744424fafdacda6f -SIZE (go/editors_micro/micro-v2.0.11/v2.0.11.zip) = 679101 +TIMESTAMP = 1694957512 +SHA256 (go/editors_micro/micro-v2.0.12/v2.0.12.mod) = bf4f77650010e8ab3299661cfc1eab666a9897f1b9db4e7b75fe2cd1a1f254c1 +SIZE (go/editors_micro/micro-v2.0.12/v2.0.12.mod) = 1146 +SHA256 (go/editors_micro/micro-v2.0.12/v2.0.12.zip) = 7c7fd8b05b1d5e5ebb2804dd41510e141c7df1237ac84814064e9e2f2a32a4ef +SIZE (go/editors_micro/micro-v2.0.12/v2.0.12.zip) = 696389