76c8d06662
PR: ports/104209 [1], ports/104789 [2] Submitted by: Josh Paetzel <josh_AT_tcbug dot org> [1], Kay Abendroth <kay dot abendroth@raxion dot net> [2]
44 lines
886 B
Makefile
44 lines
886 B
Makefile
# New ports collection makefile for: Ruby/TZFile
|
|
# Date created: 8 June 2001
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tzfile
|
|
PORTVERSION= 0.1
|
|
CATEGORIES= devel ruby
|
|
MASTER_SITES= http://cvs.m17n.org/viewcvs/ruby/
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DISTNAME= tzfile.tar.gz\?only_with_tag=${PORTNAME}-${PORTVERSION:S/./_/g}\&view=tar
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= TZFile handling library for Ruby
|
|
|
|
USE_RUBY= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
RUBY_RD_FILES= tzfile.rb
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
DOCS= ${RUBY_RD_HTML_FILES}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/tzfile.rb ${RUBY_SITELIBDIR}/
|
|
|
|
post-install: doc-install
|
|
|
|
doc-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|