aboutsummaryrefslogtreecommitdiff
path: root/net-im/profanity
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-02-25 14:13:12 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-02-25 14:13:12 +0000
commit34db9552272eb61b787d1bf8cc9b73958f87479d (patch)
tree6fc71329c2f30343eaba289213e3bc4141205198 /net-im/profanity
parentc51087fa15ed451246d2078c464da6c767a76960 (diff)
downloadports-34db9552272eb61b787d1bf8cc9b73958f87479d.tar.gz
ports-34db9552272eb61b787d1bf8cc9b73958f87479d.zip
- Clarify license
- Specify libotr.so version to differentiate security/libotr3 and security/libotr - Switch to options helpers Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=409517
Diffstat (limited to 'net-im/profanity')
-rw-r--r--net-im/profanity/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/net-im/profanity/Makefile b/net-im/profanity/Makefile
index 7684887ca47a..5f68ada3e303 100644
--- a/net-im/profanity/Makefile
+++ b/net-im/profanity/Makefile
@@ -8,27 +8,24 @@ MASTER_SITES= http://www.profanity.im/
MAINTAINER= arved@FreeBSD.org
COMMENT= Console based XMPP client
-LICENSE= GPLv3
+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 \
+ libotr.so.2:${PORTSDIR}/security/libotr3 \
libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \
libgpgme.so:${PORTSDIR}/security/gpgme
-OPTIONS_DEFINE=NOTIFY
USES= ncurses pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-otr
CONFIGURE_ENV= LIBS="${CFLAGS} -lcrypto"
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= NOTIFY
-.if ${PORT_OPTIONS:MNOTIFY}
-LIB_DEPENDS+= libnotify.so:${PORTSDIR}/devel/libnotify
-CONFIGURE_ARGS+= --enable-notifications
-.endif
+NOTIFY_LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify
+NOTIFY_CONFIGURE_ENABLE=notifications
.include <bsd.port.mk>