aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-04-02 23:27:16 +0800
committerknu <knu@FreeBSD.org>2001-04-02 23:27:16 +0800
commit44fa98db21aaa294d64f5b30619af3e98e5791de (patch)
treec78480420bd843e9efb38846c4bc79b0f1363a18 /devel
parentd97b19daf5f7b25494729c1d54ff1df02a53d790 (diff)
downloadfreebsd-ports-gnome-44fa98db21aaa294d64f5b30619af3e98e5791de.tar.gz
freebsd-ports-gnome-44fa98db21aaa294d64f5b30619af3e98e5791de.tar.zst
freebsd-ports-gnome-44fa98db21aaa294d64f5b30619af3e98e5791de.zip
Update to 0.1.
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-byaccr/Makefile13
-rw-r--r--devel/ruby-byaccr/distinfo2
-rw-r--r--devel/ruby-byaccr/pkg-plist9
3 files changed, 15 insertions, 9 deletions
diff --git a/devel/ruby-byaccr/Makefile b/devel/ruby-byaccr/Makefile
index 90fab38bb8e1..529285482963 100644
--- a/devel/ruby-byaccr/Makefile
+++ b/devel/ruby-byaccr/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= byaccr
-PORTVERSION= 0.0
-PORTREVISION= 1
+PORTVERSION= 0.1
CATEGORIES= devel ruby
MASTER_SITES= http://kt-www.jaist.ac.jp/~ttate/ftp/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -19,7 +18,7 @@ USE_RUBY= yes
RUBY_NO_BUILD_DEPENDS= yes
RUBY_NO_RUN_DEPENDS= yes
-EXAMPLES= Parser.rb Test.rb cal.y
+DOCS= README README.html
post-patch:
${PERL} -i.orig -pe 's,^#include <malloc\.h>,#include <stdlib.h>,' ${WRKSRC}/*.[ch]
@@ -29,9 +28,11 @@ pre-build:
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_EXAMPLESDIR}/byaccr
-.for f in ${EXAMPLES}
- ${INSTALL_DATA} ${WRKSRC}/sample/${f} ${RUBY_EXAMPLESDIR}/byaccr/
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
.endfor
.endif
diff --git a/devel/ruby-byaccr/distinfo b/devel/ruby-byaccr/distinfo
index be17d29d9899..1ab1b4d37c04 100644
--- a/devel/ruby-byaccr/distinfo
+++ b/devel/ruby-byaccr/distinfo
@@ -1 +1 @@
-MD5 (ruby/byaccr-0.0.tar.gz) = 5d4fc00605e882699d08c11b6bd83dd7
+MD5 (ruby/byaccr-0.1.tar.gz) = b17a05d2520f90bb7ffaf1535ed2d3e3
diff --git a/devel/ruby-byaccr/pkg-plist b/devel/ruby-byaccr/pkg-plist
index 1d13ae5bd4e9..fed72a495217 100644
--- a/devel/ruby-byaccr/pkg-plist
+++ b/devel/ruby-byaccr/pkg-plist
@@ -1,6 +1,11 @@
bin/byaccr
-%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/byaccr/Parser.rb
-%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/byaccr/Test.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/byaccr/Makefile
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/byaccr/cal.y
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/byaccr/calfunc.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/byaccr/main.rb
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/byaccr
%%PORTDOCS%%@unexec rmdir %D/%%RUBY_EXAMPLESDIR%% 2>/dev/null || true
+%%PORTDOCS%%%%RUBY_DOCDIR%%/byaccr/README
+%%PORTDOCS%%%%RUBY_DOCDIR%%/byaccr/README.html
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/byaccr
+%%PORTDOCS%%@unexec rmdir %D/%%RUBY_DOCDIR%% 2>/dev/null || true