diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-07-07 18:40:07 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-07-07 18:40:07 +0000 |
commit | 44508718f5c613db566bcbad05e9ec6f024e4639 (patch) | |
tree | c00aad923a683686d7b0be0f4702c3838f6669ae /graphics/ruby-svg/Makefile | |
parent | upgrade to 3.14p (diff) |
Add ruby-svg, a Ruby library for generating SVG files.
Notes
Notes:
svn path=/head/; revision=62592
Diffstat (limited to 'graphics/ruby-svg/Makefile')
-rw-r--r-- | graphics/ruby-svg/Makefile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/graphics/ruby-svg/Makefile b/graphics/ruby-svg/Makefile new file mode 100644 index 000000000000..e81265f845a0 --- /dev/null +++ b/graphics/ruby-svg/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: Ruby/SVG +# Date created: 8 July 2002 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= svg +PORTVERSION= 1.0.0 +CATEGORIES= graphics ruby +MASTER_SITES= http://downloads.sourceforge.jp/ruby-svg/509/ +MASTER_SITE_SUBDIR= knu +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ruby-${PORTNAME}-${PORTVERSION} +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/zlib.so:${PORTSDIR}/archivers/ruby-zlib + +USE_RUBY= yes + +NO_BUILD= yes + +DOCS_EN= doc/README.en.rd +DOCS_JA= doc/README.ja.rd + +do-install: + ${MKDIR} ${RUBY_SITELIBDIR}/svg + ${INSTALL_DATA} ${WRKSRC}/lib/svg/*.rb ${RUBY_SITELIBDIR}/svg/ +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/ + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja +.for f in ${DOCS_EN} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ +.endfor +.for f in ${DOCS_JA} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/ +.endfor +.endif + +.include <bsd.port.mk> |