summaryrefslogblamecommitdiff
path: root/graphics/xpdf/Makefile
blob: 2a9b3b75448f7c7292d74a083e2431af9d62e418 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                            


                                           
           

 
                    
                    
                              


                                                  
                    
 
                                               
                                                         


                                    
                                  
 
                                            
 
                   
                   
                   
                   
                                                         

                                                                 

                                                         
                                                          
                                                                      


                                         
 





                             

                      
# New ports collection makefile for:	xpdf
# Date created:         02 Feb 1996
# Whom:                 chuckr@glue.umd.edu
#
# $FreeBSD$
#

PORTNAME=	xpdf
PORTVERSION=	0.92
CATEGORIES=	graphics print
MASTER_SITES=	ftp://ftp.foolabs.com/pub/xpdf/  \
		${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR=	support/xpdf
EXTRACT_SUFX=	.tgz

PATCH_SITES=	http://vzzbx.xs4all.nl/files/ \
		http://www.cs.cmu.edu/~dst/Adobe/Gallery/
PATCHFILES=	xpdf-ro-remove.patch
PATCH_DIST_STRIP= -p1

MAINTAINER=	chuckr@FreeBSD.org

LIB_DEPENDS=	t1.3:${PORTSDIR}/devel/t1lib

USE_X_PREFIX=	yes
USE_XPM=	yes
USE_FREETYPE=	yes
USE_AUTOCONF=	yes
CONFIGURE_ARGS=	--with-gzip --enable-opi		\
		--enable-japanese 	\
		--enable-chinese-cns --enable-chinese-gb	\
		--with-t1-library=${LOCALBASE}/lib	\
		--with-t1-includes=${LOCALBASE}/include	\
		--with-freetype-library=${LOCALBASE}/lib \
		--with-freetype-includes=${LOCALBASE}/include/freetype
.if defined(A4)
CONFIGURE_ARGS+=	--enable-a4-paper
.endif

MAN1=		pdfimages.1 \
		pdfinfo.1 \
		pdftopbm.1 \
		pdftops.1 \
		pdftotext.1 \
		xpdf.1

.include <bsd.port.mk>