freebsd-ports/devel/ruby-property/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

40 lines
985 B
Makefile

# New ports collection makefile for: Ruby-property
# Date created: 7 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= property
PORTVERSION= 19990308
CATEGORIES= devel ruby
MASTER_SITES= http://www.ueda.info.waseda.ac.jp/~igarashi/ruby/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
post-patch:
${PERL} -i -pe 's|rubyapi.css|../rubyapi.css|g' ${WRKSRC}/Properties-ja.html
do-install:
${INSTALL_DATA} ${WRKSRC}/property.rb ${RUBY_SITELIBDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_DOCDIR}/property/ja
.for f in property-example.rb test.default property.README Properties.html rubyapi.css
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/property
.endfor
.for f in property.README.ja Properties-ja.html
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/property/ja
.endfor
.endif
.include <bsd.port.mk>