blob: 1739ed6c28839e0af19b7cb9f3e32929cfc4feb9 (
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
72
73
|
# $NetBSD: Makefile,v 1.11 2002/05/03 21:51:56 hubertf Exp $
DISTNAME= silc-client-0.8.6
CATEGORIES= chat
MASTER_SITES= http://www.silcnet.org/download/client/sources/ \
ftp://ftp.silcnet.org/silc/client/sources/ \
http://www.fi.silcnet.org/download/client/sources/ \
ftp://ftp.au.silcnet.org/pub/silcnet/client/sources/ \
http://www.us.silcnet.org/download/client/sources/ \
ftp://ftp.no.silcnet.org/pub/silc/client/sources/ \
http://www.at.silcnet.org/download/client/sources/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= salo@silcnet.org
HOMEPAGE= http://www.silcnet.org/
COMMENT= Client for the Secure Internet Live Conferencing (SILC) protocol
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_NCURSES= yes
USE_LIBTOOL= yes
USE_BUILDLINK_ONLY= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
.include "../../mk/bsd.prefs.mk"
PKG_SYSCONFSUBDIR?= silc
CONFIGURE_ARGS+= --with-helpdir=${PREFIX}/share/silc/help
CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/silc
CONFIGURE_ARGS+= --with-etcdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-simdir=${PREFIX}/lib/silc/modules
CONFIGURE_ARGS+= --with-ncurses=${BUILDLINK_DIR}
# list it into IPv6-ready packages
BUILD_DEFS+= USE_INET6
CONFIGURE_ARGS+= --enable-ipv6
# Optional support for perl scripting.
# If you want to disable it, set SILC_CLIENT_WITH_PERL to NO
# in your /etc/mk.conf
#
SILC_CLIENT_WITH_PERL?= YES
.if defined(SILC_CLIENT_WITH_PERL) && ${SILC_CLIENT_WITH_PERL} == YES
CONFIGURE_ARGS+= --with-perl-lib=${PREFIX}/lib/silc/perl5
.include "../../lang/perl5/buildlink.mk"
PLIST_SRC+= ${PKGDIR}/PLIST.perl
.else
CONFIGURE_ARGS+= --with-perl=no
.endif
# Loadable modules support.
#
.if (${OPSYS} == "SunOS") || (${OPSYS} == "Linux")
PLIST_SRC+= ${PKGDIR}/PLIST.modules
.endif
# Assembler optimizations.
#
.if (${MACHINE_ARCH} != "i386")
CONFIGURE_ARGS+= --disable-asm
.endif
# If you want to help with testing silc-client, uncomment this.
#
#CONFIGURE_ARGS+= --enable-debug
PLIST_SRC+= ${PKGDIR}/PLIST
.include "../../devel/ncurses/buildlink.mk"
.include "../../devel/glib/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|