1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/irc/hybserv/Makefile
Frank J. Laszlo 3fbf5ae415 - Give irc/hybserv a unique UID/GID
- Remove conflict with irc/ircservices

Reported by:	kris
2007-03-31 12:53:57 +00:00

40 lines
911 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.3
CATEGORIES= irc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= hybserv2
MAINTAINER= laszlof@FreeBSD.org
COMMENT= HybServ2 IRCD Services
USE_GMAKE= yes
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/hybserv
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if defined(WITH_DAEMONTOOLS)
CONFIGURE_ARGS+= --with-daemontools
RUN_DEPENDS+= supervise:${PORTSDIR}/sysutils/daemontools
.endif
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
.include <bsd.port.mk>