diff --git a/graphics/xpdf/Makefile b/graphics/xpdf/Makefile index 7921fd071326..c689cbcbc94d 100644 --- a/graphics/xpdf/Makefile +++ b/graphics/xpdf/Makefile @@ -6,26 +6,29 @@ # PORTNAME= xpdf -PORTVERSION= 1.00 +PORTVERSION= 1.01 CATEGORIES= graphics print -MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \ +MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \ ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= support/xpdf MAINTAINER= DougB@FreeBSD.org +BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 LIB_DEPENDS= t1.4:${PORTSDIR}/devel/t1lib \ - ttf.4:${PORTSDIR}/print/freetype + freetype.9:${PORTSDIR}/print/freetype2 USE_GMAKE= yes USE_X_PREFIX= yes USE_XPM= yes -USE_AUTOCONF= yes -CONFIGURE_ARGS= --with-gzip --enable-opi \ - --with-t1-library=${LOCALBASE}/lib \ - --with-t1-includes=${LOCALBASE}/include \ - --with-freetype-library=${LOCALBASE}/lib \ - --with-freetype-includes=${LOCALBASE}/include/freetype1/freetype +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --with-gzip --enable-opi \ + --with-t1-library="${LOCALBASE}/lib" \ + --with-t1-includes="${LOCALBASE}/include" \ + --with-freetype2-library="${LOCALBASE}/lib" \ + --with-freetype2-includes="${LOCALBASE}/include/freetype2" .if defined(A4) CONFIGURE_ARGS+= --enable-a4-paper .endif diff --git a/graphics/xpdf/distinfo b/graphics/xpdf/distinfo index 4cb9cfef3138..8e5fcd876599 100644 --- a/graphics/xpdf/distinfo +++ b/graphics/xpdf/distinfo @@ -1 +1 @@ -MD5 (xpdf-1.00.tar.gz) = 81f3c381cef729e4b6f4ce21cf5bbf3c +MD5 (xpdf-1.01.tar.gz) = 36d5b3458dfead16e3ec4df6596ec6f9