aboutsummaryrefslogtreecommitdiff
path: root/devel/ruby-byaccr/Makefile
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/Makefile
parentf168d3b2c9e6d1332f378edbc45fb9a66e8f4be8 (diff)
downloadports-8d93009750194e39d0fd69cadbfb021a56cd2301.tar.gz
ports-8d93009750194e39d0fd69cadbfb021a56cd2301.zip
Notes
Diffstat (limited to 'devel/ruby-byaccr/Makefile')
-rw-r--r--devel/ruby-byaccr/Makefile13
1 files changed, 7 insertions, 6 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