2008-03-31 07:07:45 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.36 2008/03/31 11:07:45 sthen Exp $
|
2003-05-04 00:02:53 -04:00
|
|
|
|
2007-09-01 16:11:21 -04:00
|
|
|
COMMENT= Secure Internet Live Conferencing (SILC) server
|
2002-12-15 22:40:02 -05:00
|
|
|
|
2008-03-22 19:06:50 -04:00
|
|
|
DISTNAME= silc-server-1.1.2
|
2008-03-31 07:07:45 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
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/
|
|
|
|
|
2007-09-01 16:11:21 -04:00
|
|
|
MAINTAINER= Brad Smith <brad@comstyle.com>
|
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
|
2008-03-22 19:06:50 -04:00
|
|
|
WANTLIB= c pthread
|
2002-12-15 22:40:02 -05:00
|
|
|
|
|
|
|
MASTER_SITES= http://ftp.silcnet.org/server/sources/ \
|
|
|
|
ftp://ftp.silcnet.org/silc/server/sources/ \
|
|
|
|
http://www.planetmirror.com/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/
|
|
|
|
|
2004-08-10 05:38:34 -04:00
|
|
|
MODULES= converters/libiconv
|
2002-12-15 22:40:02 -05:00
|
|
|
|
2003-08-18 23:52:27 -04:00
|
|
|
FLAVORS= operops
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Moperops}
|
2005-09-09 16:08:54 -04:00
|
|
|
PATCH_LIST+= patch-* operops-*
|
2003-08-18 23:52:27 -04:00
|
|
|
.endif
|
|
|
|
|
2003-10-31 11:40:06 -05:00
|
|
|
CONFDIR= ${SYSCONFDIR}/silcd
|
|
|
|
SUBST_VARS= CONFDIR
|
|
|
|
|
2007-04-01 16:43:59 -04:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
LIBTOOL_FLAGS= --tag=disable-shared
|
2004-01-06 23:53:12 -05:00
|
|
|
CONFIGURE_STYLE= autoconf
|
2008-03-22 19:06:50 -04:00
|
|
|
AUTOCONF_VERSION= 2.61
|
2004-01-06 23:53:12 -05:00
|
|
|
CONFIGURE_ARGS+= --enable-ipv6 \
|
2008-03-22 19:06:50 -04:00
|
|
|
--docdir=${PREFIX}/share/doc/silcd \
|
2004-01-06 23:53:12 -05:00
|
|
|
--with-etcdir=${CONFDIR} \
|
|
|
|
--with-logsdir=/var/log/silcd \
|
|
|
|
--with-silcd-config-file=${CONFDIR}/silcd.conf \
|
2007-04-01 16:43:59 -04:00
|
|
|
--with-silcd-pid-file=/var/run/silcd.pid \
|
2008-03-31 07:07:45 -04:00
|
|
|
--without-libtoolfix \
|
|
|
|
--enable-debug
|
2002-12-15 22:40:02 -05:00
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} != "i386"
|
|
|
|
CONFIGURE_ARGS+= --disable-asm
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
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/silcalgs.conf \
|
2002-12-15 22:40:02 -05:00
|
|
|
${PREFIX}/share/examples/silcd
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|