aboutsummaryrefslogtreecommitdiff
path: root/irc/scrollz/Makefile
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2013-03-11 21:34:13 +0000
committerBeech Rintoul <beech@FreeBSD.org>2013-03-11 21:34:13 +0000
commitec85a08cbf006dd450cd52e312466b61edb9b0cd (patch)
treefacc3fbc0900c63deeffe4232b6623a160b3f039 /irc/scrollz/Makefile
parentf88dcaa7b0763a769c995a4f8ea4007563aa7900 (diff)
downloadports-ec85a08cbf006dd450cd52e312466b61edb9b0cd.tar.gz
ports-ec85a08cbf006dd450cd52e312466b61edb9b0cd.zip
- Fix implicit dependency on iconv and openssl
- OPTIONfy - Enable '/WINDOW CREATE' - Install wserv as wservz, to avoid conflict with ports/irc/ircII - Support tmux terminal multiplexer - Bump PORTREVISION PR: ports/176786 Submitted by: Norikatsu Shigemura <nork@FreeBSD.org> Approved by: Maarten de Vries <mdv@unsavoury.net> (maintainer)
Notes
Notes: svn path=/head/; revision=313941
Diffstat (limited to 'irc/scrollz/Makefile')
-rw-r--r--irc/scrollz/Makefile20
1 files changed, 14 insertions, 6 deletions
diff --git a/irc/scrollz/Makefile b/irc/scrollz/Makefile
index baa2d57cbef3..cd28a9d13ef4 100644
--- a/irc/scrollz/Makefile
+++ b/irc/scrollz/Makefile
@@ -7,7 +7,7 @@
PORTNAME= scrollz
PORTVERSION= 2.2.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= irc ipv6
MASTER_SITES= http://www.netraam.net/scrollz/download/ \
http://www.scrollz.com/download/
@@ -16,9 +16,10 @@ DISTNAME= ScrollZ-${PORTVERSION}
MAINTAINER= mdv@unsavoury.net
COMMENT= Enhanced ircII client that supports scripts, colors, and more
+USE_ICONV= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --enable-ipv6 --enable-regexp
+CONFIGURE_ARGS+= --enable-ipv6 --enable-regexp --enable-iconv
USE_NCURSES= yes
MAKE_ENV+= IRCLIB="${PREFIX}/share/scrollz"
@@ -26,16 +27,23 @@ MAKE_ENV+= IRCLIB="${PREFIX}/share/scrollz"
PLIST_SUB+= SCROLLZ_VER="${PORTVERSION}"
PORTDATA= *
+OPTIONS_DEFAULT= OPENSSL
+OPTIONS_RADIO= SSL
+OPTIONS_RADIO_SSL= GNUTLS OPENSSL
+
MAN1= scrollz.1
-.if defined(WITH_SSL)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MGNUTLS}
BUILD_DEPENDS+= ${LOCALBASE}/lib/libgnutls.a:${PORTSDIR}/security/gnutls
LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls
-CONFIGURE_ARGS+= --with-ssl
+CONFIGURE_ARGS+= --with-ssl=${LOCALBASE}
.endif
-.if defined(WITH_OPENSSL)
-CONFIGURE_ARGS+= --with-openssl
+.if ${PORT_OPTIONS:MOPENSSL}
+USE_OPENSSL= yes
+CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
.endif
pre-build: