openbsd-ports/textproc/xpdf/Makefile

38 lines
859 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.27 2002/05/08 20:33:11 pvalchev Exp $
COMMENT= "PDF viewer for X"
2002-04-27 00:21:01 -04:00
DISTNAME= xpdf-1.00
CATEGORIES= textproc x11
2002-04-27 00:21:01 -04:00
NEED_VERSION= 1.522
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
2002-04-27 00:21:01 -04:00
LIB_DEPENDS= t1x.3,t1.3::devel/t1lib
2001-03-07 14:10:01 -05:00
MAINTAINER= Brad Smith <brad@openbsd.org>
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
USE_X11= Yes
2002-04-27 00:21:01 -04:00
USE_GMAKE= Yes
2001-03-07 14:10:01 -05:00
CONFIGURE_STYLE= gnu
2002-04-27 00:21:01 -04:00
CONFIGURE_ARGS= --with-gzip
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include/freetype2 -I${LOCALBASE}/include" \
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
# XXX temp workaround
.if ${MACHINE_ARCH:Msparc64}
CONFIGURE_ENV+= LIBS="-static"
.endif
2000-07-04 09:12:04 -04:00
post-install:
@cd ${PREFIX}/bin && \
2002-04-27 00:21:01 -04:00
strip pdffonts pdfimages pdfinfo pdftopbm pdftops pdftotext xpdf
2000-07-04 09:12:04 -04:00
.include <bsd.port.mk>