diff options
author | knu <knu@FreeBSD.org> | 2003-02-19 17:31:10 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2003-02-19 17:31:10 +0800 |
commit | d0cb7ff3249afaeed15c46b6a3f4e68167e900cd (patch) | |
tree | 024faac06cd5c49bd3d48e8dd6ef179c8936c4f5 /www/mod_ruby | |
parent | d664ec8c81e5c28f599ed618de7ca34e325eeaad (diff) | |
download | freebsd-ports-gnome-d0cb7ff3249afaeed15c46b6a3f4e68167e900cd.tar.gz freebsd-ports-gnome-d0cb7ff3249afaeed15c46b6a3f4e68167e900cd.tar.zst freebsd-ports-gnome-d0cb7ff3249afaeed15c46b6a3f4e68167e900cd.zip |
Update to 1.0.5.
Fix packaging and deinstalling when built with www/apache2.
Diffstat (limited to 'www/mod_ruby')
-rw-r--r-- | www/mod_ruby/Makefile | 8 | ||||
-rw-r--r-- | www/mod_ruby/distinfo | 2 | ||||
-rw-r--r-- | www/mod_ruby/pkg-plist | 4 |
3 files changed, 10 insertions, 4 deletions
diff --git a/www/mod_ruby/Makefile b/www/mod_ruby/Makefile index ce46de8f6f1f..3889605a6049 100644 --- a/www/mod_ruby/Makefile +++ b/www/mod_ruby/Makefile @@ -6,7 +6,7 @@ # PORTNAME= mod_ruby -PORTVERSION= 1.0.4 +PORTVERSION= 1.0.5 CATEGORIES= www ruby MASTER_SITES= http://www.modruby.net/archive/ DIST_SUBDIR= ruby @@ -19,6 +19,7 @@ LIB_DEPENDS= eruby.10:${PORTSDIR}/textproc/eruby RUN_DEPENDS= ${APXS}:${APACHE_PORT} USE_RUBY= yes +USE_REINPLACE= yes APXS?= ${LOCALBASE}/sbin/apxs APACHE_PORT?= ${PORTSDIR}/www/apache13 @@ -40,6 +41,11 @@ do-configure: post-install: doc-install ${INSTALL_DATA} ${WRKSRC}/examples/httpd.conf `${APXS} -q SYSCONFDIR`/httpd.conf.${PORTNAME} +# Would be nice if we could use PLIST_SUB here.. + ${REINPLACE_CMD} \ + -e 's,%%LIBEXECDIR%%,'`${APXS} -q LIBEXECDIR | ${SED} 's:${LOCALBASE}/::'`',g;' \ + -e 's,%%SYSCONFDIR%%,'`${APXS} -q SYSCONFDIR | ${SED} 's:${LOCALBASE}/::'`',g;' \ + ${TMPPLIST} .include <bsd.port.mk> diff --git a/www/mod_ruby/distinfo b/www/mod_ruby/distinfo index 90cdc995ac5b..af0ab79e372a 100644 --- a/www/mod_ruby/distinfo +++ b/www/mod_ruby/distinfo @@ -1 +1 @@ -MD5 (ruby/mod_ruby-1.0.4.tar.gz) = 8e8e577b4462d524892ed3c4fa676bce +MD5 (ruby/mod_ruby-1.0.5.tar.gz) = 8d8bacb13bd5792aeda36cf36289485f diff --git a/www/mod_ruby/pkg-plist b/www/mod_ruby/pkg-plist index 8c6386406777..906a4631b092 100644 --- a/www/mod_ruby/pkg-plist +++ b/www/mod_ruby/pkg-plist @@ -6,8 +6,8 @@ %%RUBY_SITELIBDIR%%/apache/ruby-run.rb %%RUBY_SITELIBDIR%%/auto-reload.rb @dirrm %%RUBY_SITELIBDIR%%/apache -etc/apache/httpd.conf.mod_ruby -libexec/apache/mod_ruby.so +%%LIBEXECDIR%%/mod_ruby.so +%%SYSCONFDIR%%/httpd.conf.mod_ruby %%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING %%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog %%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.en |