openbsd-ports/devel/silc-toolkit/Makefile

40 lines
1022 B
Makefile
Raw Normal View History

2009-01-26 07:04:35 -05:00
# $OpenBSD: Makefile,v 1.21 2009/01/26 12:04:35 ajacoutot Exp $
COMMENT= toolkit for the development of SILC applications
DISTNAME= silc-toolkit-1.1.9
2009-01-26 07:04:35 -05:00
PKGNAME= ${DISTNAME}p0
CATEGORIES= devel
SHARED_LIBS= silc 9.0 \
silcclient 7.0 \
MASTER_SITES= http://www.silcnet.org/download/toolkit/sources/
HOMEPAGE= http://www.silcnet.org/software/developers/toolkit/
2005-07-23 20:26:13 -04:00
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
BUILD_DEPENDS+= :yasm-*:devel/yasm
.endif
USE_LIBTOOL= Yes
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.61
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
CONFIGURE_ENV+= ac_cv_path_NASM=no YASM=${LOCALBASE}/bin/yasm
.endif
CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
--docdir=${PREFIX}/share/doc/silc \
--includedir=${PREFIX}/include/silc
.if ${MACHINE_ARCH} != "amd64" && ${MACHINE_ARCH} != "i386"
2005-12-13 22:21:53 -05:00
CONFIGURE_ARGS+=--disable-asm
.endif
.include <bsd.port.mk>