diff --git a/x11/mlterm/Makefile b/x11/mlterm/Makefile index e1e10cc53f67..f6c4fbe0bd15 100644 --- a/x11/mlterm/Makefile +++ b/x11/mlterm/Makefile @@ -1,91 +1,94 @@ PORTNAME= mlterm PORTVERSION= 3.9.2 +PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= nobutaka@FreeBSD.org COMMENT= Multilingual X11 terminal emulator WWW= http://mlterm.sourceforge.net/ LICENSE= BSD3CLAUSE 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 USE_PERL5= build USE_XORG= sm x11 xft GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-gui=x11 --with-imagelib=gdk-pixbuf2 --enable-utmp \ --enable-optimize-redrawing --disable-iiimf --with-gtk=2.0 \ --disable-ssh2 EXTERNAL_TOOLS= mlclient,mlconfig,mlterm-menu,mlcc,w3mmlconfig,mlimgloader CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lintl MAKE_JOBS_UNSAFE= yes GH_ACCOUNT= arakiken OPTIONS_DEFINE= CAIRO DOCS FCITX FRIBIDI IBUS M17NLIB REGIS SCIM SIXEL UIM OPTIONS_SUB= yes CAIRO_DESC= Use Cairo for type engine (experimental) FCITX_DESC= Fcitx support (experimental) FRIBIDI_DESC= Use Fribidi for BiDi rendering IBUS_DESC= IBUS support (experimental) M17NLIB_DESC= m17n library support (experimental) REGIS_DESC= ReGIS graphics support SCIM_DESC= SCIM support (experimental) SIXEL_DESC= Sixel graphics support UIM_DESC= uim support (experimental) FCITX_CONFIGURE_ENABLE= fcitx FCITX_LIB_DEPENDS= libfcitx-gclient.so:chinese/fcitx FRIBIDI_CONFIGURE_ENABLE= fribidi FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi UIM_CONFIGURE_ENABLE= uim UIM_LIB_DEPENDS= libuim.so:textproc/uim M17NLIB_CONFIGURE_ENABLE= m17nlib M17NLIB_LIB_DEPENDS= libm17n.so:devel/m17n-lib SCIM_CONFIGURE_ENABLE= scim SCIM_LIB_DEPENDS= libscim-1.0.so:textproc/scim IBUS_CONFIGURE_ENABLE= ibus IBUS_LIB_DEPENDS= libibus-1.0.so:textproc/ibus CAIRO_LIB_DEPENDS= libcairo.so:graphics/cairo CAIRO_CONFIGURE_ON= --with-type-engines="xcore,xft,cairo" CAIRO_CONFIGURE_OFF= --with-type-engines="xcore,xft" SIXEL_CONFIGURE_ENABLE= sixel REGIS_USES= sdl REGIS_USE= SDL=ttf .include .if ${PORT_OPTIONS:MREGIS} EXTERNAL_TOOLS+=,registobmp .endif CONFIGURE_ARGS+=--with-tools="${EXTERNAL_TOOLS}" post-configure: @${REINPLACE_CMD} -e "s,@CGI_BIN@,${PREFIX}/libexec/w3mmlconfig," \ -e "s,@PERL @,${PERL}," \ ${WRKSRC}/tool/w3mmlconfig/mlconfig.cgi post-install: (cd ${WRKSRC}/tool/w3mmlconfig && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) ${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 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 @@ -1,128 +1,129 @@ bin/mlcc bin/mlterm bin/mlclient bin/mlclientx bin/w3mmlconfig etc/mlterm/aafont etc/mlterm/color etc/mlterm/font etc/mlterm/font-fb etc/mlterm/key etc/mlterm/main etc/mlterm/menu etc/mlterm/taafont etc/mlterm/termcap etc/mlterm/tfont etc/mlterm/vaafont etc/mlterm/vfont etc/mlterm/xim lib/libmef.a lib/libmef.so lib/libmef.so.3 lib/libmef.so.3.0.1 lib/libmlterm_coreotl.a lib/libmlterm_coreotl.so lib/libpobl.a lib/libpobl.so lib/libpobl.so.2 lib/libpobl.so.2.0.1 lib/libvte-mlterm.a lib/libvte-mlterm.so lib/libvte-mlterm.so.9 lib/libvte-mlterm.so.9.0.0 lib/mef/libmef_8bits.a lib/mef/libmef_8bits.so lib/mef/libmef_jajp.a lib/mef/libmef_jajp.so lib/mef/libmef_kokr.a lib/mef/libmef_kokr.so lib/mef/libmef_zh.a lib/mef/libmef_zh.so lib/mlterm/libathena.a lib/mlterm/libathena.so lib/mlterm/libzmodem.a lib/mlterm/libzmodem.so %%FRIBIDI%%lib/mlterm/libctl_bidi.a %%FRIBIDI%%lib/mlterm/libctl_bidi.so lib/mlterm/libctl_iscii.a lib/mlterm/libctl_iscii.so %%FCITX%%lib/mlterm/libim-fcitx.a %%FCITX%%lib/mlterm/libim-fcitx.so %%IBUS%%lib/mlterm/libim-ibus.a %%IBUS%%lib/mlterm/libim-ibus.so lib/mlterm/libim-kbd.a lib/mlterm/libim-kbd.so lib/mlterm/libim-skk.a lib/mlterm/libim-skk.so lib/mlterm/libind_assamese.a lib/mlterm/libind_assamese.so lib/mlterm/libind_bengali.a lib/mlterm/libind_bengali.so lib/mlterm/libind_gujarati.a lib/mlterm/libind_gujarati.so lib/mlterm/libind_hindi.a lib/mlterm/libind_hindi.so lib/mlterm/libind_iitkeyb.a lib/mlterm/libind_iitkeyb.so lib/mlterm/libind_inscript.a lib/mlterm/libind_inscript.so lib/mlterm/libind_kannada.a lib/mlterm/libind_kannada.so lib/mlterm/libind_malayalam.a lib/mlterm/libind_malayalam.so lib/mlterm/libind_oriya.a lib/mlterm/libind_oriya.so lib/mlterm/libind_punjabi.a lib/mlterm/libind_punjabi.so lib/mlterm/libind_telugu.a lib/mlterm/libind_telugu.so %%M17NLIB%%lib/mlterm/libim-m17nlib.a %%M17NLIB%%lib/mlterm/libim-m17nlib.so %%SCIM%%lib/mlterm/libim-scim.a %%SCIM%%lib/mlterm/libim-scim.so %%UIM%%lib/mlterm/libim-uim.a %%UIM%%lib/mlterm/libim-uim.so lib/mlterm/libmotif.a lib/mlterm/libmotif.so lib/mlterm/libmozmodern.a lib/mlterm/libmozmodern.so lib/mlterm/libnext.a lib/mlterm/libnext.so lib/mlterm/libotl.a lib/mlterm/libotl.so lib/mlterm/libpixmap_engine.a lib/mlterm/libpixmap_engine.so lib/mlterm/libsample.a lib/mlterm/libsample.so %%CAIRO%%lib/mlterm/libtype_cairo.a %%CAIRO%%lib/mlterm/libtype_cairo.so lib/mlterm/libtype_xft.a lib/mlterm/libtype_xft.so libexec/mlterm/mlconfig libexec/mlterm/mlimgloader libexec/mlterm/mlterm-menu %%REGIS%%libexec/mlterm/registobmp libexec/w3mmlconfig/mlconfig-data.pl libexec/w3mmlconfig/mlconfig.cgi man/man1/mlcc.1.gz 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 share/locale/vi/LC_MESSAGES/mlconfig.mo share/locale/zh_TW/LC_MESSAGES/mlconfig.mo %%DATADIR%%/scrollbars/sample3/bg_body.png %%DATADIR%%/scrollbars/sample3/bg_bottom.png %%DATADIR%%/scrollbars/sample3/bg_top.png %%DATADIR%%/scrollbars/sample3/button_down.png %%DATADIR%%/scrollbars/sample3/button_down_pressed.png %%DATADIR%%/scrollbars/sample3/button_up.png %%DATADIR%%/scrollbars/sample3/button_up_pressed.png %%DATADIR%%/scrollbars/sample3/rc %%DATADIR%%/scrollbars/sample3/slider_body.png %%DATADIR%%/scrollbars/sample3/slider_bottom.png %%DATADIR%%/scrollbars/sample3/slider_knob.png %%DATADIR%%/scrollbars/sample3/slider_top.png