aboutsummaryrefslogtreecommitdiffstats
path: root/security/ruby-hmac/Makefile
blob: 90b0b1aa754b95c8f209ff32a077a46d9131261c (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
# New ports collection makefile for:    ruby-hmac
# Date created:     20 February 2002
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   hmac
PORTVERSION=    0.3
CATEGORIES= security ruby
MASTER_SITES=   http://deisui.org/~ueno/ruby/
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DISTNAME=   ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR=    ruby

MAINTAINER= knu@FreeBSD.org
COMMENT=    A Ruby library which implements the HMAC algorithm

USE_RUBY=   yes

NO_BUILD=   yes

do-install:
    ${INSTALL_DATA} ${WRKSRC}/hmac*.rb ${RUBY_SITELIBDIR}/
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_MODEXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/test.rb ${RUBY_MODEXAMPLESDIR}/
.endif

.include <bsd.port.mk>