diff options
-rw-r--r-- | textproc/ruby-eruby/Makefile | 15 | ||||
-rw-r--r-- | textproc/ruby-eruby/PLIST | 6 | ||||
-rw-r--r-- | textproc/ruby-eruby/distinfo | 6 |
3 files changed, 17 insertions, 10 deletions
diff --git a/textproc/ruby-eruby/Makefile b/textproc/ruby-eruby/Makefile index 00f0107a627..e24a7bc1c5e 100644 --- a/textproc/ruby-eruby/Makefile +++ b/textproc/ruby-eruby/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.5 2003/07/17 22:54:49 grant Exp $ +# $NetBSD: Makefile,v 1.6 2004/03/11 15:17:52 taca Exp $ # FreeBSD: ports/textproc/eruby/Makefile,v 1.9 2000/12/12 14:04:26 knu Exp -DISTNAME= eruby-0.9.7 +DISTNAME= eruby-${ERUBY_VERSION} PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME} CATEGORIES= textproc MASTER_SITES= http://www.modruby.net/archive/ @@ -13,13 +13,20 @@ COMMENT= Interprets Ruby code embedded in a text file DIST_SUBDIR= ruby USE_RUBY_RD= yes RUBY_REQD= 1.6 +ERUBY_MAJOR= 1 +ERUBY_MINOR= 0 +ERUBY_TEENY= 5 +ERUBY_VERSION= ${ERUBY_MAJOR}.${ERUBY_MINOR}.${ERUBY_TEENY} HAS_CONFIGURE= yes CONFIGURE_SCRIPT= ./configure.rb -CONFIGURE_ARGS= --enable-shared --with-charset="${DEFAULT_CHARSET}" +CONFIGURE_ARGS= --enable-shared --with-charset="${ERUBY_DEFAULT_CHARSET}" INSTALL_TARGET= site-install +PLIST_SUBST+= ERUBY_MAJOR=${ERUBY_MAJOR} ERUBY_MINOR=${ERUBY_MINOR} -DEFAULT_CHARSET?= ISO-8859-1 +.include "../../mk/bsd.prefs.mk" + +ERUBY_DEFAULT_CHARSET?= ISO-8859-1 MAN1= eruby.1 diff --git a/textproc/ruby-eruby/PLIST b/textproc/ruby-eruby/PLIST index 2e9d58954c7..b0f487ba808 100644 --- a/textproc/ruby-eruby/PLIST +++ b/textproc/ruby-eruby/PLIST @@ -1,8 +1,8 @@ -@comment $NetBSD: PLIST,v 1.2 2002/01/05 06:16:36 taca Exp $ +@comment $NetBSD: PLIST,v 1.3 2004/03/11 15:17:52 taca Exp $ bin/eruby include/eruby.h -lib/liberuby.so.0.9 -lib/liberuby.so.0 +lib/liberuby.so.${ERUBY_MAJOR}.${ERUBY_MINOR} +lib/liberuby.so.${ERUBY_MAJOR} lib/liberuby.so lib/liberuby.a ${RUBY_SITEARCHLIBDIR}/eruby.so diff --git a/textproc/ruby-eruby/distinfo b/textproc/ruby-eruby/distinfo index c10b013819a..1d120c7c509 100644 --- a/textproc/ruby-eruby/distinfo +++ b/textproc/ruby-eruby/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.4 2004/03/04 17:29:51 taca Exp $ +$NetBSD: distinfo,v 1.5 2004/03/11 15:17:52 taca Exp $ -SHA1 (ruby/eruby-0.9.7.tar.gz) = 690b43c6031579bceb9e031d08f2ce6aeaf992b7 -Size (ruby/eruby-0.9.7.tar.gz) = 60589 bytes +SHA1 (ruby/eruby-1.0.5.tar.gz) = d8900f8a7c30661351d2bf6f53753fa86df24996 +Size (ruby/eruby-1.0.5.tar.gz) = 61187 bytes SHA1 (patch-aa) = 4715a4b23d662e036c9d6ef31c6bdc8d4f21aead SHA1 (patch-ab) = 55f0b3661286a107858e71599f9522ae2fc8389c SHA1 (patch-ac) = f2bc2d847ea84b28acbfea8733e309c2bee6b1b0 |