1996-02-10 21:33:09 +01:00
|
|
|
# New ports collection makefile for: xpdf
|
|
|
|
# Date created: 02 Feb 1996
|
|
|
|
# Whom: chuckr@glue.umd.edu
|
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1996-02-10 21:33:09 +01:00
|
|
|
#
|
|
|
|
|
2000-12-11 03:51:40 +01:00
|
|
|
PORTNAME= xpdf
|
2004-02-08 06:26:19 +01:00
|
|
|
PORTVERSION= 3.00
|
2005-08-11 21:16:30 +02:00
|
|
|
PORTREVISION= 7
|
1997-03-22 00:07:01 +01:00
|
|
|
CATEGORIES= graphics print
|
2002-05-22 07:34:35 +02:00
|
|
|
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \
|
2000-12-11 03:51:40 +01:00
|
|
|
${MASTER_SITE_TEX_CTAN}
|
|
|
|
MASTER_SITE_SUBDIR= support/xpdf
|
1996-02-10 21:33:09 +01:00
|
|
|
|
2004-06-26 02:16:16 +02:00
|
|
|
MAINTAINER= nork@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Display PDF files, and convert them to other formats
|
1996-02-10 21:33:09 +01:00
|
|
|
|
2002-05-22 07:34:35 +02:00
|
|
|
BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2
|
2003-03-24 02:10:23 +01:00
|
|
|
LIB_DEPENDS= t1.5:${PORTSDIR}/devel/t1lib \
|
2002-05-22 07:34:35 +02:00
|
|
|
freetype.9:${PORTSDIR}/print/freetype2
|
2004-08-07 03:08:06 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/n021003l.pfb:${PORTSDIR}/print/gsfonts
|
1998-03-11 04:08:18 +01:00
|
|
|
|
1998-12-09 11:44:36 +01:00
|
|
|
USE_X_PREFIX= yes
|
2002-11-11 09:42:14 +01:00
|
|
|
USE_MOTIF= yes
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2004-07-01 19:06:41 +02:00
|
|
|
USE_AUTOCONF_VER= 259
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2002-05-22 07:34:35 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2002-11-11 09:42:14 +01:00
|
|
|
CONFIGURE_ARGS= --with-gzip --enable-opi --with-x \
|
2002-05-22 07:34:35 +02:00
|
|
|
--with-t1-library="${LOCALBASE}/lib" \
|
|
|
|
--with-t1-includes="${LOCALBASE}/include" \
|
|
|
|
--with-freetype2-library="${LOCALBASE}/lib" \
|
|
|
|
--with-freetype2-includes="${LOCALBASE}/include/freetype2"
|
1999-11-23 04:30:35 +01:00
|
|
|
.if defined(A4)
|
|
|
|
CONFIGURE_ARGS+= --enable-a4-paper
|
|
|
|
.endif
|
1998-12-09 11:44:36 +01:00
|
|
|
|
2002-02-11 03:26:25 +01:00
|
|
|
MAN1= pdffonts.1 \
|
|
|
|
pdfimages.1 \
|
1998-12-06 18:08:46 +01:00
|
|
|
pdfinfo.1 \
|
2004-02-08 06:26:19 +01:00
|
|
|
pdftoppm.1 \
|
1998-12-06 18:08:46 +01:00
|
|
|
pdftops.1 \
|
|
|
|
pdftotext.1 \
|
|
|
|
xpdf.1
|
2002-02-11 03:26:25 +01:00
|
|
|
MAN5= xpdfrc.5
|
1996-02-10 21:33:09 +01:00
|
|
|
|
2002-11-11 09:42:14 +01:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for file in ANNOUNCE CHANGES INSTALL README misc/hello.pdf
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
1996-02-10 21:33:09 +01:00
|
|
|
.include <bsd.port.mk>
|