# Created by: rpsfa@rit.edu
# $FreeBSD: tags/RELEASE_10_1_0/graphics/rubygem-pdfkit/Makefile 365892 2014-08-24 04:28:24Z swills $

PORTNAME=	pdfkit
PORTVERSION=	0.6.2
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' ${STAGEDIR}${PREFIX}/${GEM_SPEC}

.include <bsd.port.mk>
