Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/graphics/xpdf/Makefile,v
retrieving revision 1.103
diff -u -r1.103 Makefile
--- Makefile	25 May 2012 03:24:19 -0000	1.103
+++ Makefile	25 May 2012 17:41:33 -0000
@@ -16,7 +16,6 @@
 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 @@
 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 @@
 .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>
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/graphics/xpdf/pkg-plist,v
retrieving revision 1.15
diff -u -r1.15 pkg-plist
--- pkg-plist	25 May 2012 03:24:19 -0000	1.15
+++ pkg-plist	25 May 2012 17:46:47 -0000
@@ -13,4 +13,4 @@
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/hello.pdf
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm lib/xpdf
+@dirrm libexec/xpdf
