svn commit: r350492 - head/japanese/ruby-ming
Baptiste Daroussin
bapt at FreeBSD.org
Mon Apr 7 14:42:45 UTC 2014
Author: bapt
Date: Mon Apr 7 14:42:45 2014
New Revision: 350492
URL: http://svnweb.freebsd.org/changeset/ports/350492
QAT: https://qat.redports.org/buildarchive/r350492/
Log:
Support stage
Modified:
head/japanese/ruby-ming/Makefile
Modified: head/japanese/ruby-ming/Makefile
==============================================================================
--- head/japanese/ruby-ming/Makefile Mon Apr 7 14:41:43 2014 (r350491)
+++ head/japanese/ruby-ming/Makefile Mon Apr 7 14:42:45 2014 (r350492)
@@ -14,7 +14,7 @@ DIST_SUBDIR= ruby
MAINTAINER= don at 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
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>
More information about the svn-ports-head
mailing list