aboutsummaryrefslogtreecommitdiff
path: root/net-im/sendxmpp/Makefile
blob: 6d8453b8d70c52e16b6b56233ddc885e54f265b0 (plain) (blame)
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
PORTNAME=	sendxmpp
PORTVERSION=	1.24
DISTVERSIONPREFIX=	v
PORTREVISION=	1
CATEGORIES=	net-im perl5

MAINTAINER=	mek@mek.uz.ua
COMMENT=	Perl script to send XMPP (Jabber) messages
WWW=		https://sendxmpp.hostname.sk/

LICENSE=	GPLv2

BUILD_DEPENDS=	p5-Net-XMPP>=0:net-im/p5-Net-XMPP
RUN_DEPENDS=	p5-Authen-SASL>=0:security/p5-Authen-SASL \
		p5-Net-XMPP>=0:net-im/p5-Net-XMPP

USE_GITHUB=	yes
GH_ACCOUNT=	lhost

USES=		perl5
USE_PERL5=	configure
NO_ARCH=	yes

PORTEXAMPLES=	send-url.xml sendxmpp-raw-messages
PLIST_FILES=	bin/sendxmpp ${SITE_MAN1}/sendxmpp.1.gz

OPTIONS_DEFINE=	EXAMPLES

post-install-EXAMPLES-on:
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>