mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Support stage
This commit is contained in:
parent
7a8bdd0dae
commit
628b219096
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350479
@ -11,7 +11,9 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/r/rev/}
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= ruby@FreeBSD.org
|
||||
COMMENT= A GTK+2-based Ruby module browser
|
||||
COMMENT= GTK+2-based Ruby module browser
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
BUILD_DEPENDS= rubygem-gettext>0:${PORTSDIR}/devel/rubygem-gettext
|
||||
RUN_DEPENDS= rubygem-gtk2>0:${PORTSDIR}/x11-toolkits/rubygem-gtk2 \
|
||||
@ -21,20 +23,17 @@ USES= gettext
|
||||
USE_RUBY= yes
|
||||
USE_RUBY_SETUP= yes
|
||||
RUBY_SETUP= install.rb
|
||||
NO_STAGE= yes
|
||||
|
||||
DOCS_EN= AUTHORS COPYING ChangeLog README
|
||||
DOCS_JA= COPYING.ja README.ja
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
@${MKDIR} ${RUBY_MODDOCDIR}/ja
|
||||
@${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.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user