openbsd-ports/textproc/xpdf/Makefile

42 lines
950 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.15 2000/08/31 09:31:45 brad Exp $
2000-08-30 19:07:30 -04:00
DISTNAME= xpdf-0.91
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
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
MAINTAINER= eep@inconnect.com
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
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
2000-07-04 09:12:04 -04:00
post-install:
@cd ${PREFIX}/bin && \
strip pdfimages pdfinfo pdftopbm pdftops pdftotext xpdf
.include <bsd.port.mk>