diff options
author | knu <knu@FreeBSD.org> | 2000-09-07 07:44:38 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-09-07 07:44:38 +0000 |
commit | e911379d47fa39daa6cb9830741fed10b1aba05d (patch) | |
tree | e9c8a7c6f295c77312cf8f27078de702e8324bb4 /textproc | |
parent | 57a36d42b96e563526258513aa4391b9faf810ba (diff) | |
download | FreeBSD-ports-e911379d47fa39daa6cb9830741fed10b1aba05d.zip FreeBSD-ports-e911379d47fa39daa6cb9830741fed10b1aba05d.tar.gz |
Update with bsd.ruby.mk.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/eruby/Makefile | 17 | ||||
-rw-r--r-- | textproc/eruby/pkg-plist | 10 |
2 files changed, 12 insertions, 15 deletions
diff --git a/textproc/eruby/Makefile b/textproc/eruby/Makefile index 7d01da6..0282bba 100644 --- a/textproc/eruby/Makefile +++ b/textproc/eruby/Makefile @@ -13,15 +13,10 @@ DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org -BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby -RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby +USE_RUBY= yes WRKSRC= ${WRKDIR}/${PORTNAME} -RUBY?= ${LOCALBASE}/bin/ruby -RUBY_VER?= 1.4 -RUBY_ARCH?= ${ARCH}-freebsd${OSREL} - DOCS_EN= ChangeLog README.en DOCS_JA= README.ja @@ -30,13 +25,15 @@ do-configure: post-install: .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/ruby/eruby/ja + ${MKDIR} ${RUBY_DOCDIR}/eruby/ja .for f in ${DOCS_EN} - ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/eruby/ + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/eruby/ .endfor .for f in ${DOCS_JA} - ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/eruby/ja/ + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/eruby/ja/ .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/Mk/bsd.ruby.mk" +.include <bsd.port.post.mk> diff --git a/textproc/eruby/pkg-plist b/textproc/eruby/pkg-plist index ef823ed..6dde67b 100644 --- a/textproc/eruby/pkg-plist +++ b/textproc/eruby/pkg-plist @@ -1,6 +1,6 @@ bin/eruby -share/doc/ruby/eruby/ChangeLog -share/doc/ruby/eruby/README.en -share/doc/ruby/eruby/ja/README.ja -@dirrm share/doc/ruby/eruby/ja -@dirrm share/doc/ruby/eruby +%%RUBY_DOCDIR%%/eruby/ChangeLog +%%RUBY_DOCDIR%%/eruby/README.en +%%RUBY_DOCDIR%%/eruby/ja/README.ja +@dirrm %%RUBY_DOCDIR%%/eruby/ja +@dirrm %%RUBY_DOCDIR%%/eruby |