# New ports collection makefile for: Ruby-ClibPDF # Date created: 22 Aug 2000 # Whom: Akinori MUSHA aka knu # # $FreeBSD$ # PORTNAME= clibpdf PORTVERSION= 20010519 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