blob: b7c80fb39c50d62b44419cc181f5161dede86b0b (
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
|
# $NetBSD: Makefile,v 1.2 2003/02/05 16:27:32 jwise Exp $
#
DISTNAME= i2cbd-2.0_BETA0
CATEGORIES= chat
MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://www.draga.com/~jwise/i2cb/
COMMENT= Next generation Internet Citicen's Band chat server
.include "../../mk/bsd.prefs.mk"
ICBD_OWNER?= root
PLIST_SUBST+= ICBD_OWNER=${ICBD_OWNER} \
CHOWN=${CHOWN} \
TOUCH=${TOUCH}
post-extract:
-${RM} ${WRKSRC}/*/.depend
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/etc/icbd
${CHOWN} ${ICBD_OWNER} ${PREFIX}/etc/icbd
${CHMOD} 755 ${PREFIX}/etc/icbd
for f in motd icbd_help icbd.deny news.1 ; do \
${INSTALL_DATA} ${WRKSRC}/etc/$$f ${PREFIX}/etc/icbd ; \
done
${CHOWN} -R ${ICBD_OWNER} ${PREFIX}/etc/icbd
${TOUCH} /var/log/icbd.log
${CHOWN} ${ICBD_OWNER} /var/log/icbd.log
${SED} \
-e 's,@PREFIX@,${PREFIX},' \
<${WRKSRC}/etc/icbd.sh >${WRKDIR}/icbd.sh
${INSTALL_SCRIPT} ${WRKDIR}/icbd.sh ${PREFIX}/etc/rc.d/icbd
.include "../../mk/bsd.pkg.mk"
|