Update to 0.1.

This commit is contained in:
Akinori MUSHA 2001-04-02 15:27:16 +00:00
parent f168d3b2c9
commit 8d93009750
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40759
3 changed files with 15 additions and 9 deletions

View file

@ -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

View file

@ -1 +1 @@
MD5 (ruby/byaccr-0.0.tar.gz) = 5d4fc00605e882699d08c11b6bd83dd7
MD5 (ruby/byaccr-0.1.tar.gz) = b17a05d2520f90bb7ffaf1535ed2d3e3

View file

@ -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