blob: 9bbdcb6b02c0357aafa0d7cfbf10d210715246b5 (
plain)
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
43
44
45
46
47
48
|
# Created by: Rick Fournier <rick@help-desk.ca>
# $FreeBSD$
PORTNAME= hybserv
DISTVERSIONPREFIX= REL_
DISTVERSION= 1_9_5
CATEGORIES= irc
MAINTAINER= ports@FreeBSD.org
COMMENT= Hybrid2 IRC Services
LICENSE= GPLv2
USE_GITHUB= yes
GH_ACCOUNT= dkorunic
GH_PROJECT= ${PORTNAME}2
USES= gmake
GNU_CONFIGURE= yes
CFLAGS+= -fcommon
EXPIRATION_DATE= 2020-09-30
DEPRECATED= Unmaintained and dead upstream
USERS= ${PORTNAME}
GROUPS= ${USERS}
OPTIONS_DEFINE= DAEMONTOOLS
DAEMONTOOLS_DESC= Daemontools support
DAEMONTOOLS_RUN_DEPENDS= supervise:sysutils/daemontools
DAEMONTOOLS_CONFIGURE_ENABLE= daemontools
post-patch:
@${REINPLACE_CMD} -E -e '/(LN)/ s,BINDIR),DESTDIR)$$(&,2' \
-e '/(LN)/! s,(BIN|CONF|DOC|HELP|LOG)DIR),DESTDIR)$$(&,' \
${WRKSRC}/Makefile.in
post-install:
@${SED} -e "s#%PREFIX%#${PREFIX}#" ${FILESDIR}/hybserv.sh \
> ${WRKDIR}/hybserv.sh
${INSTALL_SCRIPT} ${WRKDIR}/hybserv.sh ${STAGEDIR}${PREFIX}/etc/rc.d
${CHMOD} 700 ${STAGEDIR}${PREFIX}/hybserv
(cd ${STAGEDIR}${PREFIX}/hybserv && ${STRIP_CMD} hybserv mkpasswd \
encryptconf encryptdb)
.include <bsd.port.mk>
|