aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-22 18:38:03 +0800
committermiwi <miwi@FreeBSD.org>2014-02-22 18:38:03 +0800
commit32ab8bed9de133dd03acb521df18c99948364eb1 (patch)
tree58ea38ebd0524949af2d3619d72ed35b98147de6
parente48efa21fa3ccc0d004a219a5909093b9c936ae9 (diff)
downloadfreebsd-ports-gnome-32ab8bed9de133dd03acb521df18c99948364eb1.tar.gz
freebsd-ports-gnome-32ab8bed9de133dd03acb521df18c99948364eb1.tar.zst
freebsd-ports-gnome-32ab8bed9de133dd03acb521df18c99948364eb1.zip
- Stage support
-rw-r--r--net/ruby-ldap/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/net/ruby-ldap/Makefile b/net/ruby-ldap/Makefile
index e563cf2df39e..b2a6a87df0b5 100644
--- a/net/ruby-ldap/Makefile
+++ b/net/ruby-ldap/Makefile
@@ -26,7 +26,6 @@ USE_BZIP2= yes
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
-NO_STAGE= yes
.include <bsd.port.pre.mk>
# Configure options:
@@ -53,12 +52,10 @@ post-patch:
-e 'gsub /ruby-1\.6/, "${RUBY}"' ${WRKSRC}/test/test.sh
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_MODEXAMPLESDIR}
- ${MKDIR} ${RUBY_MODDOCDIR}
- @(cd ${WRKSRC}/test/ && ${COPYTREE_SHARE} \* ${RUBY_MODEXAMPLESDIR}/)
- @(cd ${WRKSRC}/example/ && ${COPYTREE_SHARE} \* ${RUBY_MODEXAMPLESDIR}/)
- ${INSTALL_DATA} ${DOCS_EN:S,^,${WRKSRC}/,} ${RUBY_MODDOCDIR}/
-.endif
+ ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
+ ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
+ @(cd ${WRKSRC}/test/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/)
+ @(cd ${WRKSRC}/example/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/)
+ ${INSTALL_DATA} ${DOCS_EN:S,^,${WRKSRC}/,} ${STAGEDIR}${RUBY_MODDOCDIR}/
.include <bsd.port.post.mk>