freebsd-ports/security/ruby-acl/Makefile
Akinori MUSHA c68548820c Now bsd.ruby.mk is automatically included by bsd.port.mk when USE_RUBY
or USE_LIBRUBY is defined, individual ruby ports no longer need to
include it explicitly.
2000-09-26 08:02:17 +00:00

49 lines
1.0 KiB
Makefile

# 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
CATEGORIES= security ipv6 ruby
MASTER_SITES= ${MASTER_SITE_RUBY} \
http://www2a.biglobe.ne.jp/~seki/ruby/
MASTER_SITE_SUBDIR= contrib
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
.if !defined(NOPORTDOCS)
USE_RUBY_RD= yes
.endif
do-build:
.if !defined(NOPORTDOCS)
.for f in acl.rd acl.rd.ja
@cd ${WRKSRC}/doc; \
${RUBY_RD} ${f} > ${f:S/.rd/.html/}
.endfor
.endif
do-install:
@cd ${WRKSRC}; \
${RUBY} install.rb
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/acl
${INSTALL_DATA} ${WRKSRC}/acltest.rb ${RUBY_EXAMPLESDIR}/acl
${MKDIR} ${RUBY_DOCDIR}/acl/ja
.for f in README doc/acl.rd doc/acl.html
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/acl
.endfor
.for f in README.ja doc/acl.rd.ja doc/acl.html.ja
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/acl/ja
.endfor
.endif
.include <bsd.port.mk>