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 /www/mod_ruby | |
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 'www/mod_ruby')
-rw-r--r-- | www/mod_ruby/Makefile | 22 | ||||
-rw-r--r-- | www/mod_ruby/pkg-plist | 10 |
2 files changed, 15 insertions, 17 deletions
diff --git a/www/mod_ruby/Makefile b/www/mod_ruby/Makefile index 66bf99fe9251..5f5a7435a44e 100644 --- a/www/mod_ruby/Makefile +++ b/www/mod_ruby/Makefile @@ -13,19 +13,15 @@ DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org -BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 \ - ruby:${PORTSDIR}/lang/ruby -RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 \ - ruby:${PORTSDIR}/lang/ruby +BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 +RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 + +USE_RUBY= yes WRKSRC= ${WRKDIR}/${PORTNAME} APXS= ${LOCALBASE}/sbin/apxs -RUBY?= ${LOCALBASE}/bin/ruby -RUBY_VER?= 1.4 -RUBY_ARCH?= ${ARCH}-freebsd${OSREL} - DOCS_EN= ChangeLog README.en DOCS_JA= README.ja @@ -35,14 +31,16 @@ do-configure: do-install: ${APXS} -i -A -n ruby ${WRKSRC}/mod_ruby.so .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/ruby/mod_ruby/ja + ${MKDIR} ${RUBY_DOCDIR}/mod_ruby/ja .for f in ${DOCS_EN} - ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/mod_ruby/ + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/mod_ruby/ .endfor .for f in ${DOCS_JA} - ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/mod_ruby/ja/ + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/mod_ruby/ja/ .endfor .endif ${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/Mk/bsd.ruby.mk" +.include <bsd.port.post.mk> diff --git a/www/mod_ruby/pkg-plist b/www/mod_ruby/pkg-plist index de0b83996cdb..15457774a9b9 100644 --- a/www/mod_ruby/pkg-plist +++ b/www/mod_ruby/pkg-plist @@ -1,8 +1,8 @@ libexec/apache/mod_ruby.so @exec %D/sbin/apxs -e -A -n ruby %D/%F @unexec %D/sbin/apxs -e -A -n ruby %D/%F -share/doc/ruby/mod_ruby/ChangeLog -share/doc/ruby/mod_ruby/README.en -share/doc/ruby/mod_ruby/ja/README.ja -@dirrm share/doc/ruby/mod_ruby/ja -@dirrm share/doc/ruby/mod_ruby +%%RUBY_DOCDIR%%/mod_ruby/ChangeLog +%%RUBY_DOCDIR%%/mod_ruby/README.en +%%RUBY_DOCDIR%%/mod_ruby/ja/README.ja +@dirrm %%RUBY_DOCDIR%%/mod_ruby/ja +@dirrm %%RUBY_DOCDIR%%/mod_ruby |