openbsd-ports/textproc/xpdf/Makefile

47 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.46 2004/12/22 17:36:24 robert Exp $
COMMENT= "PDF viewer for X"
DISTNAME= xpdf-3.00
PKGNAME= ${DISTNAME}p2
CATEGORIES= textproc x11
2002-10-28 17:43:46 -05:00
2002-04-27 00:21:01 -04:00
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/
2000-08-30 19:07:30 -04:00
HOMEPAGE= http://www.foolabs.com/xpdf/
1999-09-15 17:59:56 -04:00
2004-07-29 21:19:28 -04:00
LIB_DEPENDS+= t1.3::devel/t1lib
RUN_DEPENDS+= ::print/ghostscript/gnu-fonts
2001-03-07 14:10:01 -05:00
MAINTAINER= Brad Smith <brad@openbsd.org>
# GPL
2000-03-26 13:38:51 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-12-06 19:23:20 -05:00
WANTLIB= ICE SM X11 Xext Xp Xpm Xt c freetype m pthread \
stdc++
2000-02-12 03:02:07 -05:00
USE_X11= Yes
2002-04-27 00:21:01 -04:00
USE_GMAKE= Yes
USE_MOTIF= openmotif
CONFIGURE_STYLE=autoconf no-autoheader
AUTOCONF_VERSION=2.59
2004-01-25 04:44:20 -05:00
CONFIGURE_ARGS+= --enable-multithreaded \
--without-Sgm-library \
--without-libpaper-library
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include/freetype2 -I${X11BASE}/include -I${LOCALBASE}/include" \
2002-04-27 00:21:01 -04:00
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
2002-10-28 17:43:46 -05:00
NO_REGRESS= Yes
2000-07-04 09:12:04 -04:00
post-install:
@cd ${PREFIX}/bin && \
strip pdffonts pdfimages pdfinfo pdftoppm pdftops pdftotext xpdf
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xpdf
${INSTALL_DATA} ${WRKSRC}/doc/sample-xpdfrc \
${PREFIX}/share/examples/xpdf/xpdfrc
2000-07-04 09:12:04 -04:00
.include <bsd.port.mk>