1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/devel/ruby-date2/Makefile

52 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: Ruby-date2
# Date created: 7 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= date2
PORTVERSION= 3.3
CATEGORIES= devel ruby
2001-11-03 20:55:51 +00:00
MASTER_SITES= http://www.funaba.org/archive/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
2003-02-18 05:04:59 +00:00
COMMENT= An alternative date class for Ruby
USE_RUBY= yes
2002-04-12 19:03:18 +00:00
USE_RUBY_SETUP= yes
RUBY_SETUP= install.rb
2000-12-31 11:40:05 +00:00
DOCS_EN= MANUAL.en MANUAL.en.rd MANUAL.en.html README.en
DOCS_JA= MANUAL MANUAL.rd MANUAL.html README
EXAMPLES_EN= cal.rb daylight.rb goodfriday.rb
EXAMPLES_JA= ncal.rb
.include <bsd.port.pre.mk>
.if ${RUBY_VER} >= 1.7
IGNORE= is part of ruby ${RUBY_VER} distribution
.endif
2002-04-12 19:03:18 +00:00
post-install:
.if !defined(NOPORTDOCS)
2002-10-06 21:08:30 +00:00
${MKDIR} ${RUBY_MODEXAMPLESDIR}/ja
.for f in ${EXAMPLES_EN}
2002-10-06 21:08:30 +00:00
${INSTALL_DATA} ${WRKSRC}/sample/${f} ${RUBY_MODEXAMPLESDIR}/
.endfor
.for f in ${EXAMPLES_JA}
2002-10-06 21:08:30 +00:00
${INSTALL_DATA} ${WRKSRC}/sample/${f} ${RUBY_MODEXAMPLESDIR}/ja/
.endfor
2002-10-06 21:08:30 +00:00
${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
2002-10-06 21:08:30 +00:00
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.for f in ${DOCS_JA}
2002-10-06 21:08:30 +00:00
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif
.include <bsd.port.post.mk>