Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 2016 14:13:12 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409517 - head/net-im/profanity
Message-ID:  <201602251413.u1PEDC3f059827@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Feb 25 14:13:12 2016
New Revision: 409517
URL: https://svnweb.freebsd.org/changeset/ports/409517

Log:
  - Clarify license
  - Specify libotr.so version to differentiate security/libotr3 and security/libotr
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/net-im/profanity/Makefile

Modified: head/net-im/profanity/Makefile
==============================================================================
--- head/net-im/profanity/Makefile	Thu Feb 25 13:48:06 2016	(r409516)
+++ head/net-im/profanity/Makefile	Thu Feb 25 14:13:12 2016	(r409517)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602251413.u1PEDC3f059827>