mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
596ebf8a49
Overall changes: Use tabs instead of sequential spaces. Note Author as well as WWW in DESCR. Do not install examples when NOPORTDOCS. Make RUBY, RUBY_VER and RUBY_ARCH variables overridable. ruby-date2: share/doc/ruby/date2/examples/ -> share/examples/ruby/date2/cal.rb textproc/ruby-html-parser: databases/ruby-mysql: devel/ruby-optparse: devel/ruby-property: Install modules under lib/ruby/site_ruby/${RUBY_VER}/ instead of lib/ruby/site_ruby/ or lib/ruby/${RUBY_VER}/ textproc/ruby-rdtool: Install documents in .rd format too. Format optparse's rd file. (Since ruby-rdtool depends on optparse, it cannot be done during optparse's build process. So ruby-rdtool should take care of that when it is installed. :)
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
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-
|
|
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
|
|
DIST_SUBDIR= ruby
|
|
|
|
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}"
|
|
|
|
RUBY?= ${LOCALBASE}/bin/ruby
|
|
RUBY_VER?= 1.4
|
|
RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
|
|
|
|
post-patch:
|
|
${PERL} -i -pe 's|rubyapi.css|../rubyapi.css|g' ${WRKSRC}/Properties-ja.html
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/property.rb ${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/
|
|
.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>
|