aboutsummaryrefslogtreecommitdiffstats
path: root/security/ruby-acl/Makefile
blob: dd055aa53d7e4a93d887a31586055d9022c98f06 (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
33
34
35
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:    Ruby-acl
# Date created:     7 Sep 2000
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   acl
PORTVERSION=    1.0.1
CATEGORIES= security ipv6 ruby
MASTER_SITES=   http://www2a.biglobe.ne.jp/~seki/ruby/
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR=    ruby

MAINTAINER= ufo@februality.com
COMMENT=    Ruby module to provide Access Control List checks

USE_RUBY=   yes

NO_BUILD=   yes

RUBY_RD_FILES=  doc/acl.rd doc/ja/acl.rd.ja

post-extract:
    ${MKDIR} ${WRKSRC}/doc/ja
    ${MV} ${WRKSRC}/README ${WRKSRC}/doc/
    ${MV} ${WRKSRC}/README.ja ${WRKSRC}/doc/*.ja ${WRKSRC}/doc/ja/

do-install:
    @cd ${WRKSRC}; ${RUBY} install.rb

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_MODEXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/acltest.rb ${RUBY_MODEXAMPLESDIR}
    ${MKDIR} ${RUBY_MODDOCDIR}
    ${CP} -R ${WRKSRC}/doc/* ${RUBY_MODDOCDIR}/
.endif

.include <bsd.port.pre.mk>
.if ${RUBY_VER} == 1.9
BROKEN= does not build with ruby 1.9
.endif
.include <bsd.port.post.mk>