openbsd-ports/security/libnettle/Makefile

44 lines
1.0 KiB
Makefile
Raw Normal View History

2011-08-25 05:20:27 -04:00
# $OpenBSD: Makefile,v 1.3 2011/08/25 09:20:27 ajacoutot Exp $
COMMENT= cryptographic library
2011-08-25 05:20:27 -04:00
DISTNAME= nettle-2.2
PKGNAME= lib${DISTNAME}
2011-08-25 05:20:27 -04:00
SHARED_LIBS += hogweed 0.1 # 2.1
SHARED_LIBS += nettle 0.1 # 4.1
CATEGORIES= security devel
HOMEPAGE= http://www.lysator.liu.se/~nisse/nettle/
2011-08-25 05:20:27 -04:00
# LGPLv2.1+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += c gmp
MASTER_SITES= http://www.lysator.liu.se/~nisse/archive/ \
ftp://ftp.lysator.liu.se/pub/security/lsh
BUILD_DEPENDS= devel/m4
LIB_DEPENDS= devel/gmp
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
M4=${LOCALBASE}/bin/gm4
MAKE_FLAGS= LIBNETTLE_SONAME=libnettle.so.${LIBnettle_VERSION} \
LIBNETTLE_FILE=libnettle.so.${LIBnettle_VERSION} \
LIBHOGWEED_SONAME=libhogweed.so.${LIBhogweed_VERSION} \
LIBHOGWEED_FILE=libhogweed.so.${LIBhogweed_VERSION}
.include <bsd.port.mk>