freebsd-ports/devel/ruby-gettext/Makefile
Edwin Groothuis 39a413d6b9 Make portlint happier.
They are not the patches from the submitter, but one which overcome
knu@s objections about the original ones and discussed in ports/69037.

PR:		ports/69027 ports/69028 ports/69029 ports/69030 ports/69031 ports/69032 ports/69033 ports/69034 ports/69035 ports/69036 ports/69037
Submitted by:	Wesley Shields <wxs@csh.rit.edu>
2004-12-14 04:54:37 +00:00

49 lines
1.1 KiB
Makefile

# 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.7.0
CATEGORIES= devel ruby
MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-package-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
COMMENT= A Ruby implementation of the gettext library
BUILD_DEPENDS= racc:${PORTSDIR}/devel/ruby-racc
USE_GETTEXT= yes
USE_RUBY= yes
USE_RUBY_FEATURES= racc-runtime
USE_RUBY_SETUP= yes
RUBY_SHEBANG_FILES= ${WRKSRC}/samples/*.rb
DOCS_EN= ChangeLog README
DOCS_JA= README.ja
.include <bsd.port.pre.mk>
post-install: doc-install
doc-install:
.if !defined(NOPORTDOCS)
cd ${WRKSRC}/samples; ${RUBY} makemo.rb
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${CP} -R ${WRKSRC}/samples/* ${RUBY_MODEXAMPLESDIR}/
${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>