aboutsummaryrefslogtreecommitdiff
path: root/print/shrinkpdf/Makefile
blob: a50ad7af1208280f3eb61e7edb5a042dd2701840 (plain) (blame)
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
29
PORTNAME=		shrinkpdf
PORTVERSION=		1.1
PORTREVISION=	1
DISTVERSIONPREFIX=	v
PORTEPOCH=		1
CATEGORIES=		print graphics

MAINTAINER=		grembo@FreeBSD.org
COMMENT=		Simple wrapper around Ghostscript to reduce the file size of PDFs
WWW=		https://github.com/aklomp/shrinkpdf

LICENSE=		BSD3CLAUSE

USES=			ghostscript:run
USE_GITHUB=		yes
GH_ACCOUNT=		aklomp
SUB_FILES=		${PORTNAME}.1

NO_BUILD=		yes
NO_ARCH=		yes

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

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

.include <bsd.port.mk>