freebsd-ports/net-im/profanity/Makefile
Tilman Keskinoz dc0db7761b Add an option for libnotify support
Submitted by: Denis D <stdedjub@googlemail.com> (Makefile changes)
2015-03-09 14:27:57 +00:00

32 lines
744 B
Makefile

# $FreeBSD$
PORTNAME= profanity
PORTVERSION= 0.4.6
CATEGORIES= net-im
MASTER_SITES= http://www.profanity.im/
MAINTAINER= arved@FreeBSD.org
COMMENT= Console based XMPP client
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libstrophe.so:${PORTSDIR}/net-im/libstrophe \
libglib-2.0.so:${PORTSDIR}/devel/glib20 \
libcurl.so:${PORTSDIR}/ftp/curl \
libotr.so:${PORTSDIR}/security/libotr3
OPTIONS_DEFINE=NOTIFY
USES= ncurses pkgconfig autoreconf
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-otr
CONFIGURE_ENV= LIBS="${CFLAGS} -lcrypto"
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNOTIFY}
LIB_DEPENDS+= libnotify.so:${PORTSDIR}/devel/libnotify
CONFIGURE_ARGS+= --enable-notifications
.endif
.include <bsd.port.mk>