Files
ports/textproc/ruby-html-parser/Makefile
T
Akinori MUSHA 596ebf8a49 Do The Right Thing. (R)
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. :)
2000-08-12 20:09:41 +00:00

41 lines
984 B
Makefile

# New ports collection makefile for: Ruby-html-parser
# Date created: 7 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= html-parser
PORTVERSION= 19990912.p1
CATEGORIES= textproc # ruby
MASTER_SITES= http://www.jin.gr.jp/~nahi/Ruby/html-parser/
PKGNAMEPREFIX= ruby-
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
NO_BUILD= yes
PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
RUBY?= ${LOCALBASE}/bin/ruby
RUBY_VER?= 1.4
RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
MODULES= formatter.rb html-parser.rb sgml-parser.rb
do-install:
.for f in ${MODULES}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ruby/html-parser
${INSTALL_DATA} ${WRKSRC}/README.html ${PREFIX}/share/doc/ruby/html-parser/
.endif
.include <bsd.port.mk>