mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
3159752466
PR: ports/157580 Submitted by: Chris Rees (utisoft@gmail.com) Approved by: tabthorpe (co-mentor)
37 lines
820 B
Makefile
37 lines
820 B
Makefile
# New ports collection makefile for: hybserv
|
|
# Date created: 15 Jan 2003
|
|
# Whom: Rick Fournier <rick@help-desk.ca>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= hybserv
|
|
PORTVERSION= 1.9.4
|
|
CATEGORIES= irc
|
|
MASTER_SITES= SF/${PORTNAME}2/${PORTNAME}2/Hybserv%20${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= HybServ2 IRCD Services
|
|
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
USERS= ${PORTNAME}
|
|
GROUPS= ${USERS}
|
|
|
|
WRKSRC= ${WRKDIR}/hybserv
|
|
|
|
.if defined(WITH_DAEMONTOOLS)
|
|
CONFIGURE_ARGS+= --with-daemontools
|
|
RUN_DEPENDS+= supervise:${PORTSDIR}/sysutils/daemontools
|
|
.endif
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|