aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2015-02-02 05:43:46 +0800
committermadpilot <madpilot@FreeBSD.org>2015-02-02 05:43:46 +0800
commit67b4a37a8d06705ea2725b4da30ee217d2880864 (patch)
tree67b550c5851c25f757301d6606a9ff58c9312434 /graphics
parent46766f42424863554fac53d7cb8e0411deec529e (diff)
downloadfreebsd-ports-graphics-67b4a37a8d06705ea2725b4da30ee217d2880864.tar.gz
freebsd-ports-graphics-67b4a37a8d06705ea2725b4da30ee217d2880864.tar.zst
freebsd-ports-graphics-67b4a37a8d06705ea2725b4da30ee217d2880864.zip
The zathura-ps plugin adds PostScript support to zathura by using the
libspectre library. WWW: http://pwmt.org/projects/zathura-ps/ PR: 196459 Submitted by: mike.d.ft402@gmail.com
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/zathura-ps/Makefile29
-rw-r--r--graphics/zathura-ps/distinfo2
-rw-r--r--graphics/zathura-ps/pkg-descr4
4 files changed, 36 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index fbc67f87808..30fe7ebb27b 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -1053,6 +1053,7 @@
SUBDIR += zathura-djvu
SUBDIR += zathura-pdf-mupdf
SUBDIR += zathura-pdf-poppler
+ SUBDIR += zathura-ps
SUBDIR += zbar
SUBDIR += zgv
SUBDIR += zimg
diff --git a/graphics/zathura-ps/Makefile b/graphics/zathura-ps/Makefile
new file mode 100644
index 00000000000..c102981c49b
--- /dev/null
+++ b/graphics/zathura-ps/Makefile
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME= zathura-ps
+PORTVERSION= 0.2.2
+CATEGORIES= graphics
+MASTER_SITES= http://pwmt.org/projects/zathura-ps/download/
+
+MAINTAINER= mike.d.ft402@gmail.com
+COMMENT= PostScript support for Zathura PDF viewer
+
+LICENSE= zlib
+LICENSE_NAME= zlib license
+LICENSE_FILE= ${WRKSRC}/LICENSE
+LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
+
+LIB_DEPENDS= libspectre.so:${PORTSDIR}/print/libspectre
+BUILD_DEPENDS= zathura:${PORTSDIR}/graphics/zathura
+RUN_DEPENDS= zathura:${PORTSDIR}/graphics/zathura
+
+USES= desktop-file-utils gmake pkgconfig
+USE_GNOME= glib20 gtk30
+USE_OPENSSL= yes
+
+PLIST_FILES= lib/zathura/ps.so share/applications/zathura-ps.desktop
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/lib/zathura/ps.so
+
+.include <bsd.port.mk>
diff --git a/graphics/zathura-ps/distinfo b/graphics/zathura-ps/distinfo
new file mode 100644
index 00000000000..f86935efe29
--- /dev/null
+++ b/graphics/zathura-ps/distinfo
@@ -0,0 +1,2 @@
+SHA256 (zathura-ps-0.2.2.tar.gz) = e6546261db03b0b6b6499a8e109dc9ff3b8eb8b154ce45f5c6284c1e76d1d7a8
+SIZE (zathura-ps-0.2.2.tar.gz) = 5793
diff --git a/graphics/zathura-ps/pkg-descr b/graphics/zathura-ps/pkg-descr
new file mode 100644
index 00000000000..ee0b9b0af7f
--- /dev/null
+++ b/graphics/zathura-ps/pkg-descr
@@ -0,0 +1,4 @@
+The zathura-ps plugin adds PostScript support to zathura by using the
+libspectre library.
+
+WWW: http://pwmt.org/projects/zathura-ps/