1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/print/ruby-clibpdf/Makefile
2003-02-18 05:42:05 +00:00

57 lines
1.3 KiB
Makefile

# New ports collection makefile for: Ruby-ClibPDF
# Date created: 22 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= clibpdf
PORTVERSION= 20010519
PORTREVISION= 1
CATEGORIES= print ruby
MASTER_SITES= http://www2s.biglobe.ne.jp/~Nori/ruby/dist/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ClibPDF-ALPHA-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
COMMENT= A Ruby binding for ClibPDF
LIB_DEPENDS= cpdf.0:${PORTSDIR}/print/clibpdf
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
WRKSRC= ${WRKDIR}/ClibPDF-${PORTVERSION}
INSTALL_TARGET= site-install
EXAMPLES_EN= *.rb
EXAMPLES_JA= ja/*.rb
DOCS_EN= README
DOCS_JA= ChangeLog.ja README.ja TODO.ja doc/*
post-extract:
${MKDIR} ${WRKSRC}/examples/ja
${MV} ${WRKSRC}/examples/jpntest.rb ${WRKSRC}/examples/ja/
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}/ja
.for f in ${EXAMPLES_EN}
${INSTALL_DATA} ${WRKSRC}/examples/${f} ${RUBY_MODEXAMPLESDIR}/
.endfor
.for f in ${EXAMPLES_JA}
${INSTALL_DATA} ${WRKSRC}/examples/${f} ${RUBY_MODEXAMPLESDIR}/ja/
.endfor
${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
.include <bsd.port.mk>