# Created by: torstenb # $FreeBSD: head/irc/ircII/Makefile 408141 2016-02-05 09:28:58Z marino $ PORTNAME= ircii PORTVERSION= 20151120 CATEGORIES= irc ipv6 MASTER_SITES= http://ircii.warped.com/ MAINTAINER= adamw@FreeBSD.org COMMENT= Small and high extensible IRC client LICENSE= BSD3CLAUSE GNU_CONFIGURE= yes DATADIR= ${PREFIX}/share/irc USES= iconv ncurses tar:bzip2 OPTIONS_DEFINE= IRCBUG EMACS_KEYS OPENSSL OPTIONS_DEFAULT=OPENSSL OPTIONS_SUB= yes IRCBUG_DESC= Install ircII bug-reporting script EMACS_KEYS_DESC=Use emacs meta keys EMACS_KEYS_CONFIGURE_WITH= emacs-meta-keys OPENSSL_USE= OPENSSL=yes .include .if ${PORT_OPTIONS:MOPENSSL} CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE} .else CONFIGURE_ARGS+= --without-openssl .endif CPPFLAGS+= -I${ICONV_PREFIX}/include LDFLAGS+= -L${ICONV_PREFIX}/lib post-patch: @${REINPLACE_CMD} -e '/^mandir =/s/@mandir@/$${DESTDIR}&/' \ -e '/^LDFLAGS =/s/$$/ -s ${ICONV_LIB}/' \ -e '/^INCLUDES =/s|$$| -I${ICONV_PREFIX}/include -DHAVE_ICONV_OPEN|' \ ${WRKSRC}/Makefile.in post-install: ${MV} -f ${STAGEDIR}${PREFIX}/bin/irc-${PORTVERSION} ${STAGEDIR}${PREFIX}/bin/irc .include