freebsd-ports/print/ruby-panda/Makefile

54 lines
1.4 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: Ruby/Panda
# Date created: 28 March 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= panda
2003-04-23 16:23:01 +02:00
PORTVERSION= 0.0.6
CATEGORIES= print ruby
MASTER_SITES= http://www2s.biglobe.ne.jp/~Nori/ruby/dist/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
2003-02-18 06:42:05 +01:00
COMMENT= A Ruby extension library to access Panda
LIB_DEPENDS= panda.0:${PORTSDIR}/print/panda \
jpeg.9:${PORTSDIR}/graphics/jpeg \
2001-09-11 04:59:20 +02:00
png.5:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
2001-04-06 12:44:57 +02:00
RUBY_WITH_PTHREAD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
INSTALL_TARGET= site-install
2001-07-29 14:14:10 +02:00
DOCS_EN= README \
doc/ref_en.html doc/ref_en.rd
DOCS_JA= ChangeLog.ja README.ja TODO.ja \
doc/ref_ja.html doc/ref_ja.rd
EXAMPLES_EN= circles.rb main.rb morecircles.rb template.rb
post-install:
.if !defined(NOPORTDOCS)
2002-10-06 23:38:34 +02:00
${MKDIR} ${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES_EN}
2002-10-06 23:38:34 +02:00
${INSTALL_DATA} ${WRKSRC}/examples/${f} ${RUBY_MODEXAMPLESDIR}/
.endfor
2002-03-30 12:57:22 +01:00
cd ${RUBY_EXAMPLESDIR}/${PORTNAME}; ${LN} -sf ../../panda/*.jpg ../../panda/*.png ../../panda/*.tif .
2002-10-06 23:38:34 +02:00
${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
2002-10-06 23:38:34 +02:00
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.for f in ${DOCS_JA}
2002-10-06 23:38:34 +02:00
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif
.include <bsd.port.mk>