aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/ruby-fox12
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-03-23 22:38:05 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-03-23 22:38:05 +0000
commit8f5e5ce63b3afdf9933a4828938d0dde343e8fae (patch)
treec43716a662ba2d107b56b0777a138deaecb84c22 /x11-toolkits/ruby-fox12
parentc90c2320b14e365cadeb61355f718a854739c680 (diff)
downloadports-8f5e5ce63b3afdf9933a4828938d0dde343e8fae.tar.gz
ports-8f5e5ce63b3afdf9933a4828938d0dde343e8fae.zip
Notes
Diffstat (limited to 'x11-toolkits/ruby-fox12')
-rw-r--r--x11-toolkits/ruby-fox12/Makefile16
-rw-r--r--x11-toolkits/ruby-fox12/distinfo2
-rw-r--r--x11-toolkits/ruby-fox12/pkg-plist22
3 files changed, 31 insertions, 9 deletions
diff --git a/x11-toolkits/ruby-fox12/Makefile b/x11-toolkits/ruby-fox12/Makefile
index 049563b2ad76..cebdbbde6702 100644
--- a/x11-toolkits/ruby-fox12/Makefile
+++ b/x11-toolkits/ruby-fox12/Makefile
@@ -6,12 +6,12 @@
#
PORTNAME= fox
-PORTVERSION= 0.99.166
+PORTVERSION= ${FXRUBY_PORTVERSION}
CATEGORIES= x11-toolkits ruby
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= fxruby
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
-DISTNAME= FXRuby-${PORTVERSION}
+DISTNAME= ${FXRUBY_DISTNAME}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
@@ -21,6 +21,16 @@ LIB_DEPENDS= FOX.1:${PORTSDIR}/x11-toolkits/fox \
png.4:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg
+FOX_VERSION= 0.99.166
+FXRUBY_REVISION= 1
+.if defined(FXRUBY_REVISION) && !empty(FXRUBY_REVISION)
+FXRUBY_PORTVERSION= ${FOX_VERSION}.${FXRUBY_REVISION}
+FXRUBY_DISTNAME= FXRuby-${FOX_VERSION}-${FXRUBY_REVISION}
+.else
+FXRUBY_PORTVERSION= ${FOX_VERSION}
+FXRUBY_DISTNAME= FXRuby-${FOX_VERSION}
+.endif
+
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
@@ -45,7 +55,7 @@ pre-build:
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/fox
- ${INSTALL_DATA} ${WRKSRC}/../examples/* ${RUBY_EXAMPLESDIR}/fox/
+ ${CP} -R ${WRKSRC}/../examples/* ${RUBY_EXAMPLESDIR}/fox/
${MKDIR} ${RUBY_DOCDIR}/fox
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/../${f} ${RUBY_DOCDIR}/fox/
diff --git a/x11-toolkits/ruby-fox12/distinfo b/x11-toolkits/ruby-fox12/distinfo
index b7dfd85d7349..a100e709f5de 100644
--- a/x11-toolkits/ruby-fox12/distinfo
+++ b/x11-toolkits/ruby-fox12/distinfo
@@ -1 +1 @@
-MD5 (ruby/FXRuby-0.99.166.tar.gz) = 6948147dac93a09660bb241e6166e569
+MD5 (ruby/FXRuby-0.99.166-1.tar.gz) = abe0777bcd594ff85d57d5fd5cb58cbd
diff --git a/x11-toolkits/ruby-fox12/pkg-plist b/x11-toolkits/ruby-fox12/pkg-plist
index 63c116eb1304..d74fbc9e0930 100644
--- a/x11-toolkits/ruby-fox12/pkg-plist
+++ b/x11-toolkits/ruby-fox12/pkg-plist
@@ -1,19 +1,31 @@
%%RUBY_SITEARCHLIBDIR%%/fox.so
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/README
-%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/bigpenguin.gif
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/button.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/datatarget.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/foursplit.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/gltest.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/header.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/hello.rb
-%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/hello2.gif
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/hello2.rb
-%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/minidoc.gif
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/image.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/responder.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/scribble.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/shutter.rb
-%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/shutter1.gif
-%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/shutter2.gif
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/icons/bigpenguin.gif
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/icons/colorpal.gif
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/icons/copy.gif
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/icons/cut.gif
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/icons/fileopen.gif
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/icons/filesave.gif
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/icons/hello2.gif
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/icons/minidoc.gif
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/icons/minifolder.gif
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/icons/minifolderopen.gif
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/icons/paste.gif
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/icons/shutter1.gif
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/icons/shutter2.gif
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/icons/tbuplevel.gif
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/fox/icons
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/fox
%%PORTDOCS%%%%RUBY_DOCDIR%%/fox/README
%%PORTDOCS%%%%RUBY_DOCDIR%%/fox/index.html