47 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.57 2007/11/09 07:15:12 bernd Exp $
COMMENT= PDF viewer for X11
DISTNAME= xpdf-3.02
PKGNAME= xpdf-3.02pl2
CATEGORIES= textproc x11
2002-10-28 22:43:46 +00:00
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \
ftp://gd.tuwien.ac.at/publishing/xpdf/ \
ftp://tug.org/xpdf/
PATCHFILES= xpdf-3.02pl1.patch xpdf-3.02pl2.patch
PATCH_DIST_STRIP=-p1
2000-08-30 23:07:30 +00:00
HOMEPAGE= http://www.foolabs.com/xpdf/
1999-09-15 21:59:56 +00:00
2006-08-03 23:55:10 +00:00
LIB_DEPENDS+= t1.>=3::devel/t1lib
RUN_DEPENDS+= ::print/ghostscript/gnu-fonts
2001-03-07 19:10:01 +00:00
# GPL
2000-03-26 18:38:51 +00:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-12-07 00:23:20 +00:00
WANTLIB= ICE SM X11 Xext Xp Xpm Xt c freetype m pthread \
stdc++ z
2000-02-12 08:02:07 +00:00
USE_X11= Yes
2002-04-27 04:21:01 +00:00
USE_GMAKE= Yes
USE_MOTIF= openmotif
CONFIGURE_STYLE=autoconf no-autoheader
AUTOCONF_VERSION=2.59
2004-01-25 09:44:20 +00:00
CONFIGURE_ARGS+= --enable-multithreaded \
--without-Sgm-library \
--without-libpaper-library
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include/freetype2 -I${X11BASE}/include -I${LOCALBASE}/include" \
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib -lz"
2002-10-28 22:43:46 +00:00
NO_REGRESS= Yes
2000-07-04 13:12:04 +00:00
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xpdf
${INSTALL_DATA} ${WRKSRC}/doc/sample-xpdfrc \
${PREFIX}/share/examples/xpdf/xpdfrc
2000-07-04 13:12:04 +00:00
.include <bsd.port.mk>