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 12:10:53 -04:00
PORTVERSION= 20010519
PORTREVISION= 1
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}
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
LIB_DEPENDS= cpdf.0:${PORTSDIR}/print/clibpdf
2000-09-07 10:39:47 -04:00
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
WRKSRC= ${WRKDIR}/ClibPDF-${PORTVERSION}
2000-09-07 10:39:47 -04:00
INSTALL_TARGET= site-install
2001-05-19 12:10:53 -04:00
EXAMPLES_EN= *.rb
EXAMPLES_JA= ja/*.rb
DOCS_EN= README
2001-05-19 12:10:53 -04:00
DOCS_JA= ChangeLog.ja README.ja TODO.ja doc/*
post-extract:
2001-05-19 12:10:53 -04:00
${MKDIR} ${WRKSRC}/examples/ja
${MV} ${WRKSRC}/examples/jpntest.rb ${WRKSRC}/examples/ja/
post-install:
.if !defined(NOPORTDOCS)
2002-10-06 17:38:34 -04:00
${MKDIR} ${RUBY_MODEXAMPLESDIR}/ja
.for f in ${EXAMPLES_EN}
2002-10-06 17:38:34 -04:00
${INSTALL_DATA} ${WRKSRC}/examples/${f} ${RUBY_MODEXAMPLESDIR}/
.endfor
.for f in ${EXAMPLES_JA}
2002-10-06 17:38:34 -04:00
${INSTALL_DATA} ${WRKSRC}/examples/${f} ${RUBY_MODEXAMPLESDIR}/ja/
.endfor
2002-10-06 17:38:34 -04:00
${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
2002-10-06 17:38:34 -04:00
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.for f in ${DOCS_JA}
2002-10-06 17:38:34 -04:00
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif
.include <bsd.port.mk>