pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/ruby-tcpwrap Migrate ruby-tcpwrap to use new ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/031a97ec9756
branches:  trunk
changeset: 484527:031a97ec9756
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Nov 28 04:19:35 2004 +0000

description:
Migrate ruby-tcpwrap to use new framework for Ruby packages.

diffstat:

 security/ruby-tcpwrap/DESCR    |   2 --
 security/ruby-tcpwrap/Makefile |  35 +++++++++++------------------------
 2 files changed, 11 insertions(+), 26 deletions(-)

diffs (64 lines):

diff -r bc557b580a26 -r 031a97ec9756 security/ruby-tcpwrap/DESCR
--- a/security/ruby-tcpwrap/DESCR       Sun Nov 28 04:18:24 2004 +0000
+++ b/security/ruby-tcpwrap/DESCR       Sun Nov 28 04:19:35 2004 +0000
@@ -1,3 +1,1 @@
 ruby-tcpwrap -- TCP wrappers library for Ruby.
-
-Author:        Shugo Maeda <shugo%ruby-lang.org@localhost>
diff -r bc557b580a26 -r 031a97ec9756 security/ruby-tcpwrap/Makefile
--- a/security/ruby-tcpwrap/Makefile    Sun Nov 28 04:18:24 2004 +0000
+++ b/security/ruby-tcpwrap/Makefile    Sun Nov 28 04:19:35 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2004/03/16 02:01:11 taca Exp $
+# $NetBSD: Makefile,v 1.8 2004/11/28 04:19:35 taca Exp $
 # FreeBSD: ports/security/ruby-tcpwrap/Makefile,v 1.6 2000/09/26 08:02:10 knu Exp
 
 DISTNAME=      ruby-tcpwrap-0.6
-PKGNAME=       ${RUBY_PKGNAMEPREFIX}tcpwrap-0.6
+PKGNAME=       ${RUBY_PKGPREFIX}-tcpwrap-0.6
 CATEGORIES=    security ruby
 MASTER_SITES=  http://www.shugo.net/archive/ruby-tcpwrap/
 
@@ -10,27 +10,12 @@
 HOMEPAGE=      # not available
 COMMENT=       TCP wrappers library for Ruby
 
-WRKSRC=                ${WRKDIR}/ruby-tcpwrap
-
-.include "../../mk/bsd.prefs.mk"
-
-DEPENDS+=      libident>=0.22:../../security/libident
-.if ${OPSYS} != "NetBSD"
-DEPENDS+=      tcp_wrappers>=7.6:../../security/tcp_wrappers
-.endif
-
-DIST_SUBDIR=   ruby
-USE_RUBY_EXTCONF= yes
-
-.if ${OPSYS} == "NetBSD"
-CONFIGURE_ARGS+= --with-libwrap-dir="/usr"
-.else
-CONFIGURE_ARGS+= --with-libwrap-dir="${LOCALBASE}"
-.endif
-INSTALL_TARGET=        site-install
-
-DOCS_EN=       README.en doc/tcpwrap.html.en
-DOCS_JA=       README.ja doc/tcpwrap.html.ja
+USE_BUILDLINK3=                yes
+USE_RUBY_EXTCONF=      yes
+WRKSRC=                        ${WRKDIR}/ruby-tcpwrap
+INSTALL_TARGET=                site-install
+DOCS_EN=               README.en doc/tcpwrap.html.en
+DOCS_JA=               README.ja doc/tcpwrap.html.ja
 
 post-install:
        ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/tcpwrap
@@ -43,5 +28,7 @@
        ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/tcpwrap/ja
 .endfor
 
-.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby/modules.mk"
+.include "../../security/libident/buildlink3.mk"
+.include "../../security/tcp_wrappers/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index