6cfb29e647
with this it works...
38 lines
859 B
Makefile
38 lines
859 B
Makefile
# $OpenBSD: Makefile,v 1.27 2002/05/08 20:33:11 pvalchev Exp $
|
|
|
|
COMMENT= "PDF viewer for X"
|
|
|
|
DISTNAME= xpdf-1.00
|
|
CATEGORIES= textproc x11
|
|
NEED_VERSION= 1.522
|
|
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/
|
|
|
|
HOMEPAGE= http://www.foolabs.com/xpdf/
|
|
|
|
LIB_DEPENDS= t1x.3,t1.3::devel/t1lib
|
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
USE_X11= Yes
|
|
USE_GMAKE= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
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
|
|
|
|
post-install:
|
|
@cd ${PREFIX}/bin && \
|
|
strip pdffonts pdfimages pdfinfo pdftopbm pdftops pdftotext xpdf
|
|
|
|
.include <bsd.port.mk>
|