2001-03-03 14:19:12 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2001/03/03 19:19:12 danh Exp $
|
1999-01-30 19:19:03 -05:00
|
|
|
|
2000-08-30 19:07:30 -04:00
|
|
|
DISTNAME= xpdf-0.91
|
2000-07-04 08:48:02 -04:00
|
|
|
CATEGORIES= textproc x11
|
2000-08-30 19:07:30 -04:00
|
|
|
NEED_VERSION= 1.320
|
|
|
|
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
|
1999-09-15 17:59:56 -04:00
|
|
|
MASTER_SITE_SUBDIR= support/xpdf
|
|
|
|
EXTRACT_SUFX= .tgz
|
1999-01-30 19:19:03 -05:00
|
|
|
|
2000-08-31 05:31:45 -04:00
|
|
|
LIB_DEPENDS= t1x.1::devel/t1lib
|
|
|
|
|
2000-08-30 19:07:30 -04:00
|
|
|
HOMEPAGE= http://www.foolabs.com/xpdf/
|
1999-09-15 17:59:56 -04:00
|
|
|
|
2001-03-03 14:19:12 -05:00
|
|
|
MAINTAINER= ports@openbsd.org
|
1999-01-30 19:19:03 -05:00
|
|
|
|
2000-03-26 13:38:51 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2000-08-30 19:07:30 -04:00
|
|
|
CONFIGURE_STYLE= autoconf
|
2000-08-31 05:31:45 -04:00
|
|
|
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
|
1999-01-30 19:19:03 -05:00
|
|
|
|
2000-07-04 09:12:04 -04:00
|
|
|
post-install:
|
|
|
|
@cd ${PREFIX}/bin && \
|
|
|
|
strip pdfimages pdfinfo pdftopbm pdftops pdftotext xpdf
|
|
|
|
|
1999-01-30 19:19:03 -05:00
|
|
|
.include <bsd.port.mk>
|