aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-locale/Makefile
blob: 0436fded2672a866f2bb489a351b58da67decf71 (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
# 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=   2
CATEGORIES= devel ruby
MASTER_SITES=   http://kafka.salemstate.edu/~yashi/ruby/
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DISTNAME=   ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR=    ruby

MAINTAINER= alecn2002@yandex.ru
COMMENT=    A simple Ruby module that provides setlocale(3)

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

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>