mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
37f0f0aa36
dependent ruby modules, due to the RUBY_ARCH change I've just committed.
56 lines
1.3 KiB
Makefile
56 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
|
|
|
|
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_EXAMPLESDIR}/clibpdf/ja
|
|
.for f in ${EXAMPLES_EN}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/${f} ${RUBY_EXAMPLESDIR}/clibpdf/
|
|
.endfor
|
|
.for f in ${EXAMPLES_JA}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/${f} ${RUBY_EXAMPLESDIR}/clibpdf/ja/
|
|
.endfor
|
|
${MKDIR} ${RUBY_DOCDIR}/clibpdf/ja
|
|
.for f in ${DOCS_EN}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/clibpdf/
|
|
.endfor
|
|
.for f in ${DOCS_JA}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/clibpdf/ja/
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|