blob: 86b1dfb139d2e77927cc1a3515ec7079675610b6 (
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
|
# $NetBSD: Makefile,v 1.3 2003/08/28 20:05:15 xtraeme Exp $
#
DISTNAME= bitlbee-0.80
CATEGORIES= chat
MASTER_SITES= http://www.lintux.cx/downloads/
MAINTAINER= xtraeme@NetBSD.org
HOMEPAGE= http://www.lintux.cx/bitlbee.html
COMMENT= IRC to other chat networks gateway
USE_BUILDLINK2= yes
HAS_CONFIGURE= yes
USE_GMAKE= yes
USE_PKGINSTALL= yes
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --bindir=${PREFIX}/sbin
CONFIGURE_ARGS+= --etcdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --datadir=${DATADIR}
CONFIGURE_ARGS+= --config=${STATEDIR}
PKG_SYSCONFSUBDIR= bitlbee
CONF_FILES= ${DATADIR}/motd.txt ${PKG_SYSCONFDIR}/motd.txt
DATADIR= ${PREFIX}/share/bitlbee
DOCDIR= ${PREFIX}/share/doc/bitlbee
STATEDIR= /var/db/bitlbee
OWN_DIRS_PERMS= ${STATEDIR} bitlbee nobody 700
PKG_USERS= bitlbee:nobody::Bitlbee\\ user:/var/db/bitlbee
do-install:
${INSTALL_DATA_DIR} ${DATADIR} ${DOCDIR}
${INSTALL_PROGRAM} ${WRKSRC}/bitlbee ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/help.txt ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/motd.txt ${DATADIR}
${INSTALL_MAN} ${WRKSRC}/doc/bitlbee.8 ${PREFIX}/man/man8
.for f in AUTHORS FAQ README TODO
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCDIR}
.endfor
.undef f
.include "../../devel/glib/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|