From d97ed9264639acd115eafaa0a15999b0cb78b583 Mon Sep 17 00:00:00 2001 From: Marcelo Araujo Date: Fri, 12 Oct 2012 09:08:50 +0000 Subject: - Fix build and use the right path of freetype2. [1] - Don't install xpdf on libexec when build without X support. [1] PR: ports/169196 [1], ports/170525 [2] Submitted by: Christopher [1] Rainer Duffner [2] Feature safe: yes --- graphics/xpdf/Makefile | 5 ++--- graphics/xpdf/pkg-plist | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'graphics/xpdf') diff --git a/graphics/xpdf/Makefile b/graphics/xpdf/Makefile index b5ec438a68ad..754a60bdc302 100644 --- a/graphics/xpdf/Makefile +++ b/graphics/xpdf/Makefile @@ -7,7 +7,7 @@ PORTNAME= xpdf PORTVERSION= 3.03 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics print MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \ ${MASTER_SITE_TEX_CTAN} @@ -24,7 +24,7 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --enable-opi \ --with-freetype2-library="${LOCALBASE}/lib" \ - --with-freetype2-includes="${LOCALBASE}/include/freetype2/" \ + --with-freetype2-includes="${LOCALBASE}/include/" \ --bindir="${PREFIX}/libexec/xpdf" OPTIONS= LIBPAPER "Enable libpaper" off \ @@ -65,7 +65,6 @@ PLIST_SUB+= X11="@comment " .else CONFIGURE_ARGS+= --with-x USE_MOTIF= yes -MAN1+= xpdf.1 PLIST_SUB+= X11="" .endif diff --git a/graphics/xpdf/pkg-plist b/graphics/xpdf/pkg-plist index 7bea4b401b3a..0facddf39581 100644 --- a/graphics/xpdf/pkg-plist +++ b/graphics/xpdf/pkg-plist @@ -5,7 +5,6 @@ libexec/xpdf/pdfdetach libexec/xpdf/pdftoppm libexec/xpdf/pdftops libexec/xpdf/pdftotext -libexec/xpdf/xpdf %%X11%%bin/xpdf etc/xpdfrc %%PORTDOCS%%%%DOCSDIR%%/ANNOUNCE -- cgit v1.2.3