2011-03-03 16:22:13 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.78 2011/03/03 21:22:13 stsp Exp $
|
2001-04-15 19:10:36 -04:00
|
|
|
|
2008-02-13 11:18:33 -05:00
|
|
|
COMMENT-main= PDF viewer for X11
|
|
|
|
COMMENT-utils= PDF conversion tools
|
1999-01-30 19:19:03 -05:00
|
|
|
|
2007-03-30 00:09:42 -04:00
|
|
|
DISTNAME= xpdf-3.02
|
2010-12-04 05:44:31 -05:00
|
|
|
PKGNAME-main= xpdf-3.02.5
|
2011-03-03 16:22:13 -05:00
|
|
|
REVISION-main= 1
|
2010-12-04 05:44:31 -05:00
|
|
|
PKGNAME-utils= xpdf-utils-3.02.5
|
2000-07-04 08:48:02 -04:00
|
|
|
CATEGORIES= textproc x11
|
2002-10-28 17:43:46 -05:00
|
|
|
|
2007-03-30 00:09:42 -04:00
|
|
|
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \
|
|
|
|
ftp://gd.tuwien.ac.at/publishing/xpdf/ \
|
|
|
|
ftp://tug.org/xpdf/
|
2009-04-17 16:55:46 -04:00
|
|
|
PATCHFILES= xpdf-3.02pl1.patch xpdf-3.02pl2.patch \
|
2010-12-04 05:44:31 -05:00
|
|
|
xpdf-3.02pl3.patch xpdf-3.02pl4.patch \
|
|
|
|
xpdf-3.02pl5.patch
|
2007-07-31 17:22:16 -04:00
|
|
|
PATCH_DIST_STRIP=-p1
|
1999-01-30 19:19:03 -05:00
|
|
|
|
2000-08-30 19:07:30 -04:00
|
|
|
HOMEPAGE= http://www.foolabs.com/xpdf/
|
1999-09-15 17:59:56 -04:00
|
|
|
|
2008-02-13 11:18:33 -05:00
|
|
|
MULTI_PACKAGES= -main -utils
|
2008-02-10 15:25:13 -05:00
|
|
|
|
2009-04-17 16:55:46 -04:00
|
|
|
# GPLv2
|
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
|
|
|
|
2008-02-13 11:18:33 -05:00
|
|
|
USE_MOTIF= openmotif
|
2002-04-27 00:21:01 -04:00
|
|
|
USE_GMAKE= Yes
|
2008-02-13 11:18:33 -05:00
|
|
|
CONFIGURE_STYLE=gnu
|
2004-01-25 04:44:20 -05:00
|
|
|
CONFIGURE_ARGS+= --enable-multithreaded \
|
|
|
|
--without-Sgm-library \
|
|
|
|
--without-libpaper-library
|
2008-02-10 15:25:13 -05:00
|
|
|
|
2009-04-04 10:45:48 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS='-I${X11BASE}/include/freetype2 -I${X11BASE}/include -I${LOCALBASE}/include -DLOCALBASE="\"${LOCALBASE}\""' \
|
2009-12-16 09:00:23 -05:00
|
|
|
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib -lm -lz"
|
2008-02-13 11:18:33 -05:00
|
|
|
|
|
|
|
LIB_DEPENDS-utils=
|
2010-11-20 14:56:47 -05:00
|
|
|
LIB_DEPENDS-main= devel/t1lib ${LIB_DEPENDS}
|
|
|
|
RUN_DEPENDS-utils= print/ghostscript/gnu-fonts
|
2008-02-13 11:18:33 -05:00
|
|
|
RUN_DEPENDS-main= ${RUN_DEPENDS-utils} \
|
2010-11-20 14:56:47 -05:00
|
|
|
${FULLPKGNAME-utils}:textproc/xpdf,-utils
|
2008-02-13 11:18:33 -05:00
|
|
|
|
|
|
|
WANTLIB-utils= c m pthread stdc++ z
|
2010-11-06 14:42:35 -04:00
|
|
|
WANTLIB-main= ${WANTLIB} ${WANTLIB-utils} ICE SM X11 Xext Xpm Xt \
|
2010-11-20 14:56:47 -05:00
|
|
|
freetype t1>=3
|
1999-01-30 19:19:03 -05:00
|
|
|
|
2002-10-28 17:43:46 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2000-07-04 09:12:04 -04:00
|
|
|
post-install:
|
2004-04-05 22:35:44 -04:00
|
|
|
${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
|
|
|
|
1999-01-30 19:19:03 -05:00
|
|
|
.include <bsd.port.mk>
|