diff --git a/net-im/sshout/Makefile b/net-im/sshout/Makefile index a09877564ad6..2dd6b22ff566 100644 --- a/net-im/sshout/Makefile +++ b/net-im/sshout/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= sshout -DISTVERSION= 1.1.1 +DISTVERSION= 1.2.0 CATEGORIES= net-im MASTER_SITES= SF/sshout/${PORTNAME}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-src @@ -28,12 +28,25 @@ USE_RC_SUBR= sshout USERS= sshout GROUPS= sshout -PLIST_FILES= libexec/sshoutd \ - man/man8/sshoutcfg.8.gz \ - sbin/sshoutcfg +OPTIONS_DEFINE= NLS IRC +OPTIONS_DEFAULT= NLS +OPTIONS_GROUP= SUGGESTED +OPTIONS_GROUP_SUGGESTED=XCLIP -OPTIONS_DEFINE= IRC -IRC_DESC= Enable the experimental IRC over SSH frontend -IRC_CPPFLAGS= -DENABLE_IRC_FRONTEND +SUGGESTED_DESC= Suggested ports +XCLIP_DESC= Add dependency to xclip(1) for CLI pasteimage support +NLS_USES= gettext +NLS_MAKE_ENV= NLS_LIBS="-l intl" +NLS_MAKE_ENV_OFF= NO_NLS=1 +IRC_DESC= Experimental IRC over SSH frontend +IRC_CPPFLAGS= -D ENABLE_IRC_FRONTEND=1 + +OPTIONS_SUB= yes + +.include + +.if ${PORT_OPTIONS:MXCLIP} +RUN_DEPENDS+= ${LOCALBASE}/bin/xclip:x11/xclip +.endif .include diff --git a/net-im/sshout/distinfo b/net-im/sshout/distinfo index dc49e481be23..d0f80eca969f 100644 --- a/net-im/sshout/distinfo +++ b/net-im/sshout/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1591368397 -SHA256 (sshout-1.1.1-src.tar.bz2) = 88144d2e8782c5f06339f94977168509b36d33376b25c91a97b02bdd18302206 -SIZE (sshout-1.1.1-src.tar.bz2) = 37676 +TIMESTAMP = 1599058479 +SHA256 (sshout-1.2.0-src.tar.bz2) = ced431585228186e5029f2c4cff76802b76eb6389fe78d5e9c14b0289a535b22 +SIZE (sshout-1.2.0-src.tar.bz2) = 45150 diff --git a/net-im/sshout/pkg-message b/net-im/sshout/pkg-message index 607b02b2e812..454cb7bc8b69 100644 --- a/net-im/sshout/pkg-message +++ b/net-im/sshout/pkg-message @@ -5,4 +5,9 @@ In order to start sshout service you need some more configuration: If you installed SSHOUT for the first time, use sshoutcfg(8) to add users. You must have SSH server running and accepting public key authentication. + +For HTML messages be properly displayed in CLI frontend, elinks(1) version +0.12 or later is required; however the ports tree currently doesn't have an +up-to-date elinks version available. You will have to install the required +version manually, if such support is needed. #### END diff --git a/net-im/sshout/pkg-plist b/net-im/sshout/pkg-plist new file mode 100644 index 000000000000..5812e24f4f0f --- /dev/null +++ b/net-im/sshout/pkg-plist @@ -0,0 +1,5 @@ +libexec/sshoutd +man/man8/sshoutcfg.8.gz +sbin/sshoutcfg +%%NLS%%share/locale/zh_CN/LC_MESSAGES/sshout.mo +%%NLS%%share/locale/zh_TW/LC_MESSAGES/sshout.mo