aboutsummaryrefslogtreecommitdiff
path: root/comms/ruby-termios
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-12-14 04:54:37 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-12-14 04:54:37 +0000
commit39a413d6b9a7cc3ecdfb4135af2645bf67d7f357 (patch)
treef493279f29bfb08ef3fa252fcd89eb2a8db61e3f /comms/ruby-termios
parent8b7f6be9ce44e273ad177399a92264a6d74c5287 (diff)
downloadports-39a413d6b9a7cc3ecdfb4135af2645bf67d7f357.tar.gz
ports-39a413d6b9a7cc3ecdfb4135af2645bf67d7f357.zip
Notes
Diffstat (limited to 'comms/ruby-termios')
-rw-r--r--comms/ruby-termios/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/comms/ruby-termios/Makefile b/comms/ruby-termios/Makefile
index 503e814dd61a..771183337326 100644
--- a/comms/ruby-termios/Makefile
+++ b/comms/ruby-termios/Makefile
@@ -28,14 +28,14 @@ DOCS= ChangeLog README \
${RUBY_RD_FILES} \
${RUBY_RD_HTML_FILES}
+.include <bsd.port.pre.mk>
+
post-patch:
${RUBY} -i -pe 'gsub(/ttyS\d/, "cuaa0")' ${WRKSRC}/examples/*.rb
${RUBY} -i -pe 'gsub(/\.c_/, ".")' ${WRKSRC}/examples/*.rb
post-install: doc-install
-.include <bsd.port.mk>
-
doc-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
@@ -45,3 +45,5 @@ doc-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif
+
+.include <bsd.port.post.mk>