2014-07-02 08:49:42 +00:00

33 lines
736 B
Makefile

# $OpenBSD: Makefile,v 1.4 2014/07/02 08:49:42 sthen Exp $
COMMENT= library for network communications and cryptography
DISTNAME= libsodium-0.6.0
SHARED_LIBS += sodium 2.0 # .11.0
CATEGORIES= security net
HOMEPAGE= https://github.com/jedisct1/libsodium
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
# ISC
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += m
MASTER_SITES= https://download.libsodium.org/libsodium/releases/
SEPARATE_BUILD= Yes
# If built with OpenBSD libtool, self-tests and net/dnscrypt-proxy fail
USE_LIBTOOL= gnu
CONFIGURE_STYLE= gnu
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libsodium
${INSTALL_DATA} ${WRKSRC}/README.markdown ${PREFIX}/share/doc/libsodium/
.include <bsd.port.mk>