2000-08-15 14:34:53 +00:00
|
|
|
# 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
|
2000-08-16 12:21:24 +00:00
|
|
|
CATEGORIES= devel ruby
|
2000-08-15 14:34:53 +00:00
|
|
|
MASTER_SITES= http://kafka.salem.mass.edu/~yashi/ruby/
|
2000-09-07 14:39:47 +00:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
2000-08-15 14:34:53 +00:00
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
|
|
|
|
#USE_BZIP2= yes # only saves 500 bytes..
|
2000-09-07 14:39:47 +00:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
2000-08-15 14:34:53 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
2000-09-07 14:39:47 +00:00
|
|
|
INSTALL_TARGET= site-install
|
2000-08-15 14:34:53 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2000-09-07 14:39:47 +00:00
|
|
|
${MKDIR} ${RUBY_EXAMPLESDIR}/locale
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/test.rb ${RUBY_EXAMPLESDIR}/locale/
|
|
|
|
${MKDIR} ${RUBY_DOCDIR}/locale
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/locale/
|
2000-08-15 14:34:53 +00:00
|
|
|
.endif
|
|
|
|
|
2000-09-07 14:39:47 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.include "${PORTSDIR}/Mk/bsd.ruby.mk"
|
|
|
|
.include <bsd.port.post.mk>
|