summaryrefslogtreecommitdiff
path: root/print/if-psprint/Makefile
blob: 8f766a78913503eb75bfd1d1ac314994ab387fd0 (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.38 2021/05/24 19:53:46 wiz Exp $

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