aboutsummaryrefslogtreecommitdiffstats
path: root/comms/ruby-termios
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-12-14 12:54:37 +0800
committeredwin <edwin@FreeBSD.org>2004-12-14 12:54:37 +0800
commita0b8887e2d28d69178ff83431a09daedf37d2c32 (patch)
tree3b43b86f4812117b8f71fa603b636e48fda58364 /comms/ruby-termios
parentac112b271cc4de0a66a1cdf8a8d7706f229246e3 (diff)
downloadfreebsd-ports-gnome-a0b8887e2d28d69178ff83431a09daedf37d2c32.tar.gz
freebsd-ports-gnome-a0b8887e2d28d69178ff83431a09daedf37d2c32.tar.zst
freebsd-ports-gnome-a0b8887e2d28d69178ff83431a09daedf37d2c32.zip
Make portlint happier.
They are not the patches from the submitter, but one which overcome knu@s objections about the original ones and discussed in ports/69037. PR: ports/69027 ports/69028 ports/69029 ports/69030 ports/69031 ports/69032 ports/69033 ports/69034 ports/69035 ports/69036 ports/69037 Submitted by: Wesley Shields <wxs@csh.rit.edu>
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>