summaryrefslogtreecommitdiff
path: root/net-im/sshout/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/sshout/Makefile')
-rw-r--r--net-im/sshout/Makefile48
1 files changed, 24 insertions, 24 deletions
diff --git a/net-im/sshout/Makefile b/net-im/sshout/Makefile
index 5746a4be1d48..f53a28192038 100644
--- a/net-im/sshout/Makefile
+++ b/net-im/sshout/Makefile
@@ -1,11 +1,10 @@
PORTNAME= sshout
-DISTVERSION= 1.2.0
-PORTREVISION= 2
+DISTVERSION= 1.3.0
CATEGORIES= net-im
-MASTER_SITES= SF/sshout/${PORTNAME}/
-DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/
+DISTNAME= ${PORTNAME}-${DISTVERSION}-src
-MAINTAINER= msl0000023508@gmail.com
+MAINTAINER= whr@rivoreo.one
COMMENT= Instant-messaging service based on SSH
WWW= https://sourceforge.net/projects/sshout/
@@ -14,41 +13,42 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmhash.so:security/mhash
-USES= tar:bz2 gmake readline
+USES= gmake iconv readline tar:bz2
+USE_RC_SUBR= ${PORTNAME}
-NO_WRKSUBDIR= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
-MAKE_ENV= LIBEXECDIR=\${PREFIX}/libexec \
- MANDIR=\${PREFIX}/share/man
+MAKE_ENV= ICONV_LIBS="${ICONV_LIB}" \
+ LIBEXECDIR=${PREFIX}/libexec \
+ MANDIR=${PREFIX}/share/man
-USE_RC_SUBR= sshout
+NO_WRKSUBDIR= yes
-USERS= sshout
-GROUPS= sshout
+USERS= ${PORTNAME}
+GROUPS= ${PORTNAME}
-OPTIONS_DEFINE= NLS IRC
+OPTIONS_DEFINE= IRC NLS
OPTIONS_DEFAULT= NLS
OPTIONS_GROUP= SUGGESTED
OPTIONS_GROUP_SUGGESTED=XCLIP ELINKS
-SUGGESTED_DESC= Suggested ports
+OPTIONS_SUB= yes
-XCLIP_DESC= Add dependency to xclip(1) for CLI pasteimage support
-XCLIP_RUN_DEPENDS= xclip:x11/xclip
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
-IRC_DESC= Experimental IRC over SSH frontend
-IRC_CPPFLAGS= -D ENABLE_IRC_FRONTEND=1
-
-OPTIONS_SUB= yes
+XCLIP_RUN_DEPENDS= xclip:x11/xclip
-.include <bsd.port.options.mk>
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/sshoutd \
+ ${STAGEDIR}${PREFIX}/sbin/sshoutcfg
.include <bsd.port.mk>