aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-04-24 03:31:45 +0800
committerknu <knu@FreeBSD.org>2002-04-24 03:31:45 +0800
commit134ac7ac3cf2cb1872a917d4e8df8d6aea44bc2e (patch)
treeac8eafbbeb2a522e81d38339e9e9fbe1f7993d28
parent2b45c6fc5fa333b5a1262ee0b6737238f162e270 (diff)
downloadfreebsd-ports-gnome-134ac7ac3cf2cb1872a917d4e8df8d6aea44bc2e.tar.gz
freebsd-ports-gnome-134ac7ac3cf2cb1872a917d4e8df8d6aea44bc2e.tar.zst
freebsd-ports-gnome-134ac7ac3cf2cb1872a917d4e8df8d6aea44bc2e.zip
Update to 1.1.
-rw-r--r--net/ruby-gserver/Makefile17
-rw-r--r--net/ruby-gserver/distinfo2
-rw-r--r--net/ruby-gserver/pkg-descr3
-rw-r--r--net/ruby-gserver/pkg-plist2
4 files changed, 14 insertions, 10 deletions
diff --git a/net/ruby-gserver/Makefile b/net/ruby-gserver/Makefile
index 760c824371e6..c6c01edc35f4 100644
--- a/net/ruby-gserver/Makefile
+++ b/net/ruby-gserver/Makefile
@@ -6,26 +6,27 @@
#
PORTNAME= gserver
-PORTVERSION= 0.0.0
+PORTVERSION= 1.1
CATEGORIES= net ruby
-MASTER_SITES= http://www.ruby-lang.org/~knu/
+MASTER_SITES= http://www.rogare.com/downloads/Ruby/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
-DISTNAME= GServer.rb-${PORTVERSION}
-EXTRACT_SUFX= # none
+DISTNAME= GServer
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
+USE_ZIP= yes
USE_RUBY= yes
RUBY_NO_BUILD_DEPENDS= yes
NO_WRKSUBDIR= yes
NO_BUILD= yes
-EXTRACT_CMD= ${CP}
-EXTRACT_BEFORE_ARGS= # none
-EXTRACT_AFTER_ARGS= .
do-install:
- ${INSTALL_DATA} ${WRKSRC}/${DISTNAME} ${RUBY_SITELIBDIR}/GServer.rb
+ ${INSTALL_DATA} ${WRKSRC}/GServer.rb ${RUBY_SITELIBDIR}/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/HttpEchoServer.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+.endif
.include <bsd.port.mk>
diff --git a/net/ruby-gserver/distinfo b/net/ruby-gserver/distinfo
index 168e7b997ba7..6fdbb4bcfdd7 100644
--- a/net/ruby-gserver/distinfo
+++ b/net/ruby-gserver/distinfo
@@ -1 +1 @@
-MD5 (ruby/GServer.rb-0.0.0) = 80dc1c1e053030187caae7b5474c3663
+MD5 (ruby/GServer.zip) = 8160042a41f66f3b74cb9ad1793c6365
diff --git a/net/ruby-gserver/pkg-descr b/net/ruby-gserver/pkg-descr
index c320fcbac12a..4a5473d80d6e 100644
--- a/net/ruby-gserver/pkg-descr
+++ b/net/ruby-gserver/pkg-descr
@@ -1,3 +1,4 @@
This is GServer.rb, which provides generic-server facilities.
-Author: John W. Small <jsmall@laser.net>
+Author: John W. Small <jsmall@rogare.com>
+WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=GServer.rb
diff --git a/net/ruby-gserver/pkg-plist b/net/ruby-gserver/pkg-plist
index 4261a40e9f35..5af809f0a473 100644
--- a/net/ruby-gserver/pkg-plist
+++ b/net/ruby-gserver/pkg-plist
@@ -1 +1,3 @@
%%RUBY_SITELIBDIR%%/GServer.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gserver/HttpEchoServer.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/gserver