diff options
Diffstat (limited to 'editors/microsoft-edit/Makefile')
-rw-r--r-- | editors/microsoft-edit/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/editors/microsoft-edit/Makefile b/editors/microsoft-edit/Makefile index 97ea85cf8af0..26ff741b2bfa 100644 --- a/editors/microsoft-edit/Makefile +++ b/editors/microsoft-edit/Makefile @@ -1,7 +1,7 @@ PORTNAME= microsoft-edit DISTVERSIONPREFIX= v -DISTVERSION= 1.0.0 -PORTREVISION= 1 +DISTVERSION= 1.2.0 +PORTREVISION= 3 CATEGORIES= editors MAINTAINER= nobutaka@FreeBSD.org @@ -11,23 +11,17 @@ WWW= https://github.com/microsoft/edit LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cargo +USES= cargo desktop-file-utils USE_GITHUB= yes GH_ACCOUNT= microsoft GH_PROJECT= edit -BUILD_DEPENDS= rust-nightly>0:lang/rust-nightly -CARGO_BUILDDEP= no +CARGO_ENV+= RUSTC_BOOTSTRAP=1 PORTDOCS= CODE_OF_CONDUCT.md CONTRIBUTING.md README.md SECURITY.md OPTIONS_DEFINE= DOCS -PLIST_FILES= bin/edit \ - bin/msedit \ - share/man/man1/edit.1.gz \ - share/man/man1/msedit.1.gz - post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} @@ -36,5 +30,9 @@ post-install: ${RLN} ${STAGEDIR}${PREFIX}/bin/edit ${STAGEDIR}${PREFIX}/bin/msedit ${INSTALL_MAN} ${WRKSRC}/assets/manpage/edit.1 ${STAGEDIR}${PREFIX}/share/man/man1 ${RLN} ${STAGEDIR}${PREFIX}/share/man/man1/edit.1 ${STAGEDIR}${PREFIX}/share/man/man1/msedit.1 + ${MKDIR} ${STAGEDIR}${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/assets/com.microsoft.edit.desktop ${STAGEDIR}${PREFIX}/share/applications/ + ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps + ${INSTALL_DATA} ${WRKSRC}/assets/edit.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/msedit.svg .include <bsd.port.mk> |