2013-09-21 01:17:30 +02:00
|
|
|
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
|
2001-08-22 10:26:47 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xmlscan
|
2003-05-12 19:47:43 +02:00
|
|
|
PORTVERSION= 0.2.3
|
2015-09-01 21:29:07 +02:00
|
|
|
PORTREVISION= 1
|
2001-08-22 10:26:47 +02:00
|
|
|
CATEGORIES= textproc ruby
|
2003-01-31 21:30:18 +01:00
|
|
|
MASTER_SITES= http://www.blue.sky.or.jp/atelier/ruby/xmlscan/
|
2001-08-22 10:26:47 +02:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2009-06-16 17:53:25 +02:00
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
2003-02-18 06:42:05 +01:00
|
|
|
COMMENT= High-performance non-validating XML parser written in 100% pure Ruby
|
2001-08-22 10:26:47 +02:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
2002-06-09 08:10:04 +02:00
|
|
|
|
2015-09-01 21:29:07 +02:00
|
|
|
NO_ARCH= yes
|
2003-01-31 21:30:18 +01:00
|
|
|
NO_BUILD= yes
|
2015-09-01 21:29:07 +02:00
|
|
|
USES= shebangfix
|
|
|
|
SHEBANG_FILES= samples/xmlbench.rb \
|
|
|
|
samples/xmlconftest.rb
|
2003-01-31 21:30:18 +01:00
|
|
|
|
|
|
|
DOCS_EN= ChangeLog \
|
|
|
|
README \
|
|
|
|
THANKS \
|
|
|
|
doc/changes.* \
|
|
|
|
doc/en/*
|
|
|
|
DOCS_JA= doc/ja/*
|
2001-08-22 10:26:47 +02:00
|
|
|
|
2014-07-16 05:18:26 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2001-08-22 10:26:47 +02:00
|
|
|
do-install:
|
2014-02-26 05:45:03 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
|
|
|
|
${CP} -R ${WRKSRC}/lib/xmlscan ${STAGEDIR}${RUBY_SITELIBDIR}/
|
|
|
|
${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
|
|
|
|
${CP} -R ${WRKSRC}/samples/* ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
|
|
|
|
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
|
2003-01-31 21:30:18 +01:00
|
|
|
.for f in ${DOCS_EN}
|
2014-02-26 05:45:03 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
|
2003-01-31 21:30:18 +01:00
|
|
|
.endfor
|
|
|
|
.for f in ${DOCS_JA}
|
2014-02-26 05:45:03 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/
|
2003-01-31 21:30:18 +01:00
|
|
|
.endfor
|
2001-08-22 10:26:47 +02:00
|
|
|
|
2002-09-21 09:11:33 +02:00
|
|
|
.include <bsd.port.mk>
|