summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1996-05-30 11:11:14 +0000
committerPeter Wemm <peter@FreeBSD.org>1996-05-30 11:11:14 +0000
commit493c7ec4b9ca5976b6ae68ac6c7b20403bd94313 (patch)
tree6bbdd9626d7be20d6766734b726624ef6ecb51d4 /graphics
parentRemove all the unnecessary junk from MAKE_ENV, it is now set by +=. (diff)
xpdf 0.4 -> 0.5 (old file gone from master site)
Also install man pages, for what it's worth.
Notes
Notes: svn path=/head/; revision=3151
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xpdf/Makefile11
-rw-r--r--graphics/xpdf/distinfo2
-rw-r--r--graphics/xpdf/files/patch-aa8
-rw-r--r--graphics/xpdf/files/patch-ab36
-rw-r--r--graphics/xpdf/pkg-plist2
5 files changed, 35 insertions, 24 deletions
diff --git a/graphics/xpdf/Makefile b/graphics/xpdf/Makefile
index 71d0153261c9..91c671c56508 100644
--- a/graphics/xpdf/Makefile
+++ b/graphics/xpdf/Makefile
@@ -3,10 +3,10 @@
# Date created: 02 Feb 1996
# Whom: chuckr@glue.umd.edu
#
-# $Id: Makefile,v 1.3 1996/03/06 08:20:03 asami Exp $
+# $Id: Makefile,v 1.4 1996/05/04 01:42:19 asami Exp $
#
-DISTNAME= xpdf-0.4
+DISTNAME= xpdf-0.5
CATEGORIES+= graphics
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/xpdf/
@@ -14,4 +14,11 @@ MAINTAINER= chuckr@glue.umd.edu
USE_X11= yes
+post-install:
+ install -c -m 444 ${WRKSRC}/xpdf.1 ${PREFIX}/man/man1
+ install -c -m 444 ${WRKSRC}/pdftops.1 ${PREFIX}/man/man1
+.if !defined(NOMANCOMPRESS)
+ gzip -9nf ${PREFIX}/man/man1/xpdf.1 ${PREFIX}/man/man1/pdftops.1
+.endif
+
.include <bsd.port.mk>
diff --git a/graphics/xpdf/distinfo b/graphics/xpdf/distinfo
index 9af9afc3b19f..1bbb8b5ea49e 100644
--- a/graphics/xpdf/distinfo
+++ b/graphics/xpdf/distinfo
@@ -1 +1 @@
-MD5 (xpdf-0.4.tar.gz) = 1320c735f99a375c61cb1bf9cb289823
+MD5 (xpdf-0.5.tar.gz) = 52eef2370042dda70c1ca49a26f2869f
diff --git a/graphics/xpdf/files/patch-aa b/graphics/xpdf/files/patch-aa
index c22dbaed4d99..d49165df2ebc 100644
--- a/graphics/xpdf/files/patch-aa
+++ b/graphics/xpdf/files/patch-aa
@@ -1,7 +1,7 @@
---- Makefile.orig Wed May 1 17:52:04 1996
-+++ Makefile Wed May 1 17:53:14 1996
+--- Makefile.orig Fri May 24 10:45:36 1996
++++ Makefile Wed May 29 13:21:40 1996
@@ -21,8 +21,8 @@
- cd xpdf; make pdftops
+ cd xpdf; $(MAKE) pdftops
install:
- install -c xpdf/xpdf $(PREFIX)/bin
@@ -10,4 +10,4 @@
+ install -c xpdf/pdftops $(X11BASE)/bin
clean:
- cd goo; make clean
+ cd goo; $(MAKE) clean
diff --git a/graphics/xpdf/files/patch-ab b/graphics/xpdf/files/patch-ab
index ebc827df8c02..df5951edfcde 100644
--- a/graphics/xpdf/files/patch-ab
+++ b/graphics/xpdf/files/patch-ab
@@ -1,32 +1,34 @@
---- Makefile.config.orig Wed May 1 17:36:22 1996
-+++ Makefile.config Wed May 1 17:37:41 1996
-@@ -74,13 +74,13 @@
- #CFLAGS2 =
+--- Makefile.config.dist Fri May 24 12:29:32 1996
++++ Makefile.config Wed May 29 13:23:06 1996
+@@ -81,7 +81,7 @@
+ #------------------------------------------------------------------------
- # If you're using g++ 2.7.x, you'll want to use -Wno-unused:
--CFLAGS2 = -Wno-unused
-+#CFLAGS2 = -Wno-unused
+ # This will work for most systems:
+-CFLAGS2 = -O2 -Wall
++#CFLAGS2 = -O2 -Wall
- # For Linux systems using XFree86:
- #CFLAGS2 = -I/usr/X11/include -Wno-unused
+ # If you're using g++ 2.7.x, you'll want to use -Wno-unused:
+ #CFLAGS2 = -O2 -Wall -Wno-unused
+@@ -90,7 +90,7 @@
+ #CFLAGS2 = -O2 -Wall -I/usr/X11R6/include -Wno-unused
- # For FreeBSD systems using XFree86:
--#CFLAGS2 = -I$(X11BASE)/include -Wno-unused
-+CFLAGS2 = -I$(X11BASE)/include -Wno-unused
+ # For official FreeBSD port (using the FreeBSD makefiles):
+-#CFLAGS2 = -O2 -Wall -I$(X11BASE)/include -Wno-unused
++CFLAGS2 = -O2 -Wall -I$(X11BASE)/include -Wno-unused
# For Solaris:
- #CFLAGS2 = -I/usr/openwin/include
-@@ -97,13 +97,13 @@
+ #CFLAGS2 = -O2 -Wall -I/usr/openwin/include
+@@ -110,13 +110,13 @@
#------------------------------------------------------------------------
# For most systems, just grab the X library:
-XLIBS = -lX11
+#XLIBS = -lX11
- # For Linux systems using XFree86:
- #XLIBS = -L/usr/X11/lib -lX11
+ # For Linux/FreeBSD/NetBSD systems using XFree86:
+ #XLIBS = -L/usr/X11R6/lib -lX11
- # For FreeBSD systems using XFree86:
+ # For official FreeBSD port (using the FreeBSD makefiles):
-#XLIBS = -L$(X11BASE)/lib -lX11
+XLIBS = -L$(X11BASE)/lib -lX11
diff --git a/graphics/xpdf/pkg-plist b/graphics/xpdf/pkg-plist
index 136faf9ed52b..1ec00d39070d 100644
--- a/graphics/xpdf/pkg-plist
+++ b/graphics/xpdf/pkg-plist
@@ -1,2 +1,4 @@
bin/xpdf
bin/pdftops
+man/man1/xpdf.1.gz
+man/man1/pdftops.1.gz