aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-04-07 22:42:45 +0800
committerbapt <bapt@FreeBSD.org>2014-04-07 22:42:45 +0800
commit3415f31c19e8d5189dfb416d20deab2cbcf5fc67 (patch)
treeb9ca078d4c182d5c864d818f81a1b56eb48c97fb /japanese
parent5043e5e1852a8f27699bb757f59db998c7a61f4c (diff)
downloadfreebsd-ports-gnome-3415f31c19e8d5189dfb416d20deab2cbcf5fc67.tar.gz
freebsd-ports-gnome-3415f31c19e8d5189dfb416d20deab2cbcf5fc67.tar.zst
freebsd-ports-gnome-3415f31c19e8d5189dfb416d20deab2cbcf5fc67.zip
Support stage
Diffstat (limited to 'japanese')
-rw-r--r--japanese/ruby-ming/Makefile20
1 files changed, 9 insertions, 11 deletions
diff --git a/japanese/ruby-ming/Makefile b/japanese/ruby-ming/Makefile
index fa675dbdb17e..04165b03f484 100644
--- a/japanese/ruby-ming/Makefile
+++ b/japanese/ruby-ming/Makefile
@@ -14,7 +14,7 @@ DIST_SUBDIR= ruby
MAINTAINER= don@na.rim.or.jp
COMMENT= Yet another Ming module for Ruby built with Japanese support
-LIB_DEPENDS= ming:${PORTSDIR}/japanese/ming
+LIB_DEPENDS= libming.so:${PORTSDIR}/japanese/ming
RUBY_MING_VERSION= 0.1.6
@@ -28,24 +28,22 @@ DOCS_JA= README.ja Usage_ja.txt fonts.ja progress.rd
OPTIONS_DEFINE= DOCS EXAMPLES
OPTIONSFILE= ${PORT_DBDIR}/ja-ruby-${PORTNAME}/options
-NO_STAGE= yes
+DOCSDIR= ${RUBY_MODDOCDIR}
+EXAMPLESDIR= ${RUBY_MODEXAMPLESDIR}
+
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
post-install:
-.if ${PORT_OPTIONS:MEXAMPLES}
- ${MKDIR} ${RUBY_MODEXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_MODEXAMPLESDIR}/
-.endif
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${RUBY_MODDOCDIR}/ja
+ @${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
+ @${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
.endfor
.for f in ${DOCS_JA}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/
.endfor
-.endif
.include <bsd.port.post.mk>