aboutsummaryrefslogtreecommitdiffstats
path: root/print/pdfstitch/Makefile
blob: 5527957a995554ddfa6dfeb07f15c6c8cb2b377c (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
30
31
# Created by: Stefan Hagen <ports@textmail.me>
# $FreeBSD$

PORTNAME=   pdfstitch
DISTVERSIONPREFIX=  v
DISTVERSION=    0.4
CATEGORIES= print

MAINTAINER= ports@textmail.me
COMMENT=    Crop and stitch pages from PDF to larger, single-page PDF

LICENSE=    AGPLv3
LICENSE_FILE=   ${WRKSRC}/LICENSE.txt

RUN_DEPENDS=    textproc/p5-YAML>=1.10:textproc/p5-YAML \
    devel/p5-File-LibMagic>=1.10:devel/p5-File-LibMagic \
    textproc/p5-PDF-API2>=2.030:textproc/p5-PDF-API2

USES=       perl5
USE_GITHUB= yes
GH_ACCOUNT= sur5r

NO_ARCH=    yes
NO_BUILD=   yes

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/pdfstitch ${STAGEDIR}${PREFIX}/bin/pdfstitch
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/README

.include <bsd.port.mk>