65 lines
1.8 KiB
Makefile
65 lines
1.8 KiB
Makefile
# $OpenBSD: Makefile,v 1.27 2005/11/04 00:09:56 naddy Exp $
|
|
|
|
COMMENT= "Secure Internet Live Conferencing (SILC) server"
|
|
|
|
DISTNAME= silc-server-1.0
|
|
PKGNAME= ${DISTNAME}p6
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= http://www.silcnet.org/
|
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c
|
|
|
|
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= converters/libiconv
|
|
|
|
FLAVORS= operops
|
|
FLAVOR?=
|
|
|
|
.if ${FLAVOR:L:Moperops}
|
|
PATCH_LIST+= patch-* operops-*
|
|
.endif
|
|
|
|
CONFDIR= ${SYSCONFDIR}/silcd
|
|
SUBST_VARS= CONFDIR
|
|
|
|
CONFIGURE_STYLE= autoconf
|
|
AUTOCONF_VERSION= 2.59
|
|
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
|
|
|
|
.if ${MACHINE_ARCH} != "i386"
|
|
CONFIGURE_ARGS+= --disable-asm
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/silcd
|
|
${INSTALL_DATA} ${WRKSRC}/doc/FAQ ${PREFIX}/share/doc/silcd
|
|
${INSTALL_DATA} ${WRKSRC}/doc/example_silcd.conf \
|
|
${PREFIX}/share/examples/silcd/silcd.conf
|
|
${INSTALL_DATA} ${WRKSRC}/doc/silcalgs.conf \
|
|
${PREFIX}/share/examples/silcd
|
|
|
|
.include <bsd.port.mk>
|