1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/graphics/ruby-svg/Makefile
Baptiste Daroussin fd488d2644 Support stage
2014-04-07 14:28:09 +00:00

43 lines
1.0 KiB
Makefile

# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $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 <bsd.port.mk>