svn commit: r350509 - head/security/ruby-tcpwrap
Baptiste Daroussin
bapt at FreeBSD.org
Mon Apr 7 15:52:33 UTC 2014
Author: bapt
Date: Mon Apr 7 15:52:32 2014
New Revision: 350509
URL: http://svnweb.freebsd.org/changeset/ports/350509
QAT: https://qat.redports.org/buildarchive/r350509/
Log:
Support stage
Modified:
head/security/ruby-tcpwrap/Makefile
head/security/ruby-tcpwrap/pkg-plist
Modified: head/security/ruby-tcpwrap/Makefile
==============================================================================
--- head/security/ruby-tcpwrap/Makefile Mon Apr 7 15:51:43 2014 (r350508)
+++ head/security/ruby-tcpwrap/Makefile Mon Apr 7 15:52:32 2014 (r350509)
@@ -23,22 +23,19 @@ USE_RUBY_EXTCONF= yes
WRKSRC= ${WRKDIR}/ruby-${PORTNAME}
CONFIGURE_ARGS= --with-libwrap-dir=/usr \
--with-ident-dir="${LOCALBASE}"
+MAKE_ARGS= INSTALL_PROG="${INSTALL_PROGRAM}" \
+ INSTALL_DATA="${INSTALL_DATA}"
INSTALL_TARGET= site-install
DOCS_EN= README.en doc/tcpwrap.html.en
DOCS_JA= README.ja doc/tcpwrap.html.ja
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${RUBY_MODEXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/sample/echod.rb ${RUBY_MODEXAMPLESDIR}/
- ${MKDIR} ${RUBY_MODDOCDIR}/ja
- cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS_EN} ${RUBY_MODDOCDIR}/
- cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS_JA} ${RUBY_MODDOCDIR}/ja/
-.endif
+ ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sample/echod.rb ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
+ ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
+ cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS_EN} ${STAGEDIR}${RUBY_MODDOCDIR}/
+ cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS_JA} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/
.include <bsd.port.mk>
Modified: head/security/ruby-tcpwrap/pkg-plist
==============================================================================
--- head/security/ruby-tcpwrap/pkg-plist Mon Apr 7 15:51:43 2014 (r350508)
+++ head/security/ruby-tcpwrap/pkg-plist Mon Apr 7 15:52:32 2014 (r350509)
@@ -1,6 +1,6 @@
%%RUBY_SITEARCHLIBDIR%%/tcpwrap.so
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/echod.rb
-%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/echod.rb
+%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%%
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.en
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/tcpwrap.html.en
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.ja
More information about the svn-ports-all
mailing list