Files
ports/net-im/sshout/Makefile
T
WHR c0708e4a9a net-im/sshout: Update 1.2.0 => 1.3.0
Commit log:
https://src.rivoreo.one/net/sshout-daemon/+log/1.3.0

Improve port:
* Strip executable files.
* Update description.
* Update the maintainer's email address.
* Fix pkg-message.
* Parametrize sshout with ${PORTNAME} in MASTER_SITES, USE_RC_SUBR,
  USERS, GROUPS.
* Replace PORTVERSION with DISTVERSION in DISTNAME.
* Sort OPTIONS_DEFINE.
* Fix warnings from portclippy in order of options.
* Remove unnecessary ".include <bsd.port.options.mk>".

PR:		291826
Co-authored-by:	Vladimir Druzenko <vvd@FreeBSD.org>
2025-12-21 16:39:19 +03:00

55 lines
1.2 KiB
Makefile

PORTNAME= sshout
DISTVERSION= 1.3.0
CATEGORIES= net-im
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/
DISTNAME= ${PORTNAME}-${DISTVERSION}-src
MAINTAINER= whr@rivoreo.one
COMMENT= Instant-messaging service based on SSH
WWW= https://sourceforge.net/projects/sshout/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmhash.so:security/mhash
USES= gmake iconv readline tar:bz2
USE_RC_SUBR= ${PORTNAME}
MAKE_ENV= ICONV_LIBS="${ICONV_LIB}" \
LIBEXECDIR=${PREFIX}/libexec \
MANDIR=${PREFIX}/share/man
NO_WRKSUBDIR= yes
USERS= ${PORTNAME}
GROUPS= ${PORTNAME}
OPTIONS_DEFINE= IRC NLS
OPTIONS_DEFAULT= NLS
OPTIONS_GROUP= SUGGESTED
OPTIONS_GROUP_SUGGESTED=XCLIP ELINKS
OPTIONS_SUB= yes
ELINKS_DESC= Add dependency to elinks(1) for showing HTML messages in CLI
IRC_DESC= Experimental IRC over SSH frontend
SUGGESTED_DESC= Suggested ports
XCLIP_DESC= Add dependency to xclip(1) for CLI pasteimage support
ELINKS_RUN_DEPENDS= elinks>=0.12:www/elinks
IRC_CPPFLAGS= -D ENABLE_IRC_FRONTEND=1
NLS_USES= gettext
NLS_MAKE_ENV= NLS_LIBS="-l intl"
NLS_MAKE_ENV_OFF= NO_NLS=1
XCLIP_RUN_DEPENDS= xclip:x11/xclip
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/sshoutd \
${STAGEDIR}${PREFIX}/sbin/sshoutcfg
.include <bsd.port.mk>