diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-01-26 11:55:28 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-01-26 11:55:28 +0000 |
commit | 162779469ca5308631bbba01d02714733f4034b1 (patch) | |
tree | 96ed4f6019673b8a7be2d7d4b15b0415a2adcb67 /textproc/ruby-format/Makefile | |
parent | 91176d081316eb67884b90497cd298200313a1f9 (diff) |
Notes
Diffstat (limited to 'textproc/ruby-format/Makefile')
-rw-r--r-- | textproc/ruby-format/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/textproc/ruby-format/Makefile b/textproc/ruby-format/Makefile index 71a187397085..1a5c76b10844 100644 --- a/textproc/ruby-format/Makefile +++ b/textproc/ruby-format/Makefile @@ -6,29 +6,30 @@ # PORTNAME= format -PORTVERSION= 1.02 +PORTVERSION= 1.03 CATEGORIES= textproc ruby -#MASTER_SITES= http://www.crhc.uiuc.edu/~rubel/ -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= knu +MASTER_SITES= http://www.crhc.uiuc.edu/~rubel/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} -DISTNAME= FormatR-${PORTVERSION} +DISTNAME= FormatR.${PORTVERSION} DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org USE_RUBY= yes -WRKSRC= ${WRKDIR}/FormatR NO_BUILD= yes +post-patch: + ${RUBY} -i.orig -pe 'gsub(/"(format_test\.pl)/, "\"./\\1")' ${WRKSRC}/test_format.rb + do-install: ${INSTALL_DATA} ${WRKSRC}/format.rb ${RUBY_SITELIBDIR}/ .if !defined(NOPORTDOCS) - ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME} + ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}/test .for f in test_format.rb format_test.pl - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/ + ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/ .endfor + ${INSTALL_DATA} ${WRKSRC}/test/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/test/ .endif .include <bsd.port.mk> |