- make use of t1lib

- add a FLAVOR to use the freetype library
This commit is contained in:
brad 2000-08-31 09:31:45 +00:00
parent 4b8add6078
commit 73d37a6d73

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.14 2000/08/30 23:07:30 brad Exp $
# $OpenBSD: Makefile,v 1.15 2000/08/31 09:31:45 brad Exp $
DISTNAME= xpdf-0.91
CATEGORIES= textproc x11
@ -7,6 +7,8 @@ MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= support/xpdf
EXTRACT_SUFX= .tgz
LIB_DEPENDS= t1x.1::devel/t1lib
HOMEPAGE= http://www.foolabs.com/xpdf/
MAINTAINER= eep@inconnect.com
@ -17,7 +19,20 @@ PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS= --with-gzip --without-freetype-library
CONFIGURE_ARGS= --with-gzip \
--with-t1-library="${LOCALBASE}/lib" \
--with-t1-includes="${LOCALBASE}/include"
FLAVORS= freetype
FLAVOR=
.if ${FLAVOR:L:Mfreetype}
LIB_DEPENDS+= ttf.1.3::print/freetype
CONFIGURE_ARGS+= --with-freetype-library="${LOCALBASE}/lib" \
--with-freetype-includes="${LOCALBASE}/include"
.else
CONFIGURE_ARGS+= --without-freetype-library
.endif
post-install:
@cd ${PREFIX}/bin && \