2011-05-11 08:03:19 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.64 2011/05/11 12:03:20 jasper 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
|
|
|
|
2009-09-27 15:25:02 -04:00
|
|
|
DISTNAME= silc-server-1.1.18
|
2011-05-11 08:03:19 -04:00
|
|
|
REVISION= 2
|
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
|
|
|
|
2008-09-26 17:17:57 -04:00
|
|
|
# GPLv2
|
2002-12-15 22:40:02 -05:00
|
|
|
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/ \
|
|
|
|
ftp://ftp.no.silcnet.org/pub/silc/server/sources/ \
|
2008-04-22 16:24:10 -04:00
|
|
|
http://the.wiretapped.net/security/network-security/silc/server/sources/
|
2002-12-15 22:40:02 -05:00
|
|
|
|
2004-08-10 05:38:34 -04:00
|
|
|
MODULES= converters/libiconv
|
2002-12-15 22:40:02 -05:00
|
|
|
|
2008-04-12 18:52:46 -04:00
|
|
|
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
|
2010-11-19 17:31:32 -05:00
|
|
|
BUILD_DEPENDS+= devel/yasm
|
2008-04-12 18:52:46 -04:00
|
|
|
.endif
|
|
|
|
|
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
|
2010-05-17 18:53:37 -04:00
|
|
|
AUTOCONF_VERSION= 2.63
|
2008-04-12 18:52:46 -04:00
|
|
|
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
|
|
|
|
CONFIGURE_ENV+= ac_cv_path_NASM=no YASM=${LOCALBASE}/bin/yasm
|
|
|
|
.endif
|
2009-01-09 20:04:06 -05:00
|
|
|
CONFIGURE_ARGS+= --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
|
|
|
--enable-debug
|
2002-12-15 22:40:02 -05:00
|
|
|
|
2008-04-12 18:52:46 -04:00
|
|
|
.if ${MACHINE_ARCH} != "amd64" && ${MACHINE_ARCH} != "i386"
|
2002-12-15 22:40:02 -05:00
|
|
|
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>
|