aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-locale2/Makefile
blob: 5885dd7c1717a4db70c4abc0e461c078b181ead0 (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
36
# New ports collection makefile for:    Ruby-locale
# Date created:     11 February 2009
# Whom:         stas
#
# $FreeBSD$
#

PORTNAME=   locale2
PORTVERSION=    2.0.0
CATEGORIES= devel ruby
MASTER_SITES=   ${MASTER_SITE_RUBYFORGE}
MASTER_SITE_SUBDIR= locale
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DISTNAME=   ruby-locale-${PORTVERSION}
DIST_SUBDIR=    ruby

MAINTAINER= stas@FreeBSD.org
COMMENT=    A pure ruby library which provides basic APIs for localization

CONFLICTS=  ${PKGNAMEPREFIX}locale-[0-9]*

USE_RUBY=   yes
USE_RUBY_SETUP= yes

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

.if !defined(NOPORTEXAMPLES)
    ${MKDIR} ${RUBY_MODEXAMPLESDIR}/
    @(cd ${WRKSRC}/samples/ && ${COPYTREE_SHARE} \* ${RUBY_MODEXAMPLESDIR}/)
.endif

.include <bsd.port.mk>