freebsd-ports/security/libsodium/Makefile
Danilo Egea Gondolfo 262fd5ea9d - Update from 0.4.2 to 0.4.3
- Add USES=pkgconfig
- Add stage support

PR:		ports/182591
Submitted by:	csosstudy <csosstudy@gmail.com> (maintainer)
Approved by:	wg (mentor)
2013-10-11 13:43:52 +00:00

32 lines
659 B
Makefile

# $FreeBSD$
PORTNAME= libsodium
PORTVERSION= 0.4.3
CATEGORIES= security
MASTER_SITES= http://download.dnscrypt.org/libsodium/releases/
MAINTAINER= csosstudy@gmail.com
COMMENT= Library to build higher-level cryptographic tools
LICENSE= ISCL
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USES= pkgconfig
OPTIONS_DEFINE= DOCS
PORTDOCS= AUTHORS README.markdown THANKS
post-patch:
@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
${WRKSRC}/Makefile.in
post-build:
cd ${WRKSRC} && ${MAKE} check
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>