diff options
author | dougb <dougb@FreeBSD.org> | 2002-11-11 08:42:14 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2002-11-11 08:42:14 +0000 |
commit | 26554c2f3f839943fa881bab5b63d70da4e78be1 (patch) | |
tree | 316021ea55e56bfe5c2297b3fc45af80775955d3 /graphics/xpdf | |
parent | e11a3c9c6d7ff3cef4bc3b5d4791fd1720ca6b56 (diff) | |
download | FreeBSD-ports-26554c2f3f839943fa881bab5b63d70da4e78be1.zip FreeBSD-ports-26554c2f3f839943fa881bab5b63d70da4e78be1.tar.gz |
Upgrade to 2.00, which includes several nice new features; including
the ability to open multiple documents, view document outlines,
and support for JBIG2. For better or worse, this now depends on motif.
While I'm here, overhaul the port:
* Group the GNU dependencies.
* USE_MOTIF implies USE_XPM, so bring in the former and remove the latter.
* Add with-x to the configure args to make sure it knows what we're after.
* Install portdocs
* Update and expand pkg-comment and pkg-descr.
Diffstat (limited to 'graphics/xpdf')
-rw-r--r-- | graphics/xpdf/Makefile | 17 | ||||
-rw-r--r-- | graphics/xpdf/distinfo | 2 | ||||
-rw-r--r-- | graphics/xpdf/pkg-comment | 2 | ||||
-rw-r--r-- | graphics/xpdf/pkg-descr | 12 | ||||
-rw-r--r-- | graphics/xpdf/pkg-plist | 6 |
5 files changed, 28 insertions, 11 deletions
diff --git a/graphics/xpdf/Makefile b/graphics/xpdf/Makefile index c689cbc..ed3d717 100644 --- a/graphics/xpdf/Makefile +++ b/graphics/xpdf/Makefile @@ -6,7 +6,7 @@ # PORTNAME= xpdf -PORTVERSION= 1.01 +PORTVERSION= 2.00 CATEGORIES= graphics print MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \ ${MASTER_SITE_TEX_CTAN} @@ -18,13 +18,14 @@ BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 LIB_DEPENDS= t1.4:${PORTSDIR}/devel/t1lib \ freetype.9:${PORTSDIR}/print/freetype2 -USE_GMAKE= yes USE_X_PREFIX= yes -USE_XPM= yes +USE_MOTIF= yes + +USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -CONFIGURE_ARGS= --with-gzip --enable-opi \ +CONFIGURE_ARGS= --with-gzip --enable-opi --with-x \ --with-t1-library="${LOCALBASE}/lib" \ --with-t1-includes="${LOCALBASE}/include" \ --with-freetype2-library="${LOCALBASE}/lib" \ @@ -42,4 +43,12 @@ MAN1= pdffonts.1 \ xpdf.1 MAN5= xpdfrc.5 +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in ANNOUNCE CHANGES INSTALL README misc/hello.pdf + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif + .include <bsd.port.mk> diff --git a/graphics/xpdf/distinfo b/graphics/xpdf/distinfo index 8e5fcd8..3d85a63 100644 --- a/graphics/xpdf/distinfo +++ b/graphics/xpdf/distinfo @@ -1 +1 @@ -MD5 (xpdf-1.01.tar.gz) = 36d5b3458dfead16e3ec4df6596ec6f9 +MD5 (xpdf-2.00.tar.gz) = 8cfeab4d23e620b92bfaa0a818c3a28d diff --git a/graphics/xpdf/pkg-comment b/graphics/xpdf/pkg-comment index 145bc09..6c9fbcd 100644 --- a/graphics/xpdf/pkg-comment +++ b/graphics/xpdf/pkg-comment @@ -1 +1 @@ -Display tool for PDF files +Display PDF files, and convert them to other formats diff --git a/graphics/xpdf/pkg-descr b/graphics/xpdf/pkg-descr index c27e12e..8363025 100644 --- a/graphics/xpdf/pkg-descr +++ b/graphics/xpdf/pkg-descr @@ -1,9 +1,11 @@ -Xpdf is a viewer for Portable Document Format (PDF) files. (These are +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. +PDF software. -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. +It can also convert PDF input to ps, text, and info formats; and +split out fonts and images. WWW: http://www.foolabs.com/xpdf/ + +- Doug Barton +DougB@FreeBSD.org diff --git a/graphics/xpdf/pkg-plist b/graphics/xpdf/pkg-plist index 71ffba4..a786035 100644 --- a/graphics/xpdf/pkg-plist +++ b/graphics/xpdf/pkg-plist @@ -6,3 +6,9 @@ bin/pdftops bin/pdftotext bin/xpdf etc/xpdfrc +%%PORTDOCS%%share/doc/xpdf/ANNOUNCE +%%PORTDOCS%%share/doc/xpdf/CHANGES +%%PORTDOCS%%share/doc/xpdf/INSTALL +%%PORTDOCS%%share/doc/xpdf/README +%%PORTDOCS%%share/doc/xpdf/hello.pdf +%%PORTDOCS%%@dirrm share/doc/xpdf |