freebsd-ports/graphics/ruby-svg/Makefile
Mathieu Arnold 88bfe4bd43 Cleanup DIST* variables.
When appropriate:
- Try to use DISTVERSION{SUF,PRE}FIX
- Replace PORTNAME-PORTVERSION by DISTNAME
- Convert MASTER_SITES to use macros
- Other light cleanup

With hat:	portmgr
Sponsored by:	Absolight
2015-05-11 18:34:57 +00:00

41 lines
1,022 B
Makefile

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