summaryrefslogtreecommitdiff
path: root/print/mpage/Makefile
blob: 2d4ba596134bf9fb58e3fed2b8a3323ef09c1358 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: Makefile,v 1.28 2021/03/14 08:40:46 wiz Exp $

DISTNAME=	mpage-2.5.7
PKGREVISION=	1
CATEGORIES=	print
MASTER_SITES+=	https://www.mesa.nl/pub/mpage/
EXTRACT_SUFX=	.tgz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://www.mesa.nl/download.html
COMMENT=	Print multiple pages per sheet of paper
LICENSE=	gnu-gpl-v2 AND gnu-lgpl-v2.1

BUILD_TARGET=		default
BUILD_DEFS+=		PAPERSIZE
INSTALL_MAKE_FLAGS+=	PREFIX=${DESTDIR}${PREFIX} \
			MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1

.include "../../mk/bsd.prefs.mk"
MAKE_ENV+=	PAGESIZE=${PAPERSIZE}

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