aboutsummaryrefslogtreecommitdiffstats
path: root/security/pecl-scrypt/Makefile
blob: 25ca3e495ab73c10f94f86f66c4eaef553cf8007 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: Horia Racoviceanu <horia@racoviceanu.com>
# $FreeBSD$

PORTNAME=   scrypt
PORTVERSION=    1.4.2
CATEGORIES= security pear
MASTER_SITES=   http://pecl.php.net/get/
PKGNAMEPREFIX=  pecl-

MAINTAINER= dbaio@bsd.com.br
COMMENT=    PHP wrapper to Colin Percival's scrypt implementation

LICENSE=    BSD2CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE

USES=       php:ext tar:tgz
USE_PHP=    hash:build

OPTIONS_DEFINE= DOCS EXAMPLES

PORTDOCS=   README.md
PORTEXAMPLES=   scrypt.php

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

post-install-EXAMPLES-on:
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>