mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
Add ruby-rwv2, a Ruby extension that wraps around wv2.
This commit is contained in:
parent
485724faa9
commit
87f9e32a0e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=89807
@ -385,6 +385,7 @@
|
||||
SUBDIR += ruby-rexml
|
||||
SUBDIR += ruby-rss
|
||||
SUBDIR += ruby-rss.alt
|
||||
SUBDIR += ruby-rwv2
|
||||
SUBDIR += ruby-sablot
|
||||
SUBDIR += ruby-sary
|
||||
SUBDIR += ruby-spreadsheet-excel
|
||||
|
40
textproc/ruby-rwv2/Makefile
Normal file
40
textproc/ruby-rwv2/Makefile
Normal file
@ -0,0 +1,40 @@
|
||||
# New ports collection makefile for: RwV2
|
||||
# Date created: 29 September 2003
|
||||
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= rwv2
|
||||
PORTVERSION= 0.5.0
|
||||
CATEGORIES= textproc ruby
|
||||
MASTER_SITES= http://download.ywesee.com/ruby/rwv2/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
COMMENT= A Ruby extension that wraps around wv2
|
||||
|
||||
LIB_DEPENDS= wv2.1:${PORTSDIR}/textproc/wv2
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RUBY_SETUP= yes
|
||||
RUBY_SETUP= install.rb
|
||||
|
||||
CONFIGURE_ARGS= -- \
|
||||
--with-wv2-include="${LOCALBASE}/include/wv2" \
|
||||
--with-wv2-lib="${LOCALBASE}/lib"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${RUBY_VER} < 1.8
|
||||
IGNORE= only works with ruby 1.8 or later
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${RUBY_MODDOCDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${RUBY_MODDOCDIR}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
1
textproc/ruby-rwv2/distinfo
Normal file
1
textproc/ruby-rwv2/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ruby/rwv2-0.5.0.tar.gz) = 295a11c084dcc446327f9742d2c2d405
|
5
textproc/ruby-rwv2/pkg-descr
Normal file
5
textproc/ruby-rwv2/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
RWV2 Library is a wrapper around the wv2 library for Ruby: parses
|
||||
Microsoft Word files.
|
||||
|
||||
Author: Hannes Wyss <hwyss@ywesee.com>
|
||||
WWW: http://www.ywesee.com/index.cgi?RwV2
|
5
textproc/ruby-rwv2/pkg-plist
Normal file
5
textproc/ruby-rwv2/pkg-plist
Normal file
@ -0,0 +1,5 @@
|
||||
%%RUBY_SITEARCHLIBDIR%%/rwv2.so
|
||||
%%RUBY_SITELIBDIR%%/rwv2/handlers.rb
|
||||
@dirrm %%RUBY_SITELIBDIR%%/rwv2
|
||||
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
|
||||
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
|
Loading…
x
Reference in New Issue
Block a user