aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-04-05 09:14:55 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-04-05 09:14:55 +0000
commit58aeba5286b608f442d1d5b0424039f1b8a3b5f0 (patch)
tree4be1500b082147086b860dd920bbbcb88bc92cc8 /graphics
parenteb3392969d4bbac1bf2d42f4d8030514410a9229 (diff)
downloadports-58aeba5286b608f442d1d5b0424039f1b8a3b5f0.tar.gz
ports-58aeba5286b608f442d1d5b0424039f1b8a3b5f0.zip
- Move doc-install into post-install. We don't need this workaround
under current infrastructure.
Notes
Notes: svn path=/head/; revision=189264
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ruby-image_size/Makefile8
-rw-r--r--graphics/ruby-libpng/Makefile8
2 files changed, 6 insertions, 10 deletions
diff --git a/graphics/ruby-image_size/Makefile b/graphics/ruby-image_size/Makefile
index b75af062f9c1..5a93363a69c1 100644
--- a/graphics/ruby-image_size/Makefile
+++ b/graphics/ruby-image_size/Makefile
@@ -33,11 +33,7 @@ DOCS_JA= ${RUBY_RD_FILES:M*.ja.rd} \
do-install:
${INSTALL_DATA} ${WRKSRC}/lib/image_size.rb ${RUBY_SITELIBDIR}/
-post-install: doc-install
-
-.include <bsd.port.mk>
-
-doc-install:
+post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
@@ -47,3 +43,5 @@ doc-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/ruby-libpng/Makefile b/graphics/ruby-libpng/Makefile
index 54ae7adc4ecd..bcd6d338762f 100644
--- a/graphics/ruby-libpng/Makefile
+++ b/graphics/ruby-libpng/Makefile
@@ -36,11 +36,7 @@ EXAMPLES_EN= es.png png.rb pngtest.rb pngtest.sh \
sample/4.png sample/5.png sample/6.png sample/7.png \
sample/8.png sample/9.png sample/pngcat.rb
-post-install: doc-install
-
-.include <bsd.port.mk>
-
-doc-install:
+post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES_EN}
@@ -51,3 +47,5 @@ doc-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif
+
+.include <bsd.port.mk>