- Stage support

This commit is contained in:
Martin Wilke 2014-02-22 10:37:55 +00:00
parent b6267fbd2e
commit 1a82d35d2c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345611

View file

@ -14,7 +14,6 @@ MAINTAINER= ruby@FreeBSD.org
COMMENT= A Ruby library to access to information on mp3 files COMMENT= A Ruby library to access to information on mp3 files
USE_BZIP2= yes USE_BZIP2= yes
NO_STAGE= yes
USE_RUBY= yes USE_RUBY= yes
USE_RUBY_SETUP= yes USE_RUBY_SETUP= yes
USE_RUBY_RDOC= yes USE_RUBY_RDOC= yes
@ -24,11 +23,9 @@ CONFIGURE_ARGS= --prefix=${PREFIX}
DOCS= CHANGELOG EXAMPLES README DOCS= CHANGELOG EXAMPLES README
post-install: post-install:
.if !defined(NOPORTDOCS) ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
${MKDIR} ${RUBY_MODEXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/test.rb ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/test.rb ${RUBY_MODEXAMPLESDIR}/ ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
${MKDIR} ${RUBY_MODDOCDIR} @(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "${DOCS}" ${STAGEDIR}${RUBY_MODDOCDIR}/)
@(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "${DOCS}" ${RUBY_MODDOCDIR}/)
.endif
.include <bsd.port.mk> .include <bsd.port.mk>