aboutsummaryrefslogtreecommitdiff
path: root/print/html2ps-letter/Makefile
blob: 47af4b704fc2a02107ea335990a665cbc4d524e9 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:	html2ps-letter
# Date created:		Sat Nov 22 12:54:50 CET 1997
# Whom:			andreas
#
# $FreeBSD$
#

PORTNAME=	html2ps-${PAPERSIZE}
PORTVERSION=	1.0
PORTREVISION=	1
CATEGORIES=	print www perl5
MASTER_SITES=	http://www.tdb.uu.se/~jan/
DISTNAME=	html2ps-1.0b3

MAINTAINER=	ports@FreeBSD.org

PORTCOMMENT=	HTML to PostScript converter

BUILD_DEPENDS=	mogrify:${PORTSDIR}/graphics/ImageMagick \
		djpeg:${PORTSDIR}/graphics/jpeg \
		giftopnm:${PORTSDIR}/graphics/netpbm \
		gs:${PORTSDIR}/print/ghostscript-gnu \
		tex:${PORTSDIR}/print/teTeX \
		${site_perl}/LWP.pm:${PORTSDIR}/www/p5-libwww \
		weblint:${PORTSDIR}/www/weblint
RUN_DEPENDS=	mogrify:${PORTSDIR}/graphics/ImageMagick

site_perl=	${PREFIX}/lib/perl5/site_perl/${PERL_VER}
USE_PERL5=	YES
NO_BUILD=	YES

PAPERSIZE?=	letter

MAN1=		html2ps.1
MAN5=		html2psrc.5
SCRIPTS_ENV+=	PERL=${PERL} PAPERSIZE=${PAPERSIZE}

do-install:
	@cd ${WRKSRC}; ${PERL} install

.include <bsd.port.mk>