# Created by: Akinori MUSHA aka knu # $FreeBSD: head/graphics/ruby-svg/Makefile 404404 2015-12-25 07:12:18Z ak $ PORTNAME= svg PORTVERSION= 1.0.3 CATEGORIES= graphics ruby MASTER_SITES= SFJP/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 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