aboutsummaryrefslogtreecommitdiffstats
path: root/devel/rubygem-gettext/Makefile
blob: c11369f09f4a3eb59d39c2ed0577d32e14220c62 (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 GetText Package
# Date created:     4 February 2002
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   gettext
PORTVERSION=    0.1.1
CATEGORIES= devel ruby
MASTER_SITES=   http://home2.highway.ne.jp/mutoh/tools/ruby/
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DISTNAME=   ruby-${PORTNAME}-package-${PORTVERSION}
DIST_SUBDIR=    ruby

MAINTAINER= knu@FreeBSD.org

USE_RUBY=   yes
USE_RUBY_SETUP= yes
RUBY_SETUP= install.rb

post-extract:
    ${FIND} ${WRKSRC} -type d -name CVS -exec ${RM} -rf {} ';' -prune
    ${FIND} ${WRKSRC} -type f -name '*~' -delete

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
    ${CP} -R ${WRKSRC}/samples/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
    ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
    ${CP} -R ${WRKSRC}/docs/* ${RUBY_DOCDIR}/${PORTNAME}/
.endif

.include <bsd.port.mk>