summaryrefslogtreecommitdiff
path: root/print/if-psprint/Makefile
blob: 5e3752d4ba997bf700897ccc71cc76fd0b65776b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $NetBSD: Makefile,v 1.37 2020/08/31 18:11:01 wiz Exp $

DISTNAME=	if-psprint-1.10
PKGREVISION=	9
CATEGORIES=	print
MASTER_SITES=	${MASTER_SITE_GITHUB:=abs0/}

MAINTAINER=	abs@absd.org
HOMEPAGE=	https://github.com/abs0/if-psprint
COMMENT=	Print text or postscript to arbitrary printer, can use smb
LICENSE=	public-domain

DEPENDS+=	enscript>=1.6.3nb1:../../print/enscript

REPLACE_PERL=	if-psprint.pl
USE_TOOLS+=	gs:run perl:run pod2man

SUBST_CLASSES+=		manpath
SUBST_STAGE.manpath=	pre-configure
SUBST_FILES.manpath=	Makefile
SUBST_SED.manpath=	-e 's,man/,${PKGMANDIR}/,g'

.include "../../mk/bsd.pkg.mk"