diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-08-30 07:26:32 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-08-30 07:26:32 +0000 |
commit | 7b796de7349e8c576bd717399ef3c4f9264e260a (patch) | |
tree | f2b95527b1dbfb60211cf76f004634822e9e057b /comms/ruby-termios/Makefile | |
parent | Update to 0.2. (diff) |
Add ruby-termios, a Ruby interface to termios.
Notes
Notes:
svn path=/head/; revision=47146
Diffstat (limited to 'comms/ruby-termios/Makefile')
-rw-r--r-- | comms/ruby-termios/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/comms/ruby-termios/Makefile b/comms/ruby-termios/Makefile new file mode 100644 index 000000000000..f65a46915600 --- /dev/null +++ b/comms/ruby-termios/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: ruby-termios +# Date created: 30 August 2001 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= termios +PORTVERSION= 0 +CATEGORIES= comms ruby +MASTER_SITES= http://arika.org/pub/Tools/Ruby/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME} +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +USE_RUBY= yes +USE_RUBY_EXTCONF= yes + +INSTALL_TARGET= site-install + +post-patch: + ${RUBY} -i -pe 'gsub /ttyS\d/, "cuaa0"' ${WRKSRC}/test/*.rb + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME} + ${CP} -R ${WRKSRC}/test/*.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/ + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${RUBY_DOCDIR}/${PORTNAME}/ +.endif + +.include <bsd.port.mk> |