summaryrefslogblamecommitdiff
path: root/print/pdflib3/Makefile
blob: 248b0f86b4eb4389ea465a2b5328c5665cc31132 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                              
                                                    
                                                         
 
           

 
                      
                    
                     
                                                      
 
                                 
 


                                                                  
 
                                                                 
                   
                   
                                      
                                       


                                         
                                

           

                                                                        
                                                                   

                                           
                                                                  


                      
# New ports collection makefile for:	pdflib
# Date created:		Mon Jan 18 17:03:33 CET 1999
# Whom:			Dirk Froemberg <dirk@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	pdflib
PORTVERSION=	3.02
CATEGORIES=	print
MASTER_SITES=	http://www.pdflib.com/pdflib/download/

MAINTAINER=	billf@FreeBSD.org

RUN_DEPENDS=	${LOCALBASE}/lib/afm/Courier:${PORTSDIR}/print/afm
LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg \
		png.4:${PORTSDIR}/graphics/png

RESTRICTED=	"many odd restrictions on usage and distribution"
INSTALLS_SHLIB=	yes
USE_LIBTOOL=	yes
CONFIGURE_ARGS=	--with-perl5=${PERL} \
		--with-jpeg=${PREFIX} \
		--with-pnglib=${PREFIX} \
		--enable-shared-pdflib \
		--enable-cxx \
		--with-zlib=/usr

do-install:
	${INSTALL_DATA} ${WRKSRC}/pdflib/.libs/libpdf.so.3 ${PREFIX}/lib
	${LN} -s libpdf.so.3 ${PREFIX}/lib/libpdf.so
	${INSTALL_DATA} ${WRKSRC}/pdflib/pdflib.h ${PREFIX}/include
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/pdflib
	${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/pdflib
.endif

.include <bsd.port.mk>