2011-07-07 12:59:36 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.31 2011/07/07 16:59:36 jasper Exp $
|
2004-04-11 17:25:13 -04:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= toolkit for the development of SILC applications
|
2005-04-08 16:54:36 -04:00
|
|
|
|
2009-08-11 17:17:21 -04:00
|
|
|
DISTNAME= silc-toolkit-1.1.10
|
2011-07-07 12:59:36 -04:00
|
|
|
REVISION = 3
|
2004-04-11 17:25:13 -04:00
|
|
|
CATEGORIES= devel
|
2009-01-26 07:46:12 -05:00
|
|
|
MASTER_SITES= http://www.silcnet.org/download/toolkit/sources/
|
|
|
|
|
2009-01-09 20:30:54 -05:00
|
|
|
SHARED_LIBS= silc 9.0 \
|
|
|
|
silcclient 7.0 \
|
2007-10-01 17:30:06 -04:00
|
|
|
|
2004-04-11 17:25:13 -04:00
|
|
|
HOMEPAGE= http://www.silcnet.org/software/developers/toolkit/
|
2007-08-11 18:14:27 -04:00
|
|
|
|
2009-01-26 07:46:12 -05:00
|
|
|
MAINTAINER= Brad Smith <brad@comstyle.com>
|
|
|
|
|
2005-07-23 20:26:13 -04:00
|
|
|
# BSD
|
2004-04-11 17:25:13 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2008-09-08 11:01:31 -04:00
|
|
|
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
|
2010-11-15 14:45:56 -05:00
|
|
|
BUILD_DEPENDS+= devel/yasm
|
2008-09-08 11:01:31 -04:00
|
|
|
.endif
|
|
|
|
|
2006-01-09 10:08:14 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2009-01-09 20:30:54 -05:00
|
|
|
CONFIGURE_STYLE= autoconf
|
2010-05-17 18:50:13 -04:00
|
|
|
AUTOCONF_VERSION= 2.63
|
2008-09-08 11:01:31 -04:00
|
|
|
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
|
|
|
|
CONFIGURE_ENV+= ac_cv_path_NASM=no YASM=${LOCALBASE}/bin/yasm
|
|
|
|
.endif
|
2004-04-11 17:25:13 -04:00
|
|
|
CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
|
2007-10-01 17:30:06 -04:00
|
|
|
--docdir=${PREFIX}/share/doc/silc \
|
2009-01-09 20:30:54 -05:00
|
|
|
--includedir=${PREFIX}/include/silc
|
2004-04-11 17:25:13 -04:00
|
|
|
|
2008-09-08 11:01:31 -04:00
|
|
|
.if ${MACHINE_ARCH} != "amd64" && ${MACHINE_ARCH} != "i386"
|
2005-12-13 22:21:53 -05:00
|
|
|
CONFIGURE_ARGS+=--disable-asm
|
2004-04-11 17:25:13 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|