1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/print/ruby-clibpdf/Makefile

57 lines
1.3 KiB
Makefile
Raw Normal View History

# 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 16:10:53 +00:00
PORTVERSION= 20010519
PORTREVISION= 1
CATEGORIES= print ruby
2001-05-19 16:10:53 +00:00
MASTER_SITES= http://www2s.biglobe.ne.jp/~Nori/ruby/dist/
2000-09-07 14:39:47 +00:00
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ClibPDF-ALPHA-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
2003-02-18 05:42:05 +00:00
COMMENT= A Ruby binding for ClibPDF
LIB_DEPENDS= cpdf.0:${PORTSDIR}/print/clibpdf
2000-09-07 14:39:47 +00:00
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
WRKSRC= ${WRKDIR}/ClibPDF-${PORTVERSION}
2000-09-07 14:39:47 +00:00
INSTALL_TARGET= site-install
2001-05-19 16:10:53 +00:00
EXAMPLES_EN= *.rb
EXAMPLES_JA= ja/*.rb
DOCS_EN= README
2001-05-19 16:10:53 +00:00
DOCS_JA= ChangeLog.ja README.ja TODO.ja doc/*
post-extract:
2001-05-19 16:10:53 +00:00
${MKDIR} ${WRKSRC}/examples/ja
${MV} ${WRKSRC}/examples/jpntest.rb ${WRKSRC}/examples/ja/
post-install:
.if !defined(NOPORTDOCS)
2002-10-06 21:38:34 +00:00
${MKDIR} ${RUBY_MODEXAMPLESDIR}/ja
.for f in ${EXAMPLES_EN}
2002-10-06 21:38:34 +00:00
${INSTALL_DATA} ${WRKSRC}/examples/${f} ${RUBY_MODEXAMPLESDIR}/
.endfor
.for f in ${EXAMPLES_JA}
2002-10-06 21:38:34 +00:00
${INSTALL_DATA} ${WRKSRC}/examples/${f} ${RUBY_MODEXAMPLESDIR}/ja/
.endfor
2002-10-06 21:38:34 +00:00
${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
2002-10-06 21:38:34 +00:00
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.for f in ${DOCS_JA}
2002-10-06 21:38:34 +00:00
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif
.include <bsd.port.mk>