aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-09-22 13:05:43 +0800
committerknu <knu@FreeBSD.org>2000-09-22 13:05:43 +0800
commit6fa96aebaab32c78ed1c60718c9792af6ff292a5 (patch)
treed019e919bb40786b676da4061829ae736e3b0741 /www
parentc27bb4e2c8d240ad7fd4183253d5db51aa820b6a (diff)
downloadfreebsd-ports-gnome-6fa96aebaab32c78ed1c60718c9792af6ff292a5.tar.gz
freebsd-ports-gnome-6fa96aebaab32c78ed1c60718c9792af6ff292a5.tar.zst
freebsd-ports-gnome-6fa96aebaab32c78ed1c60718c9792af6ff292a5.zip
Update to 0.2.0.
Now it uses textproc/eruby's shared library.
Diffstat (limited to 'www')
-rw-r--r--www/mod_ruby/Makefile14
-rw-r--r--www/mod_ruby/distinfo2
2 files changed, 8 insertions, 8 deletions
diff --git a/www/mod_ruby/Makefile b/www/mod_ruby/Makefile
index 69ef0112aeac..9a504bac35d7 100644
--- a/www/mod_ruby/Makefile
+++ b/www/mod_ruby/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mod_ruby
-PORTVERSION= 0.1.9
+PORTVERSION= 0.2.0
CATEGORIES= www ruby
MASTER_SITES= http://www.ruby-lang.org/~shugo/mod_ruby/
DIST_SUBDIR= ruby
@@ -14,15 +14,17 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
+LIB_DEPENDS= eruby.1:${PORTSDIR}/textproc/eruby
RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
USE_RUBY= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}
-
APXS= ${LOCALBASE}/sbin/apxs
-CONFIGURE_ARGS= --apxs="${APXS}"
+CONFIGURE_ARGS= --apxs="${APXS}" \
+ --enable-eruby=yes \
+ --eruby-includes="${LOCALBASE}/include" \
+ --eruby-libraries="${LOCALBASE}/lib"
DOCS_EN= ChangeLog README.en
DOCS_JA= README.ja
@@ -43,6 +45,4 @@ do-install:
.endif
${CAT} ${PKGMESSAGE}
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/Mk/bsd.ruby.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/mod_ruby/distinfo b/www/mod_ruby/distinfo
index 6af4d0fbeb84..19c11e35a37a 100644
--- a/www/mod_ruby/distinfo
+++ b/www/mod_ruby/distinfo
@@ -1 +1 @@
-MD5 (ruby/mod_ruby-0.1.9.tar.gz) = 8286dd524c9afba7b0a012a9d55a6d02
+MD5 (ruby/mod_ruby-0.2.0.tar.gz) = 816feff73fcabbc4bb75e5c17919bc3e