2000-08-12 20:09:41 +00:00
|
|
|
# New ports collection makefile for: Ruby-property
|
|
|
|
# Date created: 7 Aug 2000
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
2000-08-07 06:09:19 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= property
|
|
|
|
PORTVERSION= 19990308
|
2000-08-16 12:21:24 +00:00
|
|
|
CATEGORIES= devel ruby
|
2000-08-07 06:09:19 +00:00
|
|
|
MASTER_SITES= http://www.ueda.info.waseda.ac.jp/~igarashi/ruby/
|
|
|
|
PKGNAMEPREFIX= ruby-
|
|
|
|
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
|
2000-08-08 16:08:31 +00:00
|
|
|
DIST_SUBDIR= ruby
|
2000-08-07 06:09:19 +00:00
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
|
|
|
|
RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
|
|
|
|
|
2000-08-12 20:09:41 +00:00
|
|
|
RUBY?= ${LOCALBASE}/bin/ruby
|
|
|
|
RUBY_VER?= 1.4
|
|
|
|
RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
|
2000-08-07 06:09:19 +00:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${PERL} -i -pe 's|rubyapi.css|../rubyapi.css|g' ${WRKSRC}/Properties-ja.html
|
|
|
|
|
|
|
|
do-install:
|
2000-08-12 20:09:41 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/property.rb ${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/
|
2000-08-07 06:09:19 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/ruby/property/ja
|
|
|
|
.for f in property-example.rb test.default property.README Properties.html rubyapi.css
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/property
|
|
|
|
.endfor
|
|
|
|
.for f in property.README.ja Properties-ja.html
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/property/ja
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|