ports/security/libsodium/Makefile

30 lines
674 B
Makefile

COMMENT= library for network communications and cryptography
DISTNAME= libsodium-1.0.19
SHARED_LIBS += sodium 10.1 # 27.0
CATEGORIES= security net
HOMEPAGE= https://github.com/jedisct1/libsodium
# ISC
PERMIT_PACKAGE= Yes
WANTLIB += pthread
SITES= https://download.libsodium.org/libsodium/releases/ \
https://download.libsodium.org/libsodium/releases/old/
SEPARATE_BUILD= Yes
WRKSRC= ${WRKDIR}/libsodium-stable
CONFIGURE_STYLE= gnu
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-aux
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libsodium
${INSTALL_DATA} ${WRKSRC}/README.markdown ${PREFIX}/share/doc/libsodium/
.include <bsd.port.mk>