openbsd-ports/devel/silc-toolkit/Makefile

42 lines
1.0 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.28 2010/05/17 08:36:53 sthen Exp $
COMMENT= toolkit for the development of SILC applications
2009-08-11 17:17:21 -04:00
DISTNAME= silc-toolkit-1.1.10
PKGNAME= ${DISTNAME}p1
CATEGORIES= devel
MASTER_SITES= http://www.silcnet.org/download/toolkit/sources/
SHARED_LIBS= silc 9.0 \
silcclient 7.0 \
HOMEPAGE= http://www.silcnet.org/software/developers/toolkit/
MAINTAINER= Brad Smith <brad@comstyle.com>
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>