aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ruby-csv/Makefile
blob: e1c22413eb38a2561bf3a3adb43dcf31694f8731 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for:    ruby-csv
# Date created:     18 Feb 2001
# Whom:         Yarema <yds@dppl.com>
#
# $FreeBSD$
#

PORTNAME=   csv
PORTVERSION=    1.0.2
CATEGORIES= textproc ruby
MASTER_SITES=   http://www.jin.gr.jp/~nahi/Ruby/CSV/
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/./_/g}
DIST_SUBDIR=    ruby

MAINTAINER= knu@FreeBSD.org

USE_RUBY=   yes

NO_BUILD=   yes

MODULES=    csv.rb

do-install:
.for f in ${MODULES}
    ${INSTALL_DATA} ${WRKSRC}/lib/${f} ${RUBY_SITELIBDIR}
.endfor
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_DOCDIR}/csv
    ${INSTALL_DATA} ${WRKSRC}/README.txt ${RUBY_DOCDIR}/csv
.endif

.include <bsd.port.mk>