aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-locale/Makefile
blob: aedac2d88fd8c8f504ac9edc3e47e036d34e2f9c (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
34
35
# New ports collection makefile for:    Ruby-locale
# Date created:     15 Aug 2000
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   locale
PORTVERSION=    0.2
PORTREVISION=   1
CATEGORIES= devel ruby
MASTER_SITES=   http://kafka.salemstate.edu/~yashi/ruby/
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DISTNAME=   ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR=    ruby

MAINTAINER= knu@FreeBSD.org
COMMENT=    A simple Ruby module that provides setlocale(3)

#USE_BZIP2= yes # only saves 500 bytes..
USE_RUBY=   yes
USE_RUBY_EXTCONF=   yes

WRKSRC=     ${WRKDIR}/${DISTNAME}
INSTALL_TARGET= site-install

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_MODEXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/test.rb ${RUBY_MODEXAMPLESDIR}/
    ${MKDIR} ${RUBY_MODDOCDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_MODDOCDIR}/
.endif

.include <bsd.port.mk>