blob: e34b2dcc479fa6fa5f4edd87ec32fb6283d00cc6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
PORTNAME= sshout
DISTVERSION= 1.2.0
CATEGORIES= net-im
MASTER_SITES= SF/sshout/${PORTNAME}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= msl0000023508@gmail.com
COMMENT= Instant-messaging service based on SSH
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmhash.so:security/mhash
USES= tar:bz2 gmake readline
NO_WRKSUBDIR= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV= LIBEXECDIR=\${PREFIX}/libexec \
MANDIR=\${PREFIX}/man
USE_RC_SUBR= sshout
USERS= sshout
GROUPS= sshout
OPTIONS_DEFINE= NLS IRC
OPTIONS_DEFAULT= NLS
OPTIONS_GROUP= SUGGESTED
OPTIONS_GROUP_SUGGESTED=XCLIP
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 <bsd.port.options.mk>
.if ${PORT_OPTIONS:MXCLIP}
RUN_DEPENDS+= ${LOCALBASE}/bin/xclip:x11/xclip
.endif
.include <bsd.port.mk>
|