freebsd-ports/devel/rubygem-locale/Makefile

53 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: Ruby GetText Package
# Date created: 4 February 2002
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= gettext
2004-12-25 22:50:36 +01:00
PORTVERSION= 0.8.0
CATEGORIES= devel ruby
MASTER_SITES= ftp://ftp.dvo.ru/pub/Gentoo/distfiles/ \
ftp://ftp.tu-ilmenau.de/Mirrors/gentoo/distfiles/ \
ftp://ftp.tugraz.at/ftp.tu-graz.ac.at/.mirror-sites/gentoo.inode.at/source/distfiles/ \
ftp://mir1.ovh.net/gentoo-distfiles/distfiles/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-package-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= ports@FreeBSD.org
2003-02-18 06:04:59 +01:00
COMMENT= A Ruby implementation of the gettext library
BUILD_DEPENDS= racc:${PORTSDIR}/devel/ruby-racc
USE_GETTEXT= yes
USE_RUBY= yes
2003-01-07 17:39:49 +01:00
USE_RUBY_FEATURES= racc-runtime
USE_RUBY_SETUP= yes
RUBY_SHEBANG_FILES= bin/rgettext ${WRKSRC}/samples/*.rb
2002-10-23 23:02:09 +02:00
2004-10-26 06:22:47 +02:00
DOCS_EN= ChangeLog README
DOCS_JA= README.ja
.include <bsd.port.pre.mk>
post-install: doc-install
doc-install:
2002-10-23 23:02:09 +02:00
.if !defined(NOPORTDOCS)
cd ${WRKSRC}/samples; ${RUBY} makemo.rb
2002-10-06 23:08:30 +02:00
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${CP} -R ${WRKSRC}/samples/* ${RUBY_MODEXAMPLESDIR}/
2004-10-26 06:22:47 +02:00
${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.for f in ${DOCS_JA}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif
.include <bsd.port.post.mk>