2000-08-22 11:13:41 -04:00
|
|
|
# New ports collection makefile for: Ruby-ClibPDF
|
|
|
|
# Date created: 22 Aug 2000
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= clibpdf
|
2001-05-19 12:10:53 -04:00
|
|
|
PORTVERSION= 20010519
|
2001-09-17 13:54:27 -04:00
|
|
|
PORTREVISION= 1
|
2000-08-22 11:13:41 -04:00
|
|
|
CATEGORIES= print ruby
|
2001-05-19 12:10:53 -04:00
|
|
|
MASTER_SITES= http://www2s.biglobe.ne.jp/~Nori/ruby/dist/
|
2000-09-07 10:39:47 -04:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
2000-08-22 11:13:41 -04:00
|
|
|
DISTNAME= ClibPDF-ALPHA-${PORTVERSION}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
2003-02-18 00:42:05 -05:00
|
|
|
COMMENT= A Ruby binding for ClibPDF
|
2000-08-22 11:13:41 -04:00
|
|
|
|
|
|
|
LIB_DEPENDS= cpdf.0:${PORTSDIR}/print/clibpdf
|
|
|
|
|
2000-09-07 10:39:47 -04:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
2000-08-22 11:13:41 -04:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/ClibPDF-${PORTVERSION}
|
2000-09-07 10:39:47 -04:00
|
|
|
INSTALL_TARGET= site-install
|
2000-08-22 11:13:41 -04:00
|
|
|
|
2001-05-19 12:10:53 -04:00
|
|
|
EXAMPLES_EN= *.rb
|
|
|
|
EXAMPLES_JA= ja/*.rb
|
2000-08-22 11:13:41 -04:00
|
|
|
|
|
|
|
DOCS_EN= README
|
2001-05-19 12:10:53 -04:00
|
|
|
DOCS_JA= ChangeLog.ja README.ja TODO.ja doc/*
|
2000-08-22 11:13:41 -04:00
|
|
|
|
|
|
|
post-extract:
|
2001-05-19 12:10:53 -04:00
|
|
|
${MKDIR} ${WRKSRC}/examples/ja
|
|
|
|
${MV} ${WRKSRC}/examples/jpntest.rb ${WRKSRC}/examples/ja/
|
2000-08-22 11:13:41 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-06 17:38:34 -04:00
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}/ja
|
2000-08-22 11:13:41 -04:00
|
|
|
.for f in ${EXAMPLES_EN}
|
2002-10-06 17:38:34 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/${f} ${RUBY_MODEXAMPLESDIR}/
|
2000-08-22 11:13:41 -04:00
|
|
|
.endfor
|
|
|
|
.for f in ${EXAMPLES_JA}
|
2002-10-06 17:38:34 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/${f} ${RUBY_MODEXAMPLESDIR}/ja/
|
2000-08-22 11:13:41 -04:00
|
|
|
.endfor
|
2002-10-06 17:38:34 -04:00
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}/ja
|
2000-08-22 11:13:41 -04:00
|
|
|
.for f in ${DOCS_EN}
|
2002-10-06 17:38:34 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
2000-08-22 11:13:41 -04:00
|
|
|
.endfor
|
|
|
|
.for f in ${DOCS_JA}
|
2002-10-06 17:38:34 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
|
2000-08-22 11:13:41 -04:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2000-09-26 04:02:17 -04:00
|
|
|
.include <bsd.port.mk>
|