2013-07-22 15:32:10 +00:00
|
|
|
# Created by: Rick Fournier <rick@help-desk.ca>
|
2003-11-12 02:31:18 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= hybserv
|
2013-07-22 15:32:10 +00:00
|
|
|
PORTVERSION= 1.9.5
|
2003-11-12 02:31:18 +00:00
|
|
|
CATEGORIES= irc
|
2013-07-22 15:32:10 +00:00
|
|
|
MASTER_SITES= GH
|
2003-11-12 02:31:18 +00:00
|
|
|
|
2008-08-19 09:18:37 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-07-22 15:32:10 +00:00
|
|
|
COMMENT= Hybrid2 IRC Services
|
2003-11-12 02:31:18 +00:00
|
|
|
|
2013-07-22 15:32:10 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DAEMONTOOLS
|
|
|
|
DAEMONTOOLS_DESC= Daemontools support
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= dkorunic
|
|
|
|
GH_PROJECT= hybserv2
|
|
|
|
GH_TAGNAME= REL_${PORTVERSION:S/./_/g}
|
|
|
|
GH_COMMIT= ce15a9f
|
|
|
|
|
|
|
|
USES= gmake
|
2003-11-12 02:31:18 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2011-06-27 17:57:53 +00:00
|
|
|
USERS= ${PORTNAME}
|
|
|
|
GROUPS= ${USERS}
|
|
|
|
|
2013-07-22 15:32:10 +00:00
|
|
|
DAEMONTOOLS_RUN_DEPENDS= supervise:${PORTSDIR}/sysutils/daemontools
|
|
|
|
DAEMONTOOLS_CONFIGURE_ENABLE= daemontools
|
2003-11-12 02:31:18 +00:00
|
|
|
|
2013-09-20 18:44:49 +00:00
|
|
|
NO_STAGE= yes
|
2013-07-22 15:32:10 +00:00
|
|
|
.include <bsd.port.options.mk>
|
2006-04-19 17:15:21 +00:00
|
|
|
|
2003-11-12 02:31:18 +00:00
|
|
|
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>
|