aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/eruby
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-09-22 13:04:30 +0800
committerknu <knu@FreeBSD.org>2000-09-22 13:04:30 +0800
commitc27bb4e2c8d240ad7fd4183253d5db51aa820b6a (patch)
tree7751e73c9c15b73be3250625b3b21d5dde1cf357 /textproc/eruby
parent5b21aa51640a4bdebc27ae4c86238b4639d405d7 (diff)
downloadfreebsd-ports-gnome-c27bb4e2c8d240ad7fd4183253d5db51aa820b6a.tar.gz
freebsd-ports-gnome-c27bb4e2c8d240ad7fd4183253d5db51aa820b6a.tar.zst
freebsd-ports-gnome-c27bb4e2c8d240ad7fd4183253d5db51aa820b6a.zip
Update to 0.1.1.
Add a DEFAULT_CHARSET knob. Now it builds static and dynamic libraries.
Diffstat (limited to 'textproc/eruby')
-rw-r--r--textproc/eruby/Makefile13
-rw-r--r--textproc/eruby/distinfo2
-rw-r--r--textproc/eruby/pkg-plist4
3 files changed, 12 insertions, 7 deletions
diff --git a/textproc/eruby/Makefile b/textproc/eruby/Makefile
index 0282bbad7d21..8d0fe28c7d8e 100644
--- a/textproc/eruby/Makefile
+++ b/textproc/eruby/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= eruby
-PORTVERSION= 0.0.9
+PORTVERSION= 0.1.1
CATEGORIES= textproc www ruby
MASTER_SITES= http://www.ruby-lang.org/~shugo/eruby/
DIST_SUBDIR= ruby
@@ -15,13 +15,16 @@ MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}
+CONFIGURE_ARGS= --enable-shared --default-charset="${DEFAULT_CHARSET}"
+INSTALLS_SHLIB= yes
+
+DEFAULT_CHARSET?= US-ASCII
DOCS_EN= ChangeLog README.en
DOCS_JA= README.ja
do-configure:
- @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} Makefile.RB
+ @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} Makefile.RB ${CONFIGURE_ARGS}
post-install:
.if !defined(NOPORTDOCS)
@@ -34,6 +37,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/Mk/bsd.ruby.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/textproc/eruby/distinfo b/textproc/eruby/distinfo
index 0a6a1d821e42..7f8aec87ce3d 100644
--- a/textproc/eruby/distinfo
+++ b/textproc/eruby/distinfo
@@ -1 +1 @@
-MD5 (ruby/eruby-0.0.9.tar.gz) = 7c5b44c9cdd22d2556c1ef3d5d4038d1
+MD5 (ruby/eruby-0.1.1.tar.gz) = bd924fc22f46750f927553358b22ca19
diff --git a/textproc/eruby/pkg-plist b/textproc/eruby/pkg-plist
index 6dde67b527ad..4a5f11634c1b 100644
--- a/textproc/eruby/pkg-plist
+++ b/textproc/eruby/pkg-plist
@@ -1,4 +1,8 @@
bin/eruby
+include/eruby.h
+lib/liberuby.so.1
+lib/liberuby.so
+lib/liberuby.a
%%RUBY_DOCDIR%%/eruby/ChangeLog
%%RUBY_DOCDIR%%/eruby/README.en
%%RUBY_DOCDIR%%/eruby/ja/README.ja