2004-03-03 13:17:13 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2004/03/03 18:17:13 brad Exp $
|
2002-12-15 22:40:02 -05:00
|
|
|
|
2003-05-04 00:02:53 -04:00
|
|
|
.if ${MACHINE_ARCH} == "powerpc"
|
2004-02-12 01:34:22 -05:00
|
|
|
BROKEN= "config file parser bug on ${MACHINE_ARCH}"
|
2003-05-04 00:02:53 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
COMMENT= "Secure Internet Live Conferencing (SILC) server"
|
2002-12-15 22:40:02 -05:00
|
|
|
|
2004-03-03 13:17:13 -05:00
|
|
|
DISTNAME= silc-server-0.9.18
|
2002-12-15 22:40:02 -05:00
|
|
|
CATEGORIES= net
|
2004-02-12 01:34:22 -05:00
|
|
|
|
2002-12-15 22:40:02 -05:00
|
|
|
HOMEPAGE= http://www.silcnet.org/
|
|
|
|
|
2003-10-28 23:12:47 -05:00
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
2002-12-15 22:40:02 -05:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= http://ftp.silcnet.org/server/sources/ \
|
|
|
|
ftp://ftp.silcnet.org/silc/server/sources/ \
|
|
|
|
http://www.planetmirror.com/pub/silcnet/server/sources/ \
|
|
|
|
ftp://ftp.au.silcnet.org/pub/silcnet/server/sources/ \
|
|
|
|
http://munitions.vipul.net/software/mirrors/silc/server/sources/ \
|
|
|
|
ftp://ftp.no.silcnet.org/pub/silc/server/sources/ \
|
|
|
|
http://the.wiretapped.net/security/network-security/silc/server/sources/ \
|
|
|
|
ftp://ftp.wiretapped.net/pub/security/network-security/silc/server/sources/
|
|
|
|
|
|
|
|
MODULES= iconv
|
|
|
|
|
2003-08-18 23:52:27 -04:00
|
|
|
FLAVORS= operops
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Moperops}
|
2003-10-28 23:12:47 -05:00
|
|
|
PATCH_LIST+= operops-* patch-*
|
2003-08-18 23:52:27 -04:00
|
|
|
.endif
|
|
|
|
|
2003-10-31 11:40:06 -05:00
|
|
|
CONFDIR= ${SYSCONFDIR}/silcd
|
|
|
|
SUBST_VARS= CONFDIR
|
|
|
|
|
2004-01-06 23:53:12 -05:00
|
|
|
CONFIGURE_STYLE= autoconf
|
2004-02-29 02:12:41 -05:00
|
|
|
AUTOCONF_VERSION= 2.58
|
2004-01-06 23:53:12 -05:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/lib/silcmath/mpi
|
|
|
|
CONFIGURE_ARGS+= --enable-ipv6 \
|
|
|
|
--without-irssi \
|
|
|
|
--with-docdir=${PREFIX}/share/doc/silcd \
|
|
|
|
--with-etcdir=${CONFDIR} \
|
|
|
|
--with-logsdir=/var/log/silcd \
|
|
|
|
--with-simdir=${PREFIX}/lib \
|
|
|
|
--with-silcd-config-file=${CONFDIR}/silcd.conf \
|
|
|
|
--with-silcd-pid-file=/var/run/silcd.pid
|
2002-12-15 22:40:02 -05:00
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} != "i386"
|
|
|
|
CONFIGURE_ARGS+= --disable-asm
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/silcd
|
2003-10-28 23:12:47 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/silcd
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/FAQ ${PREFIX}/share/doc/silcd
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/example_silcd.conf \
|
2003-05-04 00:02:53 -04:00
|
|
|
${PREFIX}/share/examples/silcd/silcd.conf
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/examples/cell_*.conf \
|
|
|
|
${PREFIX}/share/examples/silcd
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/silcalgs.conf \
|
2002-12-15 22:40:02 -05:00
|
|
|
${PREFIX}/share/examples/silcd
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|