ajacoutot a183b75553 "/usr/local/lib/pkgconfig/" is part of mtree(8).
Packages should not own this dir to prevent its deletion or a warning that it
cannot be removed because it's not empty at pkg_delete(1) time.
2015-05-22 11:31:10 +00:00

43 lines
980 B
Makefile

# $OpenBSD: Makefile,v 1.37 2015/05/22 11:31:14 ajacoutot Exp $
COMMENT= toolkit for the development of SILC applications
DISTNAME= silc-toolkit-1.1.12
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=silc/}
EXTRACT_SUFX= .tar.bz2
REVISION= 0
SHARED_LIBS= silc 10.0 \
silcclient 8.0 \
HOMEPAGE= http://silcnet.org/dev.html
MAINTAINER= Brad Smith <brad@comstyle.com>
# BSD
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= pthread
MODULES= converters/libiconv
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
BUILD_DEPENDS+= devel/yasm
.endif
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.69
.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"
CONFIGURE_ARGS+=--disable-asm
.endif
.include <bsd.port.mk>