1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/security/ruby-acl/Makefile
2003-02-18 05:42:05 +00:00

43 lines
934 B
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.1
CATEGORIES= security ipv6 ruby
MASTER_SITES= http://www2a.biglobe.ne.jp/~seki/ruby/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
COMMENT= Ruby module to provide Access Control List checks
USE_RUBY= yes
NO_BUILD= yess
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: doc-install
.include <bsd.port.mk>
doc-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/acltest.rb ${RUBY_MODEXAMPLESDIR}
${MKDIR} ${RUBY_MODDOCDIR}
${CP} -R ${WRKSRC}/doc/* ${RUBY_MODDOCDIR}/
.endif