diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-10-08 11:16:04 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-10-08 11:16:04 +0000 |
commit | 4a4bb779b628e1f2475ed2c8d047af7b55549b07 (patch) | |
tree | 51fe2265e6d9f3abb7ee1ee953110ce35e03f130 /comms/ruby-termios | |
parent | Add py-fam 1.0.1, (diff) |
Update to 0.9.1. (PORTEPOCH bumped)
Notes
Notes:
svn path=/head/; revision=67627
Diffstat (limited to 'comms/ruby-termios')
-rw-r--r-- | comms/ruby-termios/Makefile | 25 | ||||
-rw-r--r-- | comms/ruby-termios/distinfo | 2 | ||||
-rw-r--r-- | comms/ruby-termios/pkg-plist | 10 |
3 files changed, 25 insertions, 12 deletions
diff --git a/comms/ruby-termios/Makefile b/comms/ruby-termios/Makefile index eb828ac93039..7f100e500577 100644 --- a/comms/ruby-termios/Makefile +++ b/comms/ruby-termios/Makefile @@ -6,30 +6,41 @@ # PORTNAME= termios -PORTVERSION= 20001115 -PORTREVISION= 1 +PORTVERSION= 0.9.1 +PORTEPOCH= 1 CATEGORIES= comms ruby -MASTER_SITES= http://arika.org/pub/Tools/Ruby/ +MASTER_SITES= http://arika.org/archive/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} -DISTNAME= ${PORTNAME} +DISTNAME= ruby-${PORTNAME}-${PORTVERSION} DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org USE_RUBY= yes USE_RUBY_EXTCONF= yes +USE_RUBY_RDTOOL= yes INSTALL_TARGET= site-install +DOCS= ChangeLog README termios.html termios.rd + post-patch: - ${RUBY} -i -pe 'gsub /ttyS\d/, "cuaa0"' ${WRKSRC}/test/*.rb + ${RUBY} -i -pe 'gsub(/ttyS\d/, "cuaa0")' ${WRKSRC}/examples/*.rb + ${RUBY} -i -pe 'gsub(/\.c_/, ".")' ${WRKSRC}/examples/*.rb + +post-build: +.if !defined(NOPORTDOCS) + cd ${WRKSRC}; ${RUBY_RD2} termios.rd > termios.html +.endif post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODEXAMPLESDIR} - ${CP} -R ${WRKSRC}/test/*.rb ${RUBY_MODEXAMPLESDIR}/ + ${INSTALL_DATA} ${WRKSRC}/examples/*.rb ${RUBY_MODEXAMPLESDIR}/ ${MKDIR} ${RUBY_MODDOCDIR} - ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${RUBY_MODDOCDIR}/ +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ +.endfor .endif .include <bsd.port.mk> diff --git a/comms/ruby-termios/distinfo b/comms/ruby-termios/distinfo index 2f30d035106a..f97c5e92750d 100644 --- a/comms/ruby-termios/distinfo +++ b/comms/ruby-termios/distinfo @@ -1 +1 @@ -MD5 (ruby/termios.tar.gz) = 7de192eb6f6b16cd17cb6e87df3ef333 +MD5 (ruby/ruby-termios-0.9.1.tar.gz) = 5e530b1a1c252f166c5fe8b9d7346d36 diff --git a/comms/ruby-termios/pkg-plist b/comms/ruby-termios/pkg-plist index 5799f2747685..975945d78b02 100644 --- a/comms/ruby-termios/pkg-plist +++ b/comms/ruby-termios/pkg-plist @@ -1,8 +1,10 @@ %%RUBY_SITEARCHLIBDIR%%/termios.so %%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/termios.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/termios.rd %%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test0.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test1.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test2.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test3.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/modem_check.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/secret_input1.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/secret_input2.rb %%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% |