mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
40e9f7052c
latest snapshots as of 2003-04-19. ruby-bigdecimal (formerly known as ruby-bigfloat) and ruby-zlib are now part of ruby 1.8.
43 lines
993 B
Makefile
43 lines
993 B
Makefile
# 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.3
|
|
CATEGORIES= graphics ruby
|
|
MASTER_SITES= http://downloads.sourceforge.jp/ruby-svg/2288/
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
COMMENT= A Ruby library for generating SVG files
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBY_FEATURES= zlib
|
|
|
|
NO_BUILD= yes
|
|
|
|
DOCS_EN= README.en.rd
|
|
DOCS_JA= README.ja.rd
|
|
|
|
do-install:
|
|
${MKDIR} ${RUBY_SITELIBDIR}/svg
|
|
${INSTALL_DATA} ${WRKSRC}/lib/svg/*.rb ${RUBY_SITELIBDIR}/svg/
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_MODEXAMPLESDIR}/
|
|
${MKDIR} ${RUBY_MODDOCDIR}/ja
|
|
.for f in ${DOCS_EN}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
|
.endfor
|
|
.for f in ${DOCS_JA}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|