summaryrefslogtreecommitdiff
path: root/print/if-psprint/Makefile
blob: 96b151291864dc7ea3e019c88aee5375022cd6b2 (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.36 2019/08/11 13:22:39 wiz Exp $

DISTNAME=	if-psprint-1.10
PKGREVISION=	8
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"