2008-09-08 11:01:31 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2008/09/08 15:01:31 brad 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
|
|
|
|
2008-03-22 18:38:00 -04:00
|
|
|
DISTNAME= silc-toolkit-1.1.7
|
2008-09-08 11:01:31 -04:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2004-04-11 17:25:13 -04:00
|
|
|
CATEGORIES= devel
|
2007-10-01 17:30:06 -04:00
|
|
|
SHARED_LIBS= silc 7.0 \
|
2008-03-22 18:38:00 -04:00
|
|
|
silcclient 5.1 \
|
2007-10-01 17:30:06 -04:00
|
|
|
|
2004-04-11 17:25:13 -04:00
|
|
|
MASTER_SITES= http://www.silcnet.org/download/toolkit/sources/
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.silcnet.org/software/developers/toolkit/
|
2007-08-11 18:14:27 -04:00
|
|
|
|
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"
|
|
|
|
BUILD_DEPENDS+= :yasm-*:devel/yasm
|
|
|
|
.endif
|
|
|
|
|
2006-01-09 10:08:14 -05:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
CONFIGURE_STYLE=gnu
|
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} \
|
|
|
|
--enable-ipv6 \
|
2007-10-01 17:30:06 -04:00
|
|
|
--docdir=${PREFIX}/share/doc/silc \
|
2006-01-09 10:08:14 -05:00
|
|
|
--includedir=${PREFIX}/include/silc \
|
|
|
|
--without-libtoolfix
|
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>
|