summaryrefslogtreecommitdiff
path: root/security/ruby-tcpwrap
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2008-06-19 14:52:11 +0000
committertaca <taca@pkgsrc.org>2008-06-19 14:52:11 +0000
commitf7ceb84d39bf814e002ddbd748735a674a8226f7 (patch)
tree4b28005d08beb6b5ad37c6b183213ac936064a00 /security/ruby-tcpwrap
parentacb340db2a749650db0c4c188eeef6663a88c117 (diff)
downloadpkgsrc-f7ceb84d39bf814e002ddbd748735a674a8226f7.tar.gz
- Switch to use vendor_dir with Ruby 1.8.7.
Bump PKGREVISION.
Diffstat (limited to 'security/ruby-tcpwrap')
-rw-r--r--security/ruby-tcpwrap/Makefile15
-rw-r--r--security/ruby-tcpwrap/PLIST20
2 files changed, 18 insertions, 17 deletions
diff --git a/security/ruby-tcpwrap/Makefile b/security/ruby-tcpwrap/Makefile
index 0c2f2a59f7c..2a8b2a8cc9d 100644
--- a/security/ruby-tcpwrap/Makefile
+++ b/security/ruby-tcpwrap/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2006/01/03 15:07:29 taca Exp $
+# $NetBSD: Makefile,v 1.15 2008/06/19 14:53:34 taca Exp $
DISTNAME= ruby-tcpwrap-0.6
PKGNAME= ${RUBY_PKGPREFIX}-tcpwrap-0.6
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= security ruby
MASTER_SITES= http://www.shugo.net/archive/ruby-tcpwrap/
@@ -17,15 +17,16 @@ INSTALL_TARGET= site-install
DOCS_EN= README.en doc/tcpwrap.html.en
DOCS_JA= README.ja doc/tcpwrap.html.ja
+INSTALLATION_DIRS= ${RUBY_DOC}/tcpwrap/ja ${RUBY_EG}/tcpwrap
+
post-install:
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/tcpwrap
- ${INSTALL_DATA} ${WRKSRC}/sample/echod.rb ${RUBY_EXAMPLESDIR}/tcpwrap
- ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/tcpwrap/ja
+ ${INSTALL_DATA} ${WRKSRC}/sample/echod.rb \
+ ${DESTDIR}${PREFIX}/${RUBY_EG}/tcpwrap
.for f in ${DOCS_EN}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/tcpwrap
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}/tcpwrap
.endfor
.for f in ${DOCS_JA}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/tcpwrap/ja
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}/tcpwrap/ja
.endfor
.include "../../lang/ruby/modules.mk"
diff --git a/security/ruby-tcpwrap/PLIST b/security/ruby-tcpwrap/PLIST
index 8f47c8e3c4e..0dfc9224ac6 100644
--- a/security/ruby-tcpwrap/PLIST
+++ b/security/ruby-tcpwrap/PLIST
@@ -1,10 +1,10 @@
-@comment $NetBSD: PLIST,v 1.3 2006/09/07 15:55:09 taca Exp $
-${RUBY_SITEARCHLIBDIR}/tcpwrap.${RUBY_DLEXT}
-${RUBY_EXAMPLESDIR}/tcpwrap/echod.rb
-${RUBY_DOCDIR}/tcpwrap/README.en
-${RUBY_DOCDIR}/tcpwrap/tcpwrap.html.en
-${RUBY_DOCDIR}/tcpwrap/ja/README.ja
-${RUBY_DOCDIR}/tcpwrap/ja/tcpwrap.html.ja
-@dirrm ${RUBY_EXAMPLESDIR}/tcpwrap
-@dirrm ${RUBY_DOCDIR}/tcpwrap/ja
-@dirrm ${RUBY_DOCDIR}/tcpwrap
+@comment $NetBSD: PLIST,v 1.4 2008/06/19 14:53:34 taca Exp $
+${RUBY_VENDORARCHLIB}/tcpwrap.${RUBY_DLEXT}
+${RUBY_EG}/tcpwrap/echod.rb
+${RUBY_DOC}/tcpwrap/README.en
+${RUBY_DOC}/tcpwrap/tcpwrap.html.en
+${RUBY_DOC}/tcpwrap/ja/README.ja
+${RUBY_DOC}/tcpwrap/ja/tcpwrap.html.ja
+@dirrm ${RUBY_EG}/tcpwrap
+@dirrm ${RUBY_DOC}/tcpwrap/ja
+@dirrm ${RUBY_DOC}/tcpwrap