aboutsummaryrefslogtreecommitdiffstats
path: root/math/p5-Math-TrulyRandom/Makefile
blob: d558f6b9201606de67074383cb9b80ac9f9f85b3 (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
# Created by: Anders Nordby <anders@FreeBSD.org>
# $FreeBSD$

PORTNAME=   Math-TrulyRandom
PORTVERSION=    1.0
CATEGORIES= math perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= anders@FreeBSD.org
COMMENT=    Perl interface to a truly random number generator function

LICENSE=    BSD3CLAUSE

USES=       perl5
USE_PERL5=  configure

OPTIONS_DEFINE= DOCS

PORTDOCS=   *

.include <bsd.port.options.mk>

post-install:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/truerand.c ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/truerand.h ${STAGEDIR}${DOCSDIR}
    ${STRIP_CMD} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto/Math/TrulyRandom/TrulyRandom.so

.include <bsd.port.mk>