diff options
author | knu <knu@FreeBSD.org> | 2000-09-07 15:44:38 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-09-07 15:44:38 +0800 |
commit | e911379d47fa39daa6cb9830741fed10b1aba05d (patch) | |
tree | e9c8a7c6f295c77312cf8f27078de702e8324bb4 /textproc | |
parent | 57a36d42b96e563526258513aa4391b9faf810ba (diff) | |
download | freebsd-ports-gnome-e911379d47fa39daa6cb9830741fed10b1aba05d.tar.gz freebsd-ports-gnome-e911379d47fa39daa6cb9830741fed10b1aba05d.tar.zst freebsd-ports-gnome-e911379d47fa39daa6cb9830741fed10b1aba05d.zip |
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 7d01da624941..0282bbad7d21 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 ef823ed224b2..6dde67b527ad 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 |