2002-07-07 18:40:07 +00:00
|
|
|
# New ports collection makefile for: Ruby/SVG
|
|
|
|
# Date created: 8 July 2002
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= svg
|
2003-02-06 16:29:46 +00:00
|
|
|
PORTVERSION= 1.0.3
|
2002-07-07 18:40:07 +00:00
|
|
|
CATEGORIES= graphics ruby
|
2003-09-06 20:59:53 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
|
|
|
|
MASTER_SITE_SUBDIR= ruby-svg/2288
|
2002-07-07 18:40:07 +00:00
|
|
|
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2005-11-11 01:18:01 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-18 05:20:09 +00:00
|
|
|
COMMENT= A Ruby library for generating SVG files
|
2002-07-07 18:40:07 +00:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
2003-04-19 15:57:37 +00:00
|
|
|
USE_RUBY_FEATURES= zlib
|
2002-07-07 18:40:07 +00:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2002-09-05 02:58:53 +00:00
|
|
|
DOCS_EN= README.en.rd
|
|
|
|
DOCS_JA= README.ja.rd
|
2002-07-07 18:40:07 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${RUBY_SITELIBDIR}/svg
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/svg/*.rb ${RUBY_SITELIBDIR}/svg/
|
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-06 21:08:30 +00:00
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_MODEXAMPLESDIR}/
|
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}/ja
|
2002-07-07 18:40:07 +00:00
|
|
|
.for f in ${DOCS_EN}
|
2002-10-06 21:08:30 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
2002-07-07 18:40:07 +00:00
|
|
|
.endfor
|
|
|
|
.for f in ${DOCS_JA}
|
2002-10-06 21:08:30 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
|
2002-07-07 18:40:07 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|