2003-11-12 02:31:18 +00:00
|
|
|
# New ports collection makefile for: hybserv
|
|
|
|
# Date created: 15 Jan 2003
|
|
|
|
# Whom: Rick Fournier <rick@help-desk.ca>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= hybserv
|
2006-12-11 18:11:46 +00:00
|
|
|
PORTVERSION= 1.9.3
|
2003-11-12 02:31:18 +00:00
|
|
|
CATEGORIES= irc
|
2005-10-19 06:31:07 +00:00
|
|
|
MASTER_SITES= http://www.hybserv.net/downloads/
|
2003-11-12 02:31:18 +00:00
|
|
|
|
2006-11-07 15:37:06 +00:00
|
|
|
MAINTAINER= laszlof@FreeBSD.org
|
2005-10-19 06:31:07 +00:00
|
|
|
COMMENT= HybServ2 IRCD Services
|
2003-11-12 02:31:18 +00:00
|
|
|
|
2005-12-21 14:44:59 +00:00
|
|
|
# uses a uid registered to the ircservices user
|
|
|
|
CONFLICT= ircservices-*
|
2004-12-30 21:17:51 +00:00
|
|
|
|
2003-11-12 02:31:18 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/hybserv
|
|
|
|
|
2006-12-11 18:11:46 +00:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2006-04-19 17:15:21 +00:00
|
|
|
|
|
|
|
.if defined(WITH_DAEMONTOOLS)
|
|
|
|
CONFIGURE_ARGS+= --with-daemontools
|
|
|
|
RUN_DEPENDS+= supervise:${PORTSDIR}/sysutils/daemontools
|
|
|
|
.endif
|
|
|
|
|
2003-11-12 02:31:18 +00:00
|
|
|
pre-install:
|
|
|
|
@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${SED} -e "s#%PREFIX%#${PREFIX}#" ${FILESDIR}/hybserv.sh \
|
|
|
|
> ${WRKDIR}/hybserv.sh
|
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/hybserv.sh ${PREFIX}/etc/rc.d
|
|
|
|
${CHOWN} -R hybserv:hybserv ${PREFIX}/hybserv
|
|
|
|
${CHMOD} 700 ${PREFIX}/hybserv
|
|
|
|
|
2004-03-13 05:34:10 +00:00
|
|
|
.include <bsd.port.mk>
|