1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/devel/ruby-date2/Makefile
Akinori MUSHA 1fa355ad26 Update with bsd.ruby.mk.
Install library files under the standard directory. (${RUBY_SITELIBDIR},
${RUBY_SITEARCHLIBDIR})
2000-09-07 07:29:07 +00:00

54 lines
1.3 KiB
Makefile

# New ports collection makefile for: Ruby-date2
# Date created: 7 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= date2
PORTVERSION= 2
CATEGORIES= devel ruby
MASTER_SITES= http://www.kt.rim.or.jp/~tadf/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
NO_BUILD= yes
MODULES= date2.rb date3.rb holiday.rb odate.rb \
parsedate2.rb parsedate2.ry parsedate3.rb \
qholiday.rb strftime.rb strptime.rb
DOCS_EN= CHANGES.en MANUAL.en README.en
DOCS_JA= MANUAL README
EXAMPLES_EN= cal.rb daylight.rb goodfriday.rb
EXAMPLES_JA= ncal.rb
do-install:
.for f in ${MODULES}
${INSTALL_DATA} ${WRKSRC}/lib/${f} ${RUBY_SITELIBDIR}
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/date2/ja
.for f in ${EXAMPLES_EN}
${INSTALL_DATA} ${WRKSRC}/sample/${f} ${RUBY_EXAMPLESDIR}/date2/
.endfor
.for f in ${EXAMPLES_JA}
${INSTALL_DATA} ${WRKSRC}/sample/${f} ${RUBY_EXAMPLESDIR}/date2/ja/
.endfor
${MKDIR} ${RUBY_DOCDIR}/date2/ja
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/date2/
.endfor
.for f in ${DOCS_JA}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/date2/ja/
.endfor
.endif
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.ruby.mk"
.include <bsd.port.post.mk>