freebsd-ports/devel/ruby-property/Makefile

42 lines
1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: Ruby-property
# Date created: 7 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= property
2001-02-05 15:34:42 +01:00
PORTVERSION= 19990308
CATEGORIES= devel ruby
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= fenner/ruby-contrib
2000-09-07 16:39:47 +02:00
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= ruby@FreeBSD.org
2003-02-18 06:04:59 +01:00
COMMENT= Simple properties scheme for Ruby
2000-09-07 16:39:47 +02:00
USE_RUBY= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
post-patch:
${RUBY} -i -pe 'gsub /rubyapi\.css/, "../rubyapi.css"' ${WRKSRC}/Properties-ja.html
do-install:
2000-09-07 16:39:47 +02:00
${INSTALL_DATA} ${WRKSRC}/property.rb ${RUBY_SITELIBDIR}
.if !defined(NOPORTDOCS)
2002-10-06 23:08:30 +02:00
${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in property-example.rb test.default property.README Properties.html rubyapi.css
2002-10-06 23:08:30 +02:00
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}
.endfor
.for f in property.README.ja Properties-ja.html
2002-10-06 23:08:30 +02:00
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja
.endfor
.endif
.include <bsd.port.mk>