aboutsummaryrefslogtreecommitdiffstats
path: root/print/pdfstitch/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/pdfstitch/Makefile')
-rw-r--r--print/pdfstitch/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/print/pdfstitch/Makefile b/print/pdfstitch/Makefile
new file mode 100644
index 000000000000..5527957a9955
--- /dev/null
+++ b/print/pdfstitch/Makefile
@@ -0,0 +1,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>