# Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= svg PORTVERSION= 1.0.3 CATEGORIES= graphics ruby MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP} MASTER_SITE_SUBDIR= ruby-svg/2288 DISTNAME= ruby-${PORTNAME}-${PORTVERSION} DIST_SUBDIR= ruby MAINTAINER= ruby@FreeBSD.org COMMENT= Ruby library for generating SVG files OPTIONS_DEFINE= DOCS EXAMPLES USE_RUBY= yes USE_RUBY_FEATURES= zlib NO_BUILD= yes DOCS_EN= README.en.rd DOCS_JA= README.ja.rd DOCSDIR= ${RUBY_MODDOCDIR} EXAMPLESDIR= ${RUBY_MODEXAMPLESDIR} PORTDOCS= * PORTEXAMPLES= * do-install: @${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/svg ${INSTALL_DATA} ${WRKSRC}/lib/svg/*.rb ${STAGEDIR}${RUBY_SITELIBDIR}/svg/ @${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ @${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja .for f in ${DOCS_EN} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ .endfor .for f in ${DOCS_JA} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/ .endfor .include