blob: 7a832c92ec7e514060abf765783feeeaf92b74d3 (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# $NetBSD: Makefile,v 1.3 2014/08/26 20:55:08 joerg Exp $
#
DISTNAME= psyBNC-2.4BETA2
PKGNAME= psybnc-2.4b2
CATEGORIES= chat
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=psybnc/}
MAINTAINER= pettai@NetBSD.org
HOMEPAGE= http://www.psybnc.at/
COMMENT= Easy-to-use, multi-user, IRC-Bouncer with many features
LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}/psybnc
USE_TOOLS+= gmake pkg-config
PSYBNC_USER?= psybnc
PSYBNC_GROUP?= psybnc
PKG_GROUPS= ${PSYBNC_USER}
PKG_USERS= ${PSYBNC_USER}:${PSYBNC_GROUP}
PKG_GROUPS_VARS+= PSYBNC_GROUP
PKG_USERS_VARS+= PSYBNC_USER
CONF_FILES= share/examples/psybnc/psybnc.conf \
${PKG_SYSCONFDIR}/psybnc.conf
SUBST_CLASSES+= prefix
SUBST_FILES.prefix= tools/autoconf.c
SUBST_SED.prefix= -e "s|@PREFIX@|${PREFIX}|g"
SUBST_STAGE.prefix= post-patch
SUBST_CLASSES+= openssl
SUBST_FILES.openssl= makefile.out
SUBST_SED.openssl= -e "s|/usr/bin/openssl|openssl|g"
SUBST_SED.openssl= -e "s|req -new|req -new -batch|g"
SUBST_STAGE.openssl= post-configure
INSTALLATION_DIRS= bin share/examples/psybnc
INSTALLATION_DIRS+= share/doc/psybnc
post-extract:
cd ${WRKSRC} && ${RM} src/c-ares/configure
do-configure:
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${GMAKE}
${CP} ${FILESDIR}/config.h ${WRKSRC}
do-build:
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${GMAKE} -f makefile.out
do-install:
${INSTALL_DATA} ${WRKSRC}/psybnc \
${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/psybncchk \
${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/FAQ \
${DESTDIR}${PREFIX}/share/doc/psybnc
${INSTALL_DATA} ${WRKSRC}/README \
${DESTDIR}${PREFIX}/share/doc/psybnc
${INSTALL_DATA} ${WRKSRC}/scripts/SCRIPTING \
${DESTDIR}${PREFIX}/share/doc/psybnc
${INSTALL_DATA} ${WRKSRC}/scripts/example/DEFAULT.SCRIPT \
${DESTDIR}${PREFIX}/share/examples/psybnc
${INSTALL_DATA} ${WRKSRC}/psybnc.conf \
${DESTDIR}${PREFIX}/share/examples/psybnc
.include "../../net/libcares/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|