aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-03-31 00:47:32 +0800
committerknu <knu@FreeBSD.org>2002-03-31 00:47:32 +0800
commit184bd9e80c7ea68e442027c1d26b57ff2b9b75d4 (patch)
tree3293f19a398f76bb9193ac2773e26f6d46499863 /devel
parentc1684bd9f7a19e7d7c76c2d9d074d71dc225e267 (diff)
downloadfreebsd-ports-gnome-184bd9e80c7ea68e442027c1d26b57ff2b9b75d4.tar.gz
freebsd-ports-gnome-184bd9e80c7ea68e442027c1d26b57ff2b9b75d4.tar.zst
freebsd-ports-gnome-184bd9e80c7ea68e442027c1d26b57ff2b9b75d4.zip
Update to 1.10.3r.
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-calendar/Makefile25
-rw-r--r--devel/ruby-calendar/distinfo2
-rw-r--r--devel/ruby-calendar/pkg-plist2
3 files changed, 12 insertions, 17 deletions
diff --git a/devel/ruby-calendar/Makefile b/devel/ruby-calendar/Makefile
index f18bf0c2f15f..000c4ee51941 100644
--- a/devel/ruby-calendar/Makefile
+++ b/devel/ruby-calendar/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= calendar
-PORTVERSION= 1.10.2r
+PORTVERSION= 1.10.3r
CATEGORIES= devel ruby
MASTER_SITES= http://www.funaba.org/archive/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -15,30 +15,25 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
+USE_RUBY_SETUP= yes
+RUBY_SETUP= install.rb
-MAKE_ARGS= RUBY="${RUBY}"
-INSTALL_TARGET= site-install
-
-DOCS_EN= README.en sdn/README.sdncal20
+DOCS_EN= README.en ext/sdn/README.sdncal20
DOCS_JA= README
-EXAMPLES_EN= calendar/cal.rb
-
-post-extract:
- ${MKDIR} ${WRKSRC}/calendar/lib
- ${MV} ${WRKSRC}/calendar/calclass.rb ${WRKSRC}/calendar/lib/
+EXAMPLES_EN= ext/calendar/cal*.rb
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_EXAMPLESDIR}/calendar
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
.for f in ${EXAMPLES_EN}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/calendar/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/
.endfor
- ${MKDIR} ${RUBY_DOCDIR}/calendar/ja
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
.for f in ${DOCS_EN}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/calendar/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
.endfor
.for f in ${DOCS_JA}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/calendar/ja/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
.endfor
.endif
diff --git a/devel/ruby-calendar/distinfo b/devel/ruby-calendar/distinfo
index 04c48bc10738..abb13e6c5b8a 100644
--- a/devel/ruby-calendar/distinfo
+++ b/devel/ruby-calendar/distinfo
@@ -1 +1 @@
-MD5 (ruby/calendar-1.10.2r.tar.gz) = 158d332e23a95efdd8cb57d79bd15317
+MD5 (ruby/calendar-1.10.3r.tar.gz) = d8aae7625b4566829e117e3456ea452e
diff --git a/devel/ruby-calendar/pkg-plist b/devel/ruby-calendar/pkg-plist
index 5284383a9167..0e6c60265031 100644
--- a/devel/ruby-calendar/pkg-plist
+++ b/devel/ruby-calendar/pkg-plist
@@ -1,8 +1,8 @@
%%RUBY_SITEARCHLIBDIR%%/calendar.so
%%RUBY_SITEARCHLIBDIR%%/getdate.so
%%RUBY_SITEARCHLIBDIR%%/sdn.so
-%%RUBY_SITELIBDIR%%/calclass.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/calendar/cal.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/calendar/calclass.rb
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/calendar
%%PORTDOCS%%%%RUBY_DOCDIR%%/calendar/README.en
%%PORTDOCS%%%%RUBY_DOCDIR%%/calendar/README.sdncal20