summaryrefslogtreecommitdiff
path: root/print/shrinkpdf/Makefile
blob: a44fe40dd485ba3d33b5347e3f5c8904e2937fef (plain)
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

PORTNAME=	shrinkpdf
PORTVERSION=	20191221
CATEGORIES=	print graphics
MASTER_SITES=	http://www.alfredklomp.com/programming/shrinkpdf/
DISTNAME=	${PORTNAME}.sh
EXTRACT_SUFX=   # none
EXTRACT_ONLY=	# none

MAINTAINER=	grembo@FreeBSD.org
COMMENT=	Simple wrapper around Ghostscript to reduce the file size of PDFs

LICENSE=	BSD3CLAUSE

USES=		ghostscript:run
SUB_FILES=	${PORTNAME}.1

NO_BUILD=	yes
NO_ARCH=	yes

PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz

do-install:
	${INSTALL_SCRIPT} ${DISTDIR}/${PORTNAME}.sh \
		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
	${INSTALL_MAN} ${WRKDIR}/shrinkpdf.1 ${STAGEDIR}${MANPREFIX}/man/man1

.include <bsd.port.mk>