2000-03-01 05:08:03 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2000/03/01 10:08:07 turan Exp $
|
1999-03-09 21:37:44 -05:00
|
|
|
# $FreeBSD: Makefile,v 1.19 1998/12/09 20:15:29 billf Exp $
|
|
|
|
|
|
|
|
DISTNAME= irc2.10.1
|
|
|
|
PKGNAME= irc-2.10.1
|
1997-11-14 19:04:24 -05:00
|
|
|
CATEGORIES= net
|
|
|
|
|
2000-03-01 05:08:03 -05:00
|
|
|
MAINTAINER= ports@openbsd.org
|
1997-11-14 19:04:24 -05:00
|
|
|
|
2000-02-12 03:02:07 -05:00
|
|
|
LICENSE_TYPE= GPL
|
2000-02-15 00:03:51 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= YES
|
|
|
|
PERMIT_PACKAGE_FTP= YES
|
|
|
|
PERMIT_DISTFILES_CDROM= YES
|
|
|
|
PERMIT_DISTFILES_FTP= YES
|
2000-02-12 03:02:07 -05:00
|
|
|
|
1999-03-10 12:45:51 -05:00
|
|
|
MASTER_SITES= http://www.leo.org/pub/comp/general/networking/irc/daemon/ \
|
1999-03-09 21:37:44 -05:00
|
|
|
ftp://ftp.irc.org/irc/server/ \
|
|
|
|
ftp://tau.ac.il/pub/unix/irc/server/ \
|
|
|
|
ftp://ftp.ut.ee/pub/unix/irc/server/ \
|
|
|
|
ftp://ftp.ntua.gr/pub/net/irc/server/
|
2000-02-22 12:08:31 -05:00
|
|
|
NEED_VERSION= 1.210
|
1999-03-09 21:37:44 -05:00
|
|
|
|
|
|
|
# the NOTE command is disabled by default
|
|
|
|
# ENABLE_NOTE=yes
|
|
|
|
|
|
|
|
# Syslog-Facility to use for logging
|
|
|
|
# default:
|
|
|
|
SYSLOG_FACILITY=LOG_LOCAL5
|
|
|
|
|
1997-11-14 19:04:24 -05:00
|
|
|
EXTRACT_SUFX= .tgz
|
1999-03-09 21:37:44 -05:00
|
|
|
SCRIPTS_ENV= SYSLOG_FACILITY="${SYSLOG_FACILITY}"
|
|
|
|
|
|
|
|
MAN1= irc.1
|
|
|
|
MAN5= iauth.conf.5
|
|
|
|
MAN8= ircd.8 iauth.8 ircdwatch.8
|
1997-11-14 19:04:24 -05:00
|
|
|
|
1998-07-18 15:18:55 -04:00
|
|
|
GNU_CONFIGURE= yes
|
1997-11-14 19:04:24 -05:00
|
|
|
|
1999-03-09 21:37:44 -05:00
|
|
|
post-patch:
|
2000-02-10 20:09:59 -05:00
|
|
|
sed -e s,!!SYSLOG_FACILITY!!,$(SYSLOG_FACILITY), $(WRKSRC)/support/config.h.dist > $(WRKSRC)/support/config.h.dist.new
|
|
|
|
mv $(WRKSRC)/support/config.h.dist.new $(WRKSRC)/support/config.h.dist
|
1999-03-09 21:37:44 -05:00
|
|
|
|
1997-11-14 19:04:24 -05:00
|
|
|
do-build:
|
1998-07-18 15:18:55 -04:00
|
|
|
@(cd ${WRKSRC}/`${WRKSRC}/support/config.guess` && \
|
2000-02-22 12:08:31 -05:00
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} -f ${MAKE_FILE} ${ALL_TARGET})
|
1997-11-14 19:04:24 -05:00
|
|
|
|
|
|
|
do-install:
|
1998-07-18 15:18:55 -04:00
|
|
|
@(cd ${WRKSRC}/`${WRKSRC}/support/config.guess` && \
|
2000-02-22 12:08:31 -05:00
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} -f ${MAKE_FILE} ${INSTALL_TARGET})
|
1997-11-14 19:04:24 -05:00
|
|
|
|
1999-03-09 21:37:44 -05:00
|
|
|
pre-install:
|
2000-02-10 20:09:59 -05:00
|
|
|
@mkdir -p ${PREFIX}/lib/ircd
|
|
|
|
@touch ${PREFIX}/lib/ircd/users ${PREFIX}/lib/ircd/opers \
|
1999-03-09 21:37:44 -05:00
|
|
|
${PREFIX}/lib/ircd/rejects
|
|
|
|
|
1997-11-14 19:04:24 -05:00
|
|
|
.include <bsd.port.mk>
|