summaryrefslogtreecommitdiff
path: root/print/xpdfopen
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2011-10-27 18:42:48 +0000
committerminskim <minskim@pkgsrc.org>2011-10-27 18:42:48 +0000
commit1644360754c218e4a0bb0dbe9a1f283d0492ab1c (patch)
treedc392b0fbf59da539a743f554d8a0777ba3b9b91 /print/xpdfopen
parent969e3965d90d2e2e9ba50e6a1b718acde275c4e5 (diff)
downloadpkgsrc-1644360754c218e4a0bb0dbe9a1f283d0492ab1c.tar.gz
Import xpdfopen-0.82 as print/xpdfopen.
This package provides Fabrice Popineau's pdfclose/pdfopen commands to control Acrobat Reader, xpdf and evince.
Diffstat (limited to 'print/xpdfopen')
-rw-r--r--print/xpdfopen/DESCR2
-rw-r--r--print/xpdfopen/Makefile27
-rw-r--r--print/xpdfopen/PLIST5
-rw-r--r--print/xpdfopen/distinfo6
-rw-r--r--print/xpdfopen/patches/patch-Makefile.in13
5 files changed, 53 insertions, 0 deletions
diff --git a/print/xpdfopen/DESCR b/print/xpdfopen/DESCR
new file mode 100644
index 00000000000..3107de79517
--- /dev/null
+++ b/print/xpdfopen/DESCR
@@ -0,0 +1,2 @@
+This package provides Fabrice Popineau's pdfclose/pdfopen commands to
+control Acrobat Reader, xpdf and evince.
diff --git a/print/xpdfopen/Makefile b/print/xpdfopen/Makefile
new file mode 100644
index 00000000000..0f807934982
--- /dev/null
+++ b/print/xpdfopen/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/10/27 18:42:48 minskim Exp $
+
+DISTNAME= texlive-20110705-source
+PKGNAME= xpdfopen-0.82
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/texlive/Source/}
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= http://www.tug.org/texlive/
+COMMENT= Commands to control Acrobat Reader, xpdf, and evince
+
+CONFLICTS+= teTeX-bin<=3.0nb34
+CONFLICTS+= texlive-pdftools<2011
+DEPENDS+= web2c-[0-9]*:../../print/web2c
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+EXTRACT_ELEMENTS= ${DISTNAME}/build-aux \
+ ${DISTNAME}/utils/xpdfopen
+
+GNU_CONFIGURE= yes
+WRKSRC= ${WRKDIR}/${DISTNAME}/utils/xpdfopen
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/xproto/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/xpdfopen/PLIST b/print/xpdfopen/PLIST
new file mode 100644
index 00000000000..f666011313b
--- /dev/null
+++ b/print/xpdfopen/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/10/27 18:42:48 minskim Exp $
+bin/pdfclose
+bin/pdfopen
+man/man1/pdfclose.1
+man/man1/pdfopen.1
diff --git a/print/xpdfopen/distinfo b/print/xpdfopen/distinfo
new file mode 100644
index 00000000000..dd55bd88590
--- /dev/null
+++ b/print/xpdfopen/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/10/27 18:42:48 minskim Exp $
+
+SHA1 (texlive-20110705-source.tar.xz) = 7a47cfe847801c86c98da8ade181baf97339f6e4
+RMD160 (texlive-20110705-source.tar.xz) = fbcad494cc4717a0238ab2624f259270fce9332b
+Size (texlive-20110705-source.tar.xz) = 131207904 bytes
+SHA1 (patch-Makefile.in) = 43eabbfbd62ce1625cfdf9b1ca7fa0994aa9d42c
diff --git a/print/xpdfopen/patches/patch-Makefile.in b/print/xpdfopen/patches/patch-Makefile.in
new file mode 100644
index 00000000000..71f51ddc2bf
--- /dev/null
+++ b/print/xpdfopen/patches/patch-Makefile.in
@@ -0,0 +1,13 @@
+$NetBSD: patch-Makefile.in,v 1.1.1.1 2011/10/27 18:42:48 minskim Exp $
+
+--- Makefile.in.orig 2011-05-19 07:58:35.000000000 +0000
++++ Makefile.in
+@@ -208,7 +208,7 @@ top_srcdir = @top_srcdir@
+ ACLOCAL_AMFLAGS = -I ../../m4
+ AM_CFLAGS = $(WARNING_CFLAGS)
+ INCLUDES = $(X_CFLAGS)
+-LDADD = $(X_LIBS) -lX11 -lXmu $(X_EXTRA_LIBS)
++LDADD = $(X_LIBS) -lX11 $(X_EXTRA_LIBS)
+ common_sources = sendx.c sendx.h utils.c utils.h xpdfopen.h
+ pdfopen_SOURCES = pdfopen.c $(common_sources)
+ pdfclose_SOURCES = pdfclose.c $(common_sources)