mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
ed7970d591
- Update to 8.1.3 [1] - Convert to options ng [1] - USES gmake - Remove leading article from COMMENT - Use options helpers - Allow staging PR: ports/180201 [1] Submitted by: Nick Hilliard <nick foobar.org> Approved by: db (maintainer timeout, 4 months)
56 lines
1.2 KiB
Makefile
56 lines
1.2 KiB
Makefile
# Created by: David Taylor <davidt@yadt.co.uk>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ircd-hybrid
|
|
PORTVERSION= 8.1.3
|
|
CATEGORIES= irc ipv6
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= db@FreeBSD.org
|
|
COMMENT= Fast irc daemon with a number of new features
|
|
|
|
INSTALL_IGNORES= ircu-* ircd-rat* charby*
|
|
|
|
USES= gmake
|
|
GNU_CONFIGURE= yes
|
|
|
|
USERS= ircd
|
|
GROUPS= ${USERS}
|
|
|
|
USE_RC_SUBR= ircd-hybrid
|
|
SUB_FILES= pkg-message
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
|
|
|
OPTIONS_DEFINE= OPENSSL HALFOPS ASSERT
|
|
OPTIONS_DEFAULT=OPENSSL
|
|
|
|
ASSERT_CONFIGURE_ENABLE= assert
|
|
ASSERT_DESC= Enable halfops on the server
|
|
|
|
HALFOPS_CONFIGURE_ENABLE= halfops
|
|
HALFOPS_DESC= Enable parts of the debugging code
|
|
|
|
OPENSSL_DESC= Enable openssl - allows use of CHALLENGE and encrypted links
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MOPENSSL}
|
|
USE_OPENSSL= yes
|
|
CONFIGURE_ARGS+= --enable-openssl=${OPENSSLBASE}
|
|
.endif
|
|
|
|
# User Configurable Variables
|
|
# NICKLEN - Nick length. Default is 9. Must be consistant across the network.
|
|
|
|
.if defined(NICKLEN)
|
|
CONFIGURE_ARGS+= --with-nicklen=${NICKLEN}
|
|
.endif
|
|
|
|
CONFIGURE_ARGS+= \
|
|
--sysconfdir=${PREFIX}/etc/ircd-hybrid \
|
|
--datarootdir=${PREFIX}/share/${PORTNAME}-${PORTVERSION} \
|
|
--localstatedir=/var
|
|
|
|
.include <bsd.port.mk>
|