2012-09-22 16:09:00 +00:00
|
|
|
# Created by: Jimbo Bahooli <griffin@blackhole.iceworld.org>
|
1999-08-25 06:16:32 +00:00
|
|
|
# $FreeBSD$
|
1998-04-18 02:04:44 +00:00
|
|
|
|
2015-01-29 13:13:59 +00:00
|
|
|
PORTNAME= bitchx
|
|
|
|
PORTVERSION= 1.2.1
|
2015-12-18 01:57:02 +00:00
|
|
|
PORTREVISION= 1
|
2012-11-19 04:01:48 +00:00
|
|
|
PORTEPOCH= 1
|
2008-01-30 07:53:29 +00:00
|
|
|
CATEGORIES+= irc
|
2015-01-29 13:13:59 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/ircii-pana/${PORTNAME}-${DISTVERSION}
|
1998-04-18 02:04:44 +00:00
|
|
|
|
2015-12-11 08:40:34 +00:00
|
|
|
MAINTAINER= freebsd@bitchx.org
|
2015-01-29 13:13:59 +00:00
|
|
|
COMMENT= Feature-rich scriptable IRC client
|
1998-04-18 02:04:44 +00:00
|
|
|
|
2015-04-17 19:49:05 +00:00
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
|
|
|
|
2016-02-01 22:33:44 +00:00
|
|
|
USES= cpe gmake ncurses
|
2012-11-19 04:01:48 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+=--exec-prefix="${PREFIX}/share" \
|
|
|
|
--bindir="${PREFIX}/bin" \
|
|
|
|
--datadir="${PREFIX}/share" \
|
|
|
|
--libdir="${PREFIX}/share"
|
2014-06-11 14:49:59 +00:00
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
2000-10-05 07:22:56 +00:00
|
|
|
|
2015-01-29 13:13:59 +00:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
2013-05-31 09:48:32 +00:00
|
|
|
PLIST_SUB+= DISTVERSION=${DISTVERSION}
|
|
|
|
DOCSDIR= ${PREFIX}/share/bx/help
|
|
|
|
PORTDOCS= *
|
|
|
|
DATADIR= ${PREFIX}/share/bx
|
2000-10-13 09:23:58 +00:00
|
|
|
|
2015-09-11 06:32:14 +00:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
|
2015-01-29 13:13:59 +00:00
|
|
|
OPTIONS_DEFINE= DOCS HEBREW IPV6 LATIN PLUGINS SSL TOGGLES
|
2012-09-16 14:16:20 +00:00
|
|
|
|
|
|
|
LATIN_DESC= Recommended for ISO-8859-1 display
|
2012-09-22 16:09:00 +00:00
|
|
|
PLUGINS_DESC= Build a handful of BitchX plugins
|
2015-01-29 13:13:59 +00:00
|
|
|
HEBREW_DESC= Add support for hebrew language
|
2015-12-18 01:57:02 +00:00
|
|
|
TOGGLES_DESC= Disable annoyance toggles
|
2015-01-29 13:13:59 +00:00
|
|
|
OPTIONS_DEFAULT= PLUGINS SSL
|
2007-05-28 16:09:11 +00:00
|
|
|
|
2015-01-29 13:13:59 +00:00
|
|
|
IPV6_CONFIGURE_ENABLE= ipv6
|
2004-01-20 14:37:19 +00:00
|
|
|
|
2015-01-29 13:13:59 +00:00
|
|
|
SSL_CONFIGURE_WITH= ssl
|
2017-03-15 14:45:54 +00:00
|
|
|
SSL_USES= ssl
|
2017-04-16 11:09:03 +00:00
|
|
|
SSL_VARS= BROKEN_SSL=openssl-devel
|
2012-09-16 14:16:20 +00:00
|
|
|
|
2015-01-29 13:13:59 +00:00
|
|
|
PLUGINS_CONFIGURE_WITH= plugins="${PLUGIN_LIST:C/\$$/,/g}"
|
2003-04-23 15:14:34 +00:00
|
|
|
|
2015-12-18 01:57:02 +00:00
|
|
|
PLUGIN_LIST= abot acro arcfour autocycle blowfish cavlink cdrom encrypt \
|
2015-01-29 13:13:59 +00:00
|
|
|
europa fserv hint nap nicklist pkga possum qbx qmail wavplay
|
2002-05-16 17:24:13 +00:00
|
|
|
|
2012-09-22 16:09:00 +00:00
|
|
|
post-patch:
|
2017-04-16 11:09:03 +00:00
|
|
|
${REINPLACE_CMD} -e 's|bzip2|true|g' ${WRKSRC}/Makefile.in
|
|
|
|
|
|
|
|
post-patch-DOCS-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
cd ${WRKSRC}/bitchx-docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
|
|
|
|
|
|
|
post-patch-LATIN-on:
|
2012-09-16 14:16:20 +00:00
|
|
|
${REINPLACE_CMD} -e 's|#undef LATIN1|#define LATIN1|' \
|
2009-12-16 11:50:10 +00:00
|
|
|
${WRKSRC}/include/config.h
|
2017-04-16 11:09:03 +00:00
|
|
|
|
|
|
|
post-patch-HEBREW-on:
|
2015-01-29 13:13:59 +00:00
|
|
|
${REINPLACE_CMD} -e 's|#undef WANT_HEBREW|#define WANT_HEBREW|' \
|
|
|
|
${WRKSRC}/include/config.h
|
2017-04-16 11:09:03 +00:00
|
|
|
|
|
|
|
post-patch-TOGGLES-on:
|
2015-01-29 13:13:59 +00:00
|
|
|
${REINPLACE_CMD} -e 's|DEFAULT_AUTO_AWAY ON|DEFAULT_AUTO_AWAY OFF|' \
|
|
|
|
${WRKSRC}/include/config.h
|
|
|
|
${REINPLACE_CMD} -e 's|DEFAULT_KICK_OPS ON|DEFAULT_KICK_OPS OFF|' \
|
|
|
|
${WRKSRC}/include/config.h
|
|
|
|
${REINPLACE_CMD} -e 's|DEFAULT_AUTO_REJOIN ON|DEFAULT_AUTO_REJOIN OFF|' \
|
|
|
|
${WRKSRC}/include/config.h
|
2016-11-29 18:46:21 +00:00
|
|
|
|
2017-04-16 11:09:03 +00:00
|
|
|
.include <bsd.port.mk>
|