PREFIX/LOCALBASE/plist fixups.

Submitted by:	"b. f." <bf1783@googlemail.com>
This commit is contained in:
Cy Schubert 2012-05-25 19:20:48 +00:00
parent 13e3c6bdcd
commit d5c5951c59
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=297453
2 changed files with 3 additions and 4 deletions

View File

@ -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>

View File

@ -13,4 +13,4 @@ etc/xpdfrc
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/hello.pdf
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm lib/xpdf
@dirrm libexec/xpdf