Index: Makefile =================================================================== --- Makefile (revision 469279) +++ Makefile (working copy) @@ -24,7 +24,7 @@ USE_GNOME= cairo gtk20 intltool libxml2 USE_XORG= x11 USE_GITHUB= yes -MESON_ARGS= -Dwith-ssl=true -Dwith-gtk=true -Dwith-sysinfo=false +MESON_ARGS= -Dwith-ssl=true -Dwith-gtk=true INSTALLS_ICONS= yes INSTALL_TARGET= install-strip @@ -36,7 +36,7 @@ PORTDOCS= * OPTIONS_DEFINE= CA_BUNDLE CANBERRA DBUS DOCS FISHLIM LUA NOTIFY \ - PERL PYTHON TEXTFE + PERL PYTHON TEXTFE SYSINFO OPTIONS_DEFAULT= CA_BUNDLE CANBERRA DBUS NOTIFY PERL PYTHON @@ -46,6 +46,7 @@ CANBERRA_DESC= Audio support via Libcanberra FISHLIM_DESC= FiSHLiM plugin TEXTFE_DESC= Text frontend +SYSINFO_DESC= Sysinfo plugin CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss CA_BUNDLE_VARS= CA_BUNDLE="${LOCALBASE}/share/certs/ca-root-nss.crt" @@ -71,6 +72,7 @@ PYTHON_VARS+= SHEBANG_FILES=plugins/perl/generate_header.py PYTHON_VARS+= SHEBANG_FILES=src/common/make-te.py TEXTFE_MESON_TRUE= with-text +SYSINFO_MESON_TRUE= with-sysinfo post-patch: @${REINPLACE_CMD} -e 's|%%CA_BUNDLE%%|${CA_BUNDLE}|' \ Index: files/patch-plugins_sysinfo_meson.build =================================================================== --- files/patch-plugins_sysinfo_meson.build (nonexistent) +++ files/patch-plugins_sysinfo_meson.build (working copy) @@ -0,0 +1,18 @@ +--- plugins/sysinfo/meson.build.orig 2018-05-07 13:58:41 UTC ++++ plugins/sysinfo/meson.build +@@ -13,13 +13,13 @@ sysinfo_includes = [] + sysinfo_cargs = [] + + system = host_machine.system() +-if system == 'linux' or system == 'darwin' ++if system == 'linux' or system == 'darwin' or system == 'freebsd' + sysinfo_includes += 'shared' + sysinfo_sources += [ + 'shared/df.c' + ] + +- if system == 'linux' ++ if system == 'linux' or system == 'freebsd' + libpci = dependency('libpci', required: false, method: 'pkg-config') + if libpci.found() + sysinfo_deps += libpci Property changes on: files/patch-plugins_sysinfo_meson.build ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: pkg-plist =================================================================== --- pkg-plist (revision 469279) +++ pkg-plist (working copy) @@ -6,6 +6,7 @@ %%PERL%%lib/hexchat/plugins/perl.so %%PYTHON%%lib/hexchat/plugins/python.so %%LUA%%%%LUA_LIBDIR%%/hexchat/plugins/lua.so +%%SYSINFO%%lib/hexchat/plugins/sysinfo.so libdata/pkgconfig/hexchat-plugin.pc man/man1/hexchat.1.gz share/metainfo/io.github.Hexchat.appdata.xml