aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2023-01-24 14:21:22 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2023-01-24 14:25:44 +0000
commit22d291bffeadf36da534664df1535074dca87c7e (patch)
tree7489348a48c20fa7cc10561eacb7588f86ca3415
parent9222ec292a4ec8de09ca4b8eda7b2e52ca9231fb (diff)
downloadports-22d291bffeadf36da534664df1535074dca87c7e.tar.gz
ports-22d291bffeadf36da534664df1535074dca87c7e.zip
x11/mlterm: Install mlterm.desktop
PR: 269108
-rw-r--r--x11/mlterm/Makefile5
-rw-r--r--x11/mlterm/files/mlterm.desktop18
-rw-r--r--x11/mlterm/pkg-plist1
3 files changed, 23 insertions, 1 deletions
diff --git a/x11/mlterm/Makefile b/x11/mlterm/Makefile
index e1e10cc53f67..f6c4fbe0bd15 100644
--- a/x11/mlterm/Makefile
+++ b/x11/mlterm/Makefile
@@ -1,5 +1,6 @@
PORTNAME= mlterm
PORTVERSION= 3.9.2
+PORTREVISION= 1
CATEGORIES= x11
MAINTAINER= nobutaka@FreeBSD.org
@@ -12,7 +13,7 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libharfbuzz.so:print/harfbuzz
-USES= cpe gettext gnome libtool perl5 pkgconfig xorg
+USES= cpe desktop-file-utils gettext gnome libtool perl5 pkgconfig xorg
USE_GITHUB= yes
USE_GNOME= cairo gdkpixbuf2 gtk20 vte
USE_LDCONFIG= yes
@@ -87,5 +88,7 @@ post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/ja/README.ja ${STAGEDIR}${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DESKTOPDIR}
+ ${INSTALL_DATA} ${FILESDIR}/mlterm.desktop ${STAGEDIR}${DESKTOPDIR}
.include <bsd.port.mk>
diff --git a/x11/mlterm/files/mlterm.desktop b/x11/mlterm/files/mlterm.desktop
new file mode 100644
index 000000000000..eaa972adb84f
--- /dev/null
+++ b/x11/mlterm/files/mlterm.desktop
@@ -0,0 +1,18 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=mlterm
+Name[en]=mlterm
+Name[ja]=mlterm
+GenericName=Terminal
+GenericName[en]=Terminal
+GenericName[ja]=端末
+Comment=Multi-lingual Terminal Emulater
+Comment[en]=Multi-lingual Terminal Emulater
+Comment[ja]=多言語対応端末
+Categories=System;TerminalEmulator;
+Keywords=console;command line;execute;
+Keywords[en]=console;command line;execute;
+Keywords[ja]=コンソール;コマンドライン;実行;
+Exec=mlterm
+Icon=terminal
diff --git a/x11/mlterm/pkg-plist b/x11/mlterm/pkg-plist
index 29be6db3cde5..e28de9d648e9 100644
--- a/x11/mlterm/pkg-plist
+++ b/x11/mlterm/pkg-plist
@@ -109,6 +109,7 @@ man/man1/mlclient.1.gz
man/man1/mlterm.1.gz
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.ja
+share/applications/mlterm.desktop
share/locale/ar/LC_MESSAGES/mlconfig.mo
share/locale/de/LC_MESSAGES/mlconfig.mo
share/locale/ja/LC_MESSAGES/mlconfig.mo