# Created by: rpsfa@rit.edu
# $FreeBSD: branches/RELENG_9_2_0/graphics/rubygem-pdfkit/Makefile 321636 2013-06-23 13:26:38Z swills $

PORTNAME=	pdfkit
PORTVERSION=	0.5.4
CATEGORIES=	graphics rubygems
MASTER_SITES=	RG

MAINTAINER=	ruby@FreeBSD.org
COMMENT=	Uses wkhtmltopdf to create PDFs using HTML

RUN_DEPENDS=	wkhtmltopdf:${PORTSDIR}/converters/wkhtmltopdf

USE_RUBY=	yes
USE_RUBYGEMS=	yes
RUBYGEM_AUTOPLIST=	yes

REINPLACE_ARGS=	-i ''

post-install:
	@${REINPLACE_CMD} -e '/s.date/d' ${PREFIX}/${GEM_SPEC}

.include <bsd.port.mk>
