summaryrefslogtreecommitdiffstats
path: root/devel/ruby-property/Makefile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-09-07 14:39:47 +0000
committerknu <knu@FreeBSD.org>2000-09-07 14:39:47 +0000
commit96f951a2786bd495731135d2fc5fcb8749dee633 (patch)
treef2835ba67cd5363c99bf3d8b27d9d3019200754f /devel/ruby-property/Makefile
parent4ea073e1c6c57446d3193f6385a0d5ce1cc3e63f (diff)
downloadFreeBSD-ports-96f951a2786bd495731135d2fc5fcb8749dee633.zip
FreeBSD-ports-96f951a2786bd495731135d2fc5fcb8749dee633.tar.gz
Update with bsd.ruby.mk. :>
Diffstat (limited to 'devel/ruby-property/Makefile')
-rw-r--r--devel/ruby-property/Makefile23
1 files changed, 10 insertions, 13 deletions
diff --git a/devel/ruby-property/Makefile b/devel/ruby-property/Makefile
index df59c6b..3b8428f 100644
--- a/devel/ruby-property/Makefile
+++ b/devel/ruby-property/Makefile
@@ -9,36 +9,33 @@ PORTNAME= property
PORTVERSION= 19990308
CATEGORIES= devel ruby
MASTER_SITES= http://www.ueda.info.waseda.ac.jp/~igarashi/ruby/
-PKGNAMEPREFIX= ruby-
-DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
-RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+USE_RUBY= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
-PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
-
-RUBY?= ${LOCALBASE}/bin/ruby
-RUBY_VER?= 1.4
-RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
post-patch:
${PERL} -i -pe 's|rubyapi.css|../rubyapi.css|g' ${WRKSRC}/Properties-ja.html
do-install:
- ${INSTALL_DATA} ${WRKSRC}/property.rb ${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/
+ ${INSTALL_DATA} ${WRKSRC}/property.rb ${RUBY_SITELIBDIR}
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/ruby/property/ja
+ ${MKDIR} ${RUBY_DOCDIR}/property/ja
.for f in property-example.rb test.default property.README Properties.html rubyapi.css
- ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/property
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/property
.endfor
.for f in property.README.ja Properties-ja.html
- ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/property/ja
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/property/ja
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/Mk/bsd.ruby.mk"
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud