aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2012-05-26 03:20:48 +0800
committercy <cy@FreeBSD.org>2012-05-26 03:20:48 +0800
commit41614b1ab9889fa34a8ef9e6cc3925b08d4c0a4f (patch)
tree4bc9556a85314032920ad5280bdf0d21eabcd8f6 /graphics
parent7650f8bd7413c2aeb1305a4b3a6a8257d63eb327 (diff)
downloadfreebsd-ports-gnome-41614b1ab9889fa34a8ef9e6cc3925b08d4c0a4f.tar.gz
freebsd-ports-gnome-41614b1ab9889fa34a8ef9e6cc3925b08d4c0a4f.tar.zst
freebsd-ports-gnome-41614b1ab9889fa34a8ef9e6cc3925b08d4c0a4f.zip
PREFIX/LOCALBASE/plist fixups.
Submitted by: "b. f." <bf1783@googlemail.com>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xpdf/Makefile5
-rw-r--r--graphics/xpdf/pkg-plist2
2 files changed, 3 insertions, 4 deletions
diff --git a/graphics/xpdf/Makefile b/graphics/xpdf/Makefile
index 9d3f7c4a7bc4..dc2f148b4b90 100644
--- a/graphics/xpdf/Makefile
+++ b/graphics/xpdf/Makefile
@@ -16,7 +16,6 @@ MASTER_SITE_SUBDIR= support/xpdf
MAINTAINER= araujo@FreeBSD.org
COMMENT= Display PDF files, and convert them to other formats
-BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
GNU_CONFIGURE= yes
@@ -26,7 +25,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-opi \
--with-freetype2-library="${LOCALBASE}/lib" \
--with-freetype2-includes="${LOCALBASE}/include/freetype2/" \
- --bindir="${LOCALBASE}/libexec/xpdf"
+ --bindir="${PREFIX}/libexec/xpdf"
OPTIONS= LIBPAPER "Enable libpaper" off \
TYPE1 "Ghostscript type1 fonts" on \
@@ -82,7 +81,7 @@ post-install:
.endfor
.endif
.if !defined(WITHOUT_X11)
- ${LN} -sf ${LOCALBASE}/libexec/xpdf/xpdf ${LOCALBASE}/bin/xpdf
+ ${LN} -sf ${PREFIX}/libexec/xpdf/xpdf ${PREFIX}/bin/xpdf
.endif
.include <bsd.port.mk>
diff --git a/graphics/xpdf/pkg-plist b/graphics/xpdf/pkg-plist
index 9d8550cd8529..247be64e0b91 100644
--- a/graphics/xpdf/pkg-plist
+++ b/graphics/xpdf/pkg-plist
@@ -13,4 +13,4 @@ etc/xpdfrc
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/hello.pdf
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm lib/xpdf
+@dirrm libexec/xpdf