b250f02513
- Port development has moved to new place - Add EXAMPLES option - Inform users of config format change in pkg-message PR: 197248 Submitted by: Tomas Hecker <tomas.hecker@gmail.com> Approved by: maintainer timeout
34 lines
750 B
Makefile
34 lines
750 B
Makefile
# Created by: Max E. Kuznecov <mek@mek.uz.ua>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sendxmpp
|
|
PORTVERSION= 1.24.0
|
|
CATEGORIES= net-im perl5
|
|
|
|
MAINTAINER= mek@mek.uz.ua
|
|
COMMENT= Perl-script to send xmpp (jabber) messages
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= p5-Net-XMPP>0.0:${PORTSDIR}/net-im/p5-Net-XMPP
|
|
RUN_DEPENDS= p5-Getopt-Long>0.0:${PORTSDIR}/devel/p5-Getopt-Long
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= lhost
|
|
GH_TAGNAME= v1.24
|
|
GH_COMMIT= f596346
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
NO_ARCH= yes
|
|
|
|
PORTEXAMPLES= send-url.xml sendxmpp-raw-messages
|
|
PLIST_FILES= bin/sendxmpp man/man1/sendxmpp.1.gz
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|