aboutsummaryrefslogtreecommitdiff
path: root/graphics/rubygem-pdfkit/Makefile
blob: d725ec959ab759ac384c24e4aeeede44af3caa45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Created by: rpsfa@rit.edu
# $FreeBSD$

PORTNAME=	pdfkit
PORTVERSION=	0.5.4
PORTREVISION=	1
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>