diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-08-27 13:30:21 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-08-27 13:30:21 +0000 |
commit | ebff7a71315b38ff7e9e683547b6143396de862e (patch) | |
tree | 03e63ddf60f6edd8fa1e980aafdf98c0d276ec51 /devel/ruby-mmap/Makefile | |
parent | 9e74416ca896707d31f6e34c31847fe07b1f6332 (diff) |
Notes
Diffstat (limited to 'devel/ruby-mmap/Makefile')
-rw-r--r-- | devel/ruby-mmap/Makefile | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/devel/ruby-mmap/Makefile b/devel/ruby-mmap/Makefile index 5cd75db512df..53f2591cdc03 100644 --- a/devel/ruby-mmap/Makefile +++ b/devel/ruby-mmap/Makefile @@ -6,7 +6,7 @@ # PORTNAME= mmap -PORTVERSION= 0.1.7 +PORTVERSION= 0.1.8 CATEGORIES= devel ruby MASTER_SITES= ftp://moulon.inra.fr/pub/ruby/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} @@ -14,14 +14,28 @@ DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org +.if !defined(NOPORTDOCS) +BUILD_DEPENDS= rdoc:${PORTSDIR}/textproc/ruby-rdoc +.endif + USE_RUBY= yes USE_RUBY_EXTCONF= yes +.if !defined(NOPORTDOCS) +USE_RUBY_RD= yes +.endif INSTALL_TARGET= site-install -DOCS= Changes README.en mmap.html mmap.rd +DOCS= Changes README.en mmap.html mmap.rd \ + docs/doc EXAMPLES= b.rb +post-build: +.if !defined(NOPORTDOCS) + cd ${WRKSRC}; ${RUBY_RD} mmap.rd > mmap.html + cd ${WRKSRC}/docs; ${RUBY} b.rb mmap; rdoc mmap.rb +.endif + post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}/ @@ -30,7 +44,7 @@ post-install: .endfor ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME} .for f in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ + ${CP} -R ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ .endfor .endif |