aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2012-10-12 09:08:50 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2012-10-12 09:08:50 +0000
commitd97ed9264639acd115eafaa0a15999b0cb78b583 (patch)
tree66e660a52931ef0c964d8040f8ffea33784c2e76 /graphics
parent58df8d2b316ead39b9a70738e7b9ee4cf0ae55e4 (diff)
downloadports-d97ed9264639acd115eafaa0a15999b0cb78b583.tar.gz
ports-d97ed9264639acd115eafaa0a15999b0cb78b583.zip
- 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 <chris@imagemetrica.com> [1] Rainer Duffner <rainer@ultra-secure.de> [2] Feature safe: yes
Notes
Notes: svn path=/head/; revision=305766
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xpdf/Makefile5
-rw-r--r--graphics/xpdf/pkg-plist1
2 files changed, 2 insertions, 4 deletions
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