aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archivers/ruby-bz2/Makefile6
-rw-r--r--comms/ruby-termios/Makefile6
-rw-r--r--devel/ruby-cache/Makefile6
-rw-r--r--devel/ruby-cvs/Makefile6
-rw-r--r--devel/ruby-filemagic/Makefile6
-rw-r--r--devel/ruby-gemfinder/Makefile6
-rw-r--r--devel/ruby-gettext/Makefile6
-rw-r--r--devel/ruby-mmap/Makefile6
-rw-r--r--devel/ruby-sdl/Makefile6
-rw-r--r--devel/ruby-sysvipc/Makefile6
-rw-r--r--devel/ruby-tzfile/Makefile6
-rw-r--r--devel/rubygem-gettext/Makefile6
-rw-r--r--devel/rubygem-locale/Makefile6
13 files changed, 52 insertions, 26 deletions
diff --git a/archivers/ruby-bz2/Makefile b/archivers/ruby-bz2/Makefile
index 771c7b640683..03ba93fffd9f 100644
--- a/archivers/ruby-bz2/Makefile
+++ b/archivers/ruby-bz2/Makefile
@@ -29,6 +29,8 @@ DOCS= Changes \
${RUBY_RD_HTML_FILES} \
docs/doc
+.include <bsd.port.pre.mk>
+
post-build:
.if !defined(NOPORTDOCS)
cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} rdoc
@@ -36,8 +38,6 @@ post-build:
post-install: doc-install
-.include <bsd.port.mk>
-
doc-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}
@@ -45,3 +45,5 @@ doc-install:
${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif
+
+.include <bsd.port.post.mk>
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>
diff --git a/devel/ruby-cache/Makefile b/devel/ruby-cache/Makefile
index 708d3750e355..ea18b7547cc8 100644
--- a/devel/ruby-cache/Makefile
+++ b/devel/ruby-cache/Makefile
@@ -24,9 +24,9 @@ RUBY_SETUP= install.rb
RUBY_RD_FILES= ${WRKSRC}/MANUAL.rd ${WRKSRC}/README.rd
DOCS= ${RUBY_RD_FILES} ${RUBY_RD_HTML_FILES}
-post-install: doc-install
+.include <bsd.port.pre.mk>
-.include <bsd.port.mk>
+post-install: doc-install
doc-install:
.if !defined(NOPORTDOCS)
@@ -37,3 +37,5 @@ doc-install:
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_MODEXAMPLESDIR}/
.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/ruby-cvs/Makefile b/devel/ruby-cvs/Makefile
index 669e47d27104..fc7f61858326 100644
--- a/devel/ruby-cvs/Makefile
+++ b/devel/ruby-cvs/Makefile
@@ -30,6 +30,8 @@ WRKSRC= ${WRKDIR}/ruby-${PORTNAME}
DOCS= README TODO ${RUBY_RD_HTML_FILES}
+.include <bsd.port.pre.mk>
+
post-extract:
.for f in ${RUBY_RD_FILES}
cd ${WRKSRC}; ${LN} -sf lib/${f}
@@ -40,8 +42,6 @@ do-install:
post-install: doc-install
-.include <bsd.port.mk>
-
doc-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}/reviz
@@ -52,3 +52,5 @@ doc-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/ruby-filemagic/Makefile b/devel/ruby-filemagic/Makefile
index 33640d802177..a67fb12c0e7b 100644
--- a/devel/ruby-filemagic/Makefile
+++ b/devel/ruby-filemagic/Makefile
@@ -28,9 +28,9 @@ DOCS= AUTHORS CHANGELOG README TODO \
${RUBY_RD_FILES} \
${RUBY_RD_HTML_FILES}
-post-install: doc-install
+.include <bsd.port.pre.mk>
-.include <bsd.port.mk>
+post-install: doc-install
doc-install:
.if !defined(NOPORTDOCS)
@@ -39,3 +39,5 @@ doc-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/ruby-gemfinder/Makefile b/devel/ruby-gemfinder/Makefile
index c0865e92c302..c61e3f8667b5 100644
--- a/devel/ruby-gemfinder/Makefile
+++ b/devel/ruby-gemfinder/Makefile
@@ -29,6 +29,8 @@ DOCS= README \
${RUBY_RD_FILES} \
${RUBY_RD_HTML_FILES}
+.include <bsd.port.pre.mk>
+
post-patch:
${RUBY} -i -pe 'sub(/<BODY>/, "<BODY bgcolor=\"#ffffff\">")' \
${WRKSRC}/gemfinder.rd
@@ -38,8 +40,6 @@ do-install:
post-install: doc-install
-.include <bsd.port.mk>
-
doc-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}
@@ -47,3 +47,5 @@ doc-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/ruby-gettext/Makefile b/devel/ruby-gettext/Makefile
index a6e23568c363..beaadbc2559f 100644
--- a/devel/ruby-gettext/Makefile
+++ b/devel/ruby-gettext/Makefile
@@ -28,9 +28,9 @@ RUBY_SHEBANG_FILES= ${WRKSRC}/samples/*.rb
DOCS_EN= ChangeLog README
DOCS_JA= README.ja
-post-install: doc-install
+.include <bsd.port.pre.mk>
-.include <bsd.port.mk>
+post-install: doc-install
doc-install:
.if !defined(NOPORTDOCS)
@@ -45,3 +45,5 @@ doc-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/ruby-mmap/Makefile b/devel/ruby-mmap/Makefile
index 603245069d47..48ba795eaac0 100644
--- a/devel/ruby-mmap/Makefile
+++ b/devel/ruby-mmap/Makefile
@@ -29,6 +29,8 @@ DOCS= Changes \
${RUBY_RD_HTML_FILES} \
docs/doc
+.include <bsd.port.pre.mk>
+
post-build:
.if !defined(NOPORTDOCS)
cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} rdoc
@@ -36,8 +38,6 @@ post-build:
post-install: doc-install
-.include <bsd.port.mk>
-
doc-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}
@@ -45,3 +45,5 @@ doc-install:
${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/ruby-sdl/Makefile b/devel/ruby-sdl/Makefile
index 257e1ff24d01..648ad9fd9508 100644
--- a/devel/ruby-sdl/Makefile
+++ b/devel/ruby-sdl/Makefile
@@ -41,6 +41,8 @@ DOCS_JA= NEWS.ja README.ja \
${RUBY_RD_FILES:N*.en.rd} \
${RUBY_RD_HTML_FILES:N*.en.html}
+.include <bsd.port.pre.mk>
+
post-extract:
dir=`${RUBY_OPENGL_WRKSRC_CMD}`; \
for f in rbogl.h rbogl.c ogl.c glu.c; do \
@@ -53,8 +55,6 @@ post-patch:
post-install: doc-install
-.include <bsd.port.mk>
-
doc-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
@@ -67,3 +67,5 @@ doc-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/ruby-sysvipc/Makefile b/devel/ruby-sysvipc/Makefile
index e7a3f9e8fa7c..624aede26bb8 100644
--- a/devel/ruby-sysvipc/Makefile
+++ b/devel/ruby-sysvipc/Makefile
@@ -26,9 +26,9 @@ INSTALL_TARGET= site-install
DOCS= ${RUBY_RD_FILES} \
${RUBY_RD_HTML_FILES}
-post-install: doc-install
+.include <bsd.port.pre.mk>
-.include <bsd.port.mk>
+post-install: doc-install
doc-install:
.if !defined(NOPORTDOCS)
@@ -37,3 +37,5 @@ doc-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/ruby-tzfile/Makefile b/devel/ruby-tzfile/Makefile
index 3544e8a4a816..db70f6da2910 100644
--- a/devel/ruby-tzfile/Makefile
+++ b/devel/ruby-tzfile/Makefile
@@ -26,13 +26,13 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
DOCS= ${RUBY_RD_HTML_FILES}
+.include <bsd.port.pre.mk>
+
do-install:
${INSTALL_DATA} ${WRKSRC}/tzfile.rb ${RUBY_SITELIBDIR}/
post-install: doc-install
-.include <bsd.port.mk>
-
doc-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}
@@ -40,3 +40,5 @@ doc-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/rubygem-gettext/Makefile b/devel/rubygem-gettext/Makefile
index a6e23568c363..beaadbc2559f 100644
--- a/devel/rubygem-gettext/Makefile
+++ b/devel/rubygem-gettext/Makefile
@@ -28,9 +28,9 @@ RUBY_SHEBANG_FILES= ${WRKSRC}/samples/*.rb
DOCS_EN= ChangeLog README
DOCS_JA= README.ja
-post-install: doc-install
+.include <bsd.port.pre.mk>
-.include <bsd.port.mk>
+post-install: doc-install
doc-install:
.if !defined(NOPORTDOCS)
@@ -45,3 +45,5 @@ doc-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/rubygem-locale/Makefile b/devel/rubygem-locale/Makefile
index a6e23568c363..beaadbc2559f 100644
--- a/devel/rubygem-locale/Makefile
+++ b/devel/rubygem-locale/Makefile
@@ -28,9 +28,9 @@ RUBY_SHEBANG_FILES= ${WRKSRC}/samples/*.rb
DOCS_EN= ChangeLog README
DOCS_JA= README.ja
-post-install: doc-install
+.include <bsd.port.pre.mk>
-.include <bsd.port.mk>
+post-install: doc-install
doc-install:
.if !defined(NOPORTDOCS)
@@ -45,3 +45,5 @@ doc-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif
+
+.include <bsd.port.post.mk>