aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-26 12:45:57 +0800
committermiwi <miwi@FreeBSD.org>2014-02-26 12:45:57 +0800
commit4c92f8e6da4a7452bcc510894c1037a01de41546 (patch)
tree5cafff4bc37c302450c2112f7868a4f54633ec7b /databases
parentc3e3b14be38e99cb21eab96bc135df3a6627dcad (diff)
downloadfreebsd-ports-gnome-4c92f8e6da4a7452bcc510894c1037a01de41546.tar.gz
freebsd-ports-gnome-4c92f8e6da4a7452bcc510894c1037a01de41546.tar.zst
freebsd-ports-gnome-4c92f8e6da4a7452bcc510894c1037a01de41546.zip
- Stage support
Diffstat (limited to 'databases')
-rw-r--r--databases/ruby-sybct/Makefile23
1 files changed, 9 insertions, 14 deletions
diff --git a/databases/ruby-sybct/Makefile b/databases/ruby-sybct/Makefile
index 64343371299d..78f6e57af2de 100644
--- a/databases/ruby-sybct/Makefile
+++ b/databases/ruby-sybct/Makefile
@@ -18,25 +18,20 @@ USE_RUBY= yes
USE_RUBY_EXTCONF= yes
USES= iconv
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
-e 's|%%ICONV_LIB%%|${ICONV_LIB}|' \
${WRKSRC}/extconf.rb
post-install:
- @${MKDIR} ${RUBY_SITELIBDIR}
- ${INSTALL_DATA} ${WRKSRC}/sy*.rb ${RUBY_SITELIBDIR}/
-.if !defined(NOPORTEXAMPLES)
- ${MKDIR} ${RUBY_MODEXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_MODEXAMPLESDIR}/
-.endif
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_MODDOCDIR}/ja
- ${INSTALL_DATA} ${WRKSRC}/README.txt ${RUBY_MODDOCDIR}/
- ${INSTALL_DATA} ${WRKSRC}/README-ja.txt ${RUBY_MODDOCDIR}/ja/
- ${INSTALL_DATA} ${WRKSRC}/doc/en/*.html ${RUBY_MODDOCDIR}/
- ${INSTALL_DATA} ${WRKSRC}/doc/ja/*.html ${RUBY_MODDOCDIR}/ja/
-.endif
+ ${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sy*.rb ${STAGEDIR}${RUBY_SITELIBDIR}/
+ ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
+ ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${RUBY_MODDOCDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/README-ja.txt ${STAGEDIR}${RUBY_MODDOCDIR}/ja/
+ ${INSTALL_DATA} ${WRKSRC}/doc/en/*.html ${STAGEDIR}${RUBY_MODDOCDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/doc/ja/*.html ${STAGEDIR}${RUBY_MODDOCDIR}/ja/
.include <bsd.port.mk>