From 42b8de3d897e1f9e89717ffdd002ff77b452f722 Mon Sep 17 00:00:00 2001 From: fenner Date: Sat, 10 Feb 1996 20:33:09 +0000 Subject: Chuck Robey's xpdf port. xpdf is an X-Windows pdf viewer. Submitted by: Chuck Robey --- graphics/xpdf/Makefile | 20 ++++++++++++++++++++ graphics/xpdf/distinfo | 1 + graphics/xpdf/files/patch-aa | 12 ++++++++++++ graphics/xpdf/files/patch-ab | 20 ++++++++++++++++++++ graphics/xpdf/pkg-comment | 1 + graphics/xpdf/pkg-descr | 8 ++++++++ graphics/xpdf/pkg-plist | 1 + 7 files changed, 63 insertions(+) create mode 100644 graphics/xpdf/Makefile create mode 100644 graphics/xpdf/distinfo create mode 100644 graphics/xpdf/files/patch-aa create mode 100644 graphics/xpdf/files/patch-ab create mode 100644 graphics/xpdf/pkg-comment create mode 100644 graphics/xpdf/pkg-descr create mode 100644 graphics/xpdf/pkg-plist diff --git a/graphics/xpdf/Makefile b/graphics/xpdf/Makefile new file mode 100644 index 000000000000..601dd776c193 --- /dev/null +++ b/graphics/xpdf/Makefile @@ -0,0 +1,20 @@ +# New ports collection makefile for: xpdf +# Version required: 0.3 +# Date created: 02 Feb 1996 +# Whom: chuckr@glue.umd.edu +# +# $Id:$ +# + +DISTNAME= xpdf-0.3 +PKGNAME= xpdf-0.3 +CATEGORIES+= graphics +KEYWORDS= pdf "Portable Document Format" adobe acrobat +MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/xpdf/ +EXTRACT_SUFX= .tar.gz + +MAINTAINER= chuckr@glue.umd.edu + +USE_X11= yes + +.include diff --git a/graphics/xpdf/distinfo b/graphics/xpdf/distinfo new file mode 100644 index 000000000000..d3f98df1d137 --- /dev/null +++ b/graphics/xpdf/distinfo @@ -0,0 +1 @@ +MD5 (xpdf-0.3.tar.gz) = b0131ba93b936f3ed7b1ccd265d4fe03 diff --git a/graphics/xpdf/files/patch-aa b/graphics/xpdf/files/patch-aa new file mode 100644 index 000000000000..6ce212c80571 --- /dev/null +++ b/graphics/xpdf/files/patch-aa @@ -0,0 +1,12 @@ +--- Makefile.orig Sat Jan 13 11:11:55 1996 ++++ Makefile Mon Feb 5 18:06:05 1996 +@@ -11,6 +11,9 @@ + cd ltk; make depend; make + cd xpdf; make depend; make + ++install: ++ install -c xpdf/xpdf ${PREFIX}/bin ++ + clean: + cd goo; make clean + cd ltk; make clean diff --git a/graphics/xpdf/files/patch-ab b/graphics/xpdf/files/patch-ab new file mode 100644 index 000000000000..4049da778837 --- /dev/null +++ b/graphics/xpdf/files/patch-ab @@ -0,0 +1,20 @@ +--- Makefile.config.orig Sat Jan 13 11:11:45 1996 ++++ Makefile.config Mon Feb 5 17:44:39 1996 +@@ -15,14 +15,15 @@ + # Extra flags for C compiler + # This can include things like -I and -L if your include files or + # libraries are in non-standard places. ++# For FreeBSD, need -DHAVE_PARAM_H + #CFLAGS2 = +-CFLAGS2 = -Wno-unused ++CFLAGS2 = -Wno-unused -DHAVE_PARAM_H -I/usr/X11R6/include + + # Extra flags for C++ compiler + # This can include things like -I and -L if your include files or + # libraries are in non-standard places. + #CXXFLAGS2 = +-CXXFLAGS2 = -Wno-unused ++CXXFLAGS2 = -Wno-unused -I/usr/X11R6/include + + # Any flags necessary to link in libX11. + #XLIBS = -lX11 diff --git a/graphics/xpdf/pkg-comment b/graphics/xpdf/pkg-comment new file mode 100644 index 000000000000..145bc09305d1 --- /dev/null +++ b/graphics/xpdf/pkg-comment @@ -0,0 +1 @@ +Display tool for PDF files diff --git a/graphics/xpdf/pkg-descr b/graphics/xpdf/pkg-descr new file mode 100644 index 000000000000..74f5394a6719 --- /dev/null +++ b/graphics/xpdf/pkg-descr @@ -0,0 +1,8 @@ +Xpdf is a viewer for Portable Document Format (PDF) files. (These are +also sometimes also called 'Acrobat' files, from the name of Adobe's +PDF software.) Xpdf runs under UNIX and the X Window System. + +Xpdf is designed to be small and efficient. It does not use the Motif +or Xt libraries. It uses standard X fonts. Xpdf is quite usable on a +486-66 PC running FreeBSD. + diff --git a/graphics/xpdf/pkg-plist b/graphics/xpdf/pkg-plist new file mode 100644 index 000000000000..d38befb01adc --- /dev/null +++ b/graphics/xpdf/pkg-plist @@ -0,0 +1 @@ +bin/xpdf -- cgit