aboutsummaryrefslogtreecommitdiff
path: root/devel/ruby-byaccr
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-04-02 15:27:16 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-04-02 15:27:16 +0000
commit8d93009750194e39d0fd69cadbfb021a56cd2301 (patch)
tree096dee3559e1cf90ed5ac44844987a8ebe90cfa4 /devel/ruby-byaccr
parentf168d3b2c9e6d1332f378edbc45fb9a66e8f4be8 (diff)
downloadports-8d93009750194e39d0fd69cadbfb021a56cd2301.tar.gz
ports-8d93009750194e39d0fd69cadbfb021a56cd2301.zip
Notes
Diffstat (limited to 'devel/ruby-byaccr')
-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