summaryrefslogtreecommitdiff
path: root/security/rubygem-rbnacl-libsodium/Makefile
blob: 9e6d63ddbf3a1459a6017d75da61e7e9d4ed6447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

PORTNAME=	rbnacl-libsodium
PORTVERSION=	1.0.16
CATEGORIES=	security rubygems
MASTER_SITES=	RG

MAINTAINER=	mfechner@FreeBSD.org
COMMENT=	Port rbnacl with bundled libsodium

LICENSE=	MIT

RUN_DEPENDS=	rubygem-rbnacl>=3.0.1:security/rubygem-rbnacl

USES=		gem libtool
USE_LDCONFIG=	yes
USE_RUBY=	yes

post-install:
	( cd ${WRKSRC} && \
	${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME}-${PORTVERSION} )
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/vendor/libsodium/src/libsodium/.libs/libsodium.so.23.1.0
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/vendor/libsodium/dist/lib/libsodium.so.23.1.0

.include <bsd.port.mk>