summaryrefslogtreecommitdiff
path: root/comms
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
parentAdd MANUAL_PACKAGE_BUILD because (previous revision notwithstanding) (diff)
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>
Notes
Notes: svn path=/head/; revision=123987
Diffstat (limited to 'comms')
-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>