blob: 8ca3e7bdaf35a432380c60b81daff20b72fb9b70 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Created by: Rick Fournier <rick@help-desk.ca>
# $FreeBSD$
PORTNAME= hybserv
PORTVERSION= 1.9.5
CATEGORIES= irc
MASTER_SITES= GH
MAINTAINER= ports@FreeBSD.org
COMMENT= Hybrid2 IRC Services
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
GNU_CONFIGURE= yes
USERS= ${PORTNAME}
GROUPS= ${USERS}
DAEMONTOOLS_RUN_DEPENDS= supervise:${PORTSDIR}/sysutils/daemontools
DAEMONTOOLS_CONFIGURE_ENABLE= daemontools
NO_STAGE= yes
.include <bsd.port.options.mk>
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>
|