freebsd-ports/graphics/ruby-image_size/Makefile
Mark Linimon 34da9bdf57 With portmgr hat on, reset maintainership of knu's ports since he has
been inactive more than 6 months.  We hope to see him back sometime.
2005-11-11 01:18:01 +00:00

49 lines
1.1 KiB
Makefile

# New ports collection makefile for: image_size
# Date created: 13 May 2002
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= image_size
PORTVERSION= 0.0.20040618
CATEGORIES= graphics ruby
MASTER_SITES= http://www.rubycgi.org/archive/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}.${PORTVERSION:E}
EXTRACT_SUFX= .tgz
DIST_SUBDIR= ruby
MAINTAINER= ports@FreeBSD.org
COMMENT= A Ruby library to measure the size of a given image file
USE_RUBY= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
RUBY_RD_FILES= readme.ja.rd readme.rd
DOCS_EN= ${RUBY_RD_FILES:N*.ja.rd} \
${RUBY_RD_HTML_FILES:N*.ja.html}
DOCS_JA= ${RUBY_RD_FILES:M*.ja.rd} \
${RUBY_RD_HTML_FILES:M*.ja.html}
do-install:
${INSTALL_DATA} ${WRKSRC}/lib/image_size.rb ${RUBY_SITELIBDIR}/
post-install: doc-install
.include <bsd.port.mk>
doc-install:
.if !defined(NOPORTDOCS)
${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