mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
c9457ad4a1
PR: 54168 Submitted by: Alex Dupre <sysadmin@alexdupre.com> (maintainer)
53 lines
1.2 KiB
Makefile
53 lines
1.2 KiB
Makefile
# New ports collection makefile for: tr-ircd
|
|
# Date created: Sat May 4 15:54:47 CET 2002
|
|
# Whom: Alex Dupre <sysadmin@alexdupre.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tr-ircd
|
|
PORTVERSION= 5.1.7
|
|
CATEGORIES= irc ipv6
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= ${PORTNAME:S/-//}-release-${PORTVERSION}-r
|
|
|
|
MAINTAINER= sysadmin@alexdupre.com
|
|
COMMENT= An irc daeemon based on Bahamut and hybrid-7
|
|
|
|
USE_GMAKE= yes
|
|
|
|
MAN1= md5sum.1
|
|
MAN5= ircd.conf.5
|
|
MAN8= ircd.8
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --localstatedir=/var \
|
|
--libdir=${PREFIX}/lib/tr-ircd \
|
|
--includedir=${PREFIX}/include/tr-ircd \
|
|
--enable-kqueue \
|
|
--enable-root \
|
|
--with-fakehost-postfix=COM
|
|
|
|
.if !defined(WITHOUT_SSL)
|
|
USE_OPENSSL= yes
|
|
CONFIGURE_ARGS+=--enable-openssl=${OPENSSLBASE}
|
|
.endif
|
|
|
|
.if defined(SMALL_NET)
|
|
CONFIGURE_ARGS+=--enable-small-nets
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 400014 && !defined(WITHOUT_IPV6)
|
|
CONFIGURE_ARGS+=--enable-ipv6
|
|
.endif
|
|
|
|
post-install:
|
|
@${ECHO} "Installing ${PREFIX}/etc/rc.d/tr-ircd.sh.sample startup file."
|
|
@${INSTALL_SCRIPT} ${FILESDIR}/tr-ircd.sh \
|
|
${PREFIX}/etc/rc.d/tr-ircd.sh.sample
|
|
|
|
.include <bsd.port.post.mk>
|